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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
bfa75203
Commit
bfa75203
authored
Mar 29, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up InnoDB testing with embedded server.
parent
46eda5b9
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
34 additions
and
1682 deletions
+34
-1682
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+0
-3
mysql-test/r/innodb-replace.result
mysql-test/r/innodb-replace.result
+12
-0
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+0
-12
mysql-test/r/innodb.result.es
mysql-test/r/innodb.result.es
+0
-1653
mysql-test/t/innodb-deadlock.test
mysql-test/t/innodb-deadlock.test
+2
-0
mysql-test/t/innodb-lock.test
mysql-test/t/innodb-lock.test
+2
-0
mysql-test/t/innodb-replace.test
mysql-test/t/innodb-replace.test
+17
-0
mysql-test/t/innodb.test
mysql-test/t/innodb.test
+1
-14
No files found.
mysql-test/mysql-test-run.sh
View file @
bfa75203
...
...
@@ -1508,9 +1508,6 @@ run_testcase ()
for
t
in
\
"init_connect"
\
"init_file"
\
"innodb"
\
"innodb-deadlock"
\
"innodb-lock"
\
"mix_innodb_myisam_binlog"
\
"mysqlbinlog2"
\
"mysqlbinlog"
\
...
...
mysql-test/r/innodb-replace.result
0 → 100644
View file @
bfa75203
create table t1 (c1 char(5) unique not null, c2 int, stamp timestamp) engine=innodb;
select * from t1;
c1 c2 stamp
replace delayed into t1 (c1, c2) values ( "text1","11"),( "text2","12");
ERROR HY000: Table storage engine for 't1' doesn't have this option
select * from t1;
c1 c2 stamp
replace delayed into t1 (c1, c2) values ( "text1","12"),( "text2","13"),( "text3","14", "a" ),( "text4","15", "b" );
ERROR HY000: Table storage engine for 't1' doesn't have this option
select * from t1;
c1 c2 stamp
drop table t1;
mysql-test/r/innodb.result
View file @
bfa75203
...
...
@@ -1401,18 +1401,6 @@ id label
3524 Societe Test
3525 Fournisseur Test
drop table t1,t2;
create table t1 (c1 char(5) unique not null, c2 int, stamp timestamp) engine=innodb;
select * from t1;
c1 c2 stamp
replace delayed into t1 (c1, c2) values ( "text1","11"),( "text2","12");
ERROR HY000: Table storage engine for 't1' doesn't have this option
select * from t1;
c1 c2 stamp
replace delayed into t1 (c1, c2) values ( "text1","12"),( "text2","13"),( "text3","14", "a" ),( "text4","15", "b" );
ERROR HY000: Table storage engine for 't1' doesn't have this option
select * from t1;
c1 c2 stamp
drop table t1;
create table t1 (a int, b varchar(200), c text not null) checksum=1 engine=myisam;
create table t2 (a int, b varchar(200), c text not null) checksum=0 engine=innodb;
create table t3 (a int, b varchar(200), c text not null) checksum=1 engine=innodb;
...
...
mysql-test/r/innodb.result.es
deleted
100644 → 0
View file @
46eda5b9
This diff is collapsed.
Click to expand it.
mysql-test/t/innodb-deadlock.test
View file @
bfa75203
--
source
include
/
have_innodb
.
inc
# Can't test this with embedded server
--
source
include
/
not_embedded
.
inc
connect
(
con1
,
localhost
,
root
,,);
connect
(
con2
,
localhost
,
root
,,);
...
...
mysql-test/t/innodb-lock.test
View file @
bfa75203
--
source
include
/
have_innodb
.
inc
# Can't test this with embedded server
--
source
include
/
not_embedded
.
inc
#
# Check and select innodb lock type
...
...
mysql-test/t/innodb-replace.test
0 → 100644
View file @
bfa75203
--
source
include
/
have_innodb
.
inc
# embedded server ignores 'delayed', so skip this
--
source
include
/
not_embedded
.
inc
#
# Bug #1078
#
create
table
t1
(
c1
char
(
5
)
unique
not
null
,
c2
int
,
stamp
timestamp
)
engine
=
innodb
;
select
*
from
t1
;
--
error
1031
replace
delayed
into
t1
(
c1
,
c2
)
values
(
"text1"
,
"11"
),(
"text2"
,
"12"
);
select
*
from
t1
;
--
error
1031
replace
delayed
into
t1
(
c1
,
c2
)
values
(
"text1"
,
"12"
),(
"text2"
,
"13"
),(
"text3"
,
"14"
,
"a"
),(
"text4"
,
"15"
,
"b"
);
select
*
from
t1
;
drop
table
t1
;
mysql-test/t/innodb.test
View file @
bfa75203
...
...
@@ -1021,19 +1021,6 @@ SELECT t2.id, t1.label FROM t2 INNER JOIN
ON
(
t2
.
id
=
lbl
.
id_object
)
INNER
JOIN
t1
ON
(
t2
.
id
=
t1
.
id_object
);
drop
table
t1
,
t2
;
#
# Bug #1078
#
create
table
t1
(
c1
char
(
5
)
unique
not
null
,
c2
int
,
stamp
timestamp
)
engine
=
innodb
;
select
*
from
t1
;
--
error
1031
replace
delayed
into
t1
(
c1
,
c2
)
values
(
"text1"
,
"11"
),(
"text2"
,
"12"
);
select
*
from
t1
;
--
error
1031
replace
delayed
into
t1
(
c1
,
c2
)
values
(
"text1"
,
"12"
),(
"text2"
,
"13"
),(
"text3"
,
"14"
,
"a"
),(
"text4"
,
"15"
,
"b"
);
select
*
from
t1
;
drop
table
t1
;
create
table
t1
(
a
int
,
b
varchar
(
200
),
c
text
not
null
)
checksum
=
1
engine
=
myisam
;
create
table
t2
(
a
int
,
b
varchar
(
200
),
c
text
not
null
)
checksum
=
0
engine
=
innodb
;
create
table
t3
(
a
int
,
b
varchar
(
200
),
c
text
not
null
)
checksum
=
1
engine
=
innodb
;
...
...
@@ -1110,7 +1097,7 @@ show create table t2;
drop
table
t2
;
# Test error handling
--
replace_result
\\
/
--
replace_result
\\
/
$MYSQL_TEST_DIR
.
/
var
/
master
-
data
/
/
--
error
1005
create
table
t2
(
id
int
(
11
)
not
null
,
id2
int
(
11
)
not
null
,
constraint
t1_id_fk
foreign
key
(
id2
,
id
)
references
t1
(
id
))
engine
=
innodb
;
...
...
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