Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
16508a64
Commit
16508a64
authored
Jan 22, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tokutek/mysql56#54 alter table test fires tokudb::external_lock assert
parent
49d46c8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
0 deletions
+47
-0
mysql-test/suite/tokudb.bugs/r/alter_external_lock_assert.result
...est/suite/tokudb.bugs/r/alter_external_lock_assert.result
+21
-0
mysql-test/suite/tokudb.bugs/t/alter_external_lock_assert.test
...-test/suite/tokudb.bugs/t/alter_external_lock_assert.test
+26
-0
No files found.
mysql-test/suite/tokudb.bugs/r/alter_external_lock_assert.result
0 → 100644
View file @
16508a64
set default_storage_engine=tokudb;
DROP TABLE IF EXISTS p,i,t1_tokudb_tokudb_smallvc_250;
BEGIN;
CREATE TABLE t1_tokudb_tokudb_smallvc_250(
c1 BLOB,
c2 DATE,
unique(c2)) ENGINE=tokudb ROW_FORMAT=tokudb_small;
CREATE TEMPORARY TABLE p LIKE t1_tokudb_tokudb_smallvc_250;
ALTER TABLE p RENAME t1_tokudb_tokudb_smallvc_250;
CREATE TEMPORARY TABLE i SELECT 1 t1_tokudb_tokudb_smallvc_250;
show tables;
Tables_in_test
t1_tokudb_tokudb_smallvc_250
LOCK TABLE i READ;
ALTER TABLE t1_tokudb_tokudb_smallvc_250 MODIFY c1 DATE;
ALTER TABLE t1_tokudb_tokudb_smallvc_250 MODIFY c1 DATE;
ALTER TABLE t1_tokudb_tokudb_smallvc_250 MODIFY c1 DATE;
UNLOCK TABLES;
COMMIT;
DROP TABLE IF EXISTS i,p,t1_tokudb_tokudb_smallvc_250;
DROP TABLE t1_tokudb_tokudb_smallvc_250;
mysql-test/suite/tokudb.bugs/t/alter_external_lock_assert.test
0 → 100644
View file @
16508a64
# test case for Tokutek/mysql56#54, assert in tokudb::external_lock
source
include
/
have_tokudb
.
inc
;
set
default_storage_engine
=
tokudb
;
disable_warnings
;
DROP
TABLE
IF
EXISTS
p
,
i
,
t1_tokudb_tokudb_smallvc_250
;
enable_warnings
;
BEGIN
;
CREATE
TABLE
t1_tokudb_tokudb_smallvc_250
(
c1
BLOB
,
c2
DATE
,
unique
(
c2
))
ENGINE
=
tokudb
ROW_FORMAT
=
tokudb_small
;
CREATE
TEMPORARY
TABLE
p
LIKE
t1_tokudb_tokudb_smallvc_250
;
ALTER
TABLE
p
RENAME
t1_tokudb_tokudb_smallvc_250
;
CREATE
TEMPORARY
TABLE
i
SELECT
1
t1_tokudb_tokudb_smallvc_250
;
show
tables
;
LOCK
TABLE
i
READ
;
ALTER
TABLE
t1_tokudb_tokudb_smallvc_250
MODIFY
c1
DATE
;
ALTER
TABLE
t1_tokudb_tokudb_smallvc_250
MODIFY
c1
DATE
;
ALTER
TABLE
t1_tokudb_tokudb_smallvc_250
MODIFY
c1
DATE
;
UNLOCK
TABLES
;
COMMIT
;
disable_warnings
;
DROP
TABLE
IF
EXISTS
i
,
p
,
t1_tokudb_tokudb_smallvc_250
;
enable_warnings
;
DROP
TABLE
t1_tokudb_tokudb_smallvc_250
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment