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
d71c7604
Commit
d71c7604
authored
Mar 04, 2015
by
Rik Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DB-805 test case lock tables + alter table conversion from innodb to tokudb bug
parent
69d5695c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
mysql-test/suite/tokudb.bugs/r/db805.result
mysql-test/suite/tokudb.bugs/r/db805.result
+18
-0
mysql-test/suite/tokudb.bugs/t/db805.test
mysql-test/suite/tokudb.bugs/t/db805.test
+17
-0
No files found.
mysql-test/suite/tokudb.bugs/r/db805.result
0 → 100644
View file @
d71c7604
drop table if exists t1,t3;
create table t3(a3 int,b3 decimal(0,0),c3 int,d3 int,primary key(a3,b3)) engine=TOKUDB;
LOCK TABLES t3 WRITE;
create temporary table t1(f1 int,index(f1)) engine=innodb;
INSERT INTO t1 VALUES(1),(1),(1);
select * from t1;
f1
1
1
1
ALTER TABLE t1 engine=TOKUDB;
select * from t1;
f1
1
1
1
unlock tables;
drop table t1,t3;
mysql-test/suite/tokudb.bugs/t/db805.test
0 → 100644
View file @
d71c7604
# DB-805 test that conversion of t1 from innodb to tokudb can write rows
source
include
/
have_tokudb
.
inc
;
source
include
/
have_innodb
.
inc
;
disable_warnings
;
drop
table
if
exists
t1
,
t3
;
enable_warnings
;
create
table
t3
(
a3
int
,
b3
decimal
(
0
,
0
),
c3
int
,
d3
int
,
primary
key
(
a3
,
b3
))
engine
=
TOKUDB
;
LOCK
TABLES
t3
WRITE
;
create
temporary
table
t1
(
f1
int
,
index
(
f1
))
engine
=
innodb
;
INSERT
INTO
t1
VALUES
(
1
),(
1
),(
1
);
select
*
from
t1
;
ALTER
TABLE
t1
engine
=
TOKUDB
;
select
*
from
t1
;
unlock
tables
;
drop
table
t1
,
t3
;
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