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
72b951ba
Commit
72b951ba
authored
Nov 06, 2008
by
Andrei Elkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug#38230
refining the regression test to avoid explicit innodb engine in create.
parent
6cae4c33
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
16 deletions
+10
-16
mysql-test/extra/rpl_tests/rpl_row_basic.test
mysql-test/extra/rpl_tests/rpl_row_basic.test
+4
-4
mysql-test/suite/rpl/r/rpl_row_basic_2myisam.result
mysql-test/suite/rpl/r/rpl_row_basic_2myisam.result
+2
-2
mysql-test/suite/rpl/r/rpl_row_basic_3innodb.result
mysql-test/suite/rpl/r/rpl_row_basic_3innodb.result
+2
-2
mysql-test/suite/rpl_ndb/r/rpl_row_basic_7ndb.result
mysql-test/suite/rpl_ndb/r/rpl_row_basic_7ndb.result
+2
-8
No files found.
mysql-test/extra/rpl_tests/rpl_row_basic.test
View file @
72b951ba
...
...
@@ -486,7 +486,7 @@ sync_slave_with_master;
DROP
TABLE
IF
EXISTS
t1
,
t2
;
--
enable_warnings
CREATE
TABLE
t1
(
eval
CREATE
TABLE
t1
(
`pk`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`int_nokey`
int
(
11
)
NOT
NULL
,
`int_key`
int
(
11
)
NOT
NULL
,
...
...
@@ -504,11 +504,11 @@ CREATE TABLE t1 (
KEY
`time_key`
(
`time_key`
),
KEY
`datetime_key`
(
`datetime_key`
),
KEY
`varchar_key`
(
`varchar_key`
)
)
ENGINE
=
InnoDB
;
)
ENGINE
=
$type
;
INSERT
INTO
t1
VALUES
(
1
,
8
,
5
,
'0000-00-00'
,
'0000-00-00'
,
'10:37:38'
,
'10:37:38'
,
'0000-00-00 00:00:00'
,
'0000-00-00 00:00:00'
,
'p'
,
'p'
),(
2
,
0
,
9
,
'0000-00-00'
,
'0000-00-00'
,
'00:00:00'
,
'00:00:00'
,
'2007-10-14 00:00:00'
,
'2007-10-14 00:00:00'
,
'd'
,
'd'
);
CREATE
TABLE
t2
(
eval
CREATE
TABLE
t2
(
`pk`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`int_nokey`
int
(
11
)
NOT
NULL
,
`int_key`
int
(
11
)
NOT
NULL
,
...
...
@@ -526,7 +526,7 @@ CREATE TABLE t2 (
KEY
`time_key`
(
`time_key`
),
KEY
`datetime_key`
(
`datetime_key`
),
KEY
`varchar_key`
(
`varchar_key`
)
)
ENGINE
=
InnoDB
;
)
ENGINE
=
$type
;
INSERT
INTO
t2
VALUES
(
1
,
1
,
6
,
'2005-12-23'
,
'2005-12-23'
,
'02:24:28'
,
'02:24:28'
,
'0000-00-00 00:00:00'
,
'0000-00-00 00:00:00'
,
'g'
,
'g'
),(
2
,
0
,
3
,
'2009-09-14'
,
'2009-09-14'
,
'00:00:00'
,
'00:00:00'
,
'2000-01-30 16:39:40'
,
'2000-01-30 16:39:40'
,
'q'
,
'q'
),(
3
,
0
,
3
,
'0000-00-00'
,
'0000-00-00'
,
'00:00:00'
,
'00:00:00'
,
'0000-00-00 00:00:00'
,
'0000-00-00 00:00:00'
,
'c'
,
'c'
),(
4
,
1
,
6
,
'2007-03-29'
,
'2007-03-29'
,
'15:49:00'
,
'15:49:00'
,
'0000-00-00 00:00:00'
,
'0000-00-00 00:00:00'
,
'm'
,
'm'
),(
5
,
4
,
0
,
'2002-12-04'
,
'2002-12-04'
,
'00:00:00'
,
'00:00:00'
,
'0000-00-00 00:00:00'
,
'0000-00-00 00:00:00'
,
'o'
,
'o'
),(
6
,
9
,
0
,
'2005-01-28'
,
'2005-01-28'
,
'00:00:00'
,
'00:00:00'
,
'2001-05-18 00:00:00'
,
'2001-05-18 00:00:00'
,
'w'
,
'w'
),(
7
,
6
,
0
,
'0000-00-00'
,
'0000-00-00'
,
'06:57:25'
,
'06:57:25'
,
'0000-00-00 00:00:00'
,
'0000-00-00 00:00:00'
,
'm'
,
'm'
),(
8
,
0
,
0
,
'0000-00-00'
,
'0000-00-00'
,
'00:00:00'
,
'00:00:00'
,
'0000-00-00 00:00:00'
,
'0000-00-00 00:00:00'
,
'z'
,
'z'
),(
9
,
4
,
6
,
'2006-08-15'
,
'2006-08-15'
,
'00:00:00'
,
'00:00:00'
,
'2002-04-12 14:44:25'
,
'2002-04-12 14:44:25'
,
'j'
,
'j'
),(
10
,
0
,
5
,
'2006-12-20'
,
'2006-12-20'
,
'10:13:53'
,
'10:13:53'
,
'2008-07-22 00:00:00'
,
'2008-07-22 00:00:00'
,
'y'
,
'y'
),(
11
,
9
,
7
,
'0000-00-00'
,
'0000-00-00'
,
'00:00:00'
,
'00:00:00'
,
'2004-07-05 00:00:00'
,
'2004-07-05 00:00:00'
,
'{'
,
'{'
),(
12
,
4
,
3
,
'2007-01-26'
,
'2007-01-26'
,
'23:00:51'
,
'23:00:51'
,
'2001-05-16 00:00:00'
,
'2001-05-16 00:00:00'
,
'f'
,
'f'
),(
13
,
7
,
0
,
'2004-03-27'
,
'2004-03-27'
,
'00:00:00'
,
'00:00:00'
,
'2005-01-24 03:30:37'
,
'2005-01-24 03:30:37'
,
''
,
''
),(
14
,
6
,
0
,
'2006-07-26'
,
'2006-07-26'
,
'18:43:57'
,
'18:43:57'
,
'0000-00-00 00:00:00'
,
'0000-00-00 00:00:00'
,
'{'
,
'{'
),(
15
,
0
,
6
,
'2000-01-14'
,
'2000-01-14'
,
'00:00:00'
,
'00:00:00'
,
'2000-09-21 00:00:00'
,
'2000-09-21 00:00:00'
,
'o'
,
'o'
),(
16
,
9
,
8
,
'0000-00-00'
,
'0000-00-00'
,
'21:15:08'
,
'21:15:08'
,
'0000-00-00 00:00:00'
,
'0000-00-00 00:00:00'
,
'a'
,
'a'
),(
17
,
2
,
0
,
'2004-10-27'
,
'2004-10-27'
,
'00:00:00'
,
'00:00:00'
,
'2004-03-24 22:13:43'
,
'2004-03-24 22:13:43'
,
''
,
''
),(
18
,
7
,
4
,
'0000-00-00'
,
'0000-00-00'
,
'08:38:27'
,
'08:38:27'
,
'2002-03-18 19:51:44'
,
'2002-03-18 19:51:44'
,
't'
,
't'
),(
19
,
5
,
3
,
'2008-03-07'
,
'2008-03-07'
,
'03:29:07'
,
'03:29:07'
,
'2007-12-01 18:44:44'
,
'2007-12-01 18:44:44'
,
't'
,
't'
),(
20
,
0
,
0
,
'2002-04-09'
,
'2002-04-09'
,
'16:06:03'
,
'16:06:03'
,
'2009-04-22 00:00:00'
,
'2009-04-22 00:00:00'
,
'n'
,
'n'
);
...
...
mysql-test/suite/rpl/r/rpl_row_basic_2myisam.result
View file @
72b951ba
...
...
@@ -546,7 +546,7 @@ KEY `date_key` (`date_key`),
KEY `time_key` (`time_key`),
KEY `datetime_key` (`datetime_key`),
KEY `varchar_key` (`varchar_key`)
) ENGINE=
InnoDB
;
) ENGINE=
'MYISAM'
;
INSERT INTO t1 VALUES (1,8,5,'0000-00-00','0000-00-00','10:37:38','10:37:38','0000-00-00 00:00:00','0000-00-00 00:00:00','p','p'),(2,0,9,'0000-00-00','0000-00-00','00:00:00','00:00:00','2007-10-14 00:00:00','2007-10-14 00:00:00','d','d');
CREATE TABLE t2 (
`pk` int(11) NOT NULL AUTO_INCREMENT,
...
...
@@ -566,7 +566,7 @@ KEY `date_key` (`date_key`),
KEY `time_key` (`time_key`),
KEY `datetime_key` (`datetime_key`),
KEY `varchar_key` (`varchar_key`)
) ENGINE=
InnoDB
;
) ENGINE=
'MYISAM'
;
INSERT INTO t2 VALUES (1,1,6,'2005-12-23','2005-12-23','02:24:28','02:24:28','0000-00-00 00:00:00','0000-00-00 00:00:00','g','g'),(2,0,3,'2009-09-14','2009-09-14','00:00:00','00:00:00','2000-01-30 16:39:40','2000-01-30 16:39:40','q','q'),(3,0,3,'0000-00-00','0000-00-00','00:00:00','00:00:00','0000-00-00 00:00:00','0000-00-00 00:00:00','c','c'),(4,1,6,'2007-03-29','2007-03-29','15:49:00','15:49:00','0000-00-00 00:00:00','0000-00-00 00:00:00','m','m'),(5,4,0,'2002-12-04','2002-12-04','00:00:00','00:00:00','0000-00-00 00:00:00','0000-00-00 00:00:00','o','o'),(6,9,0,'2005-01-28','2005-01-28','00:00:00','00:00:00','2001-05-18 00:00:00','2001-05-18 00:00:00','w','w'),(7,6,0,'0000-00-00','0000-00-00','06:57:25','06:57:25','0000-00-00 00:00:00','0000-00-00 00:00:00','m','m'),(8,0,0,'0000-00-00','0000-00-00','00:00:00','00:00:00','0000-00-00 00:00:00','0000-00-00 00:00:00','z','z'),(9,4,6,'2006-08-15','2006-08-15','00:00:00','00:00:00','2002-04-12 14:44:25','2002-04-12 14:44:25','j','j'),(10,0,5,'2006-12-20','2006-12-20','10:13:53','10:13:53','2008-07-22 00:00:00','2008-07-22 00:00:00','y','y'),(11,9,7,'0000-00-00','0000-00-00','00:00:00','00:00:00','2004-07-05 00:00:00','2004-07-05 00:00:00','{','{'),(12,4,3,'2007-01-26','2007-01-26','23:00:51','23:00:51','2001-05-16 00:00:00','2001-05-16 00:00:00','f','f'),(13,7,0,'2004-03-27','2004-03-27','00:00:00','00:00:00','2005-01-24 03:30:37','2005-01-24 03:30:37','',''),(14,6,0,'2006-07-26','2006-07-26','18:43:57','18:43:57','0000-00-00 00:00:00','0000-00-00 00:00:00','{','{'),(15,0,6,'2000-01-14','2000-01-14','00:00:00','00:00:00','2000-09-21 00:00:00','2000-09-21 00:00:00','o','o'),(16,9,8,'0000-00-00','0000-00-00','21:15:08','21:15:08','0000-00-00 00:00:00','0000-00-00 00:00:00','a','a'),(17,2,0,'2004-10-27','2004-10-27','00:00:00','00:00:00','2004-03-24 22:13:43','2004-03-24 22:13:43','',''),(18,7,4,'0000-00-00','0000-00-00','08:38:27','08:38:27','2002-03-18 19:51:44','2002-03-18 19:51:44','t','t'),(19,5,3,'2008-03-07','2008-03-07','03:29:07','03:29:07','2007-12-01 18:44:44','2007-12-01 18:44:44','t','t'),(20,0,0,'2002-04-09','2002-04-09','16:06:03','16:06:03','2009-04-22 00:00:00','2009-04-22 00:00:00','n','n');
DELETE FROM t2 WHERE `int_key` < 3 LIMIT 1;
UPDATE t1 SET `int_key` = 3 ORDER BY `pk` LIMIT 4;
...
...
mysql-test/suite/rpl/r/rpl_row_basic_3innodb.result
View file @
72b951ba
...
...
@@ -546,7 +546,7 @@ KEY `date_key` (`date_key`),
KEY `time_key` (`time_key`),
KEY `datetime_key` (`datetime_key`),
KEY `varchar_key` (`varchar_key`)
) ENGINE=
InnoDB
;
) ENGINE=
'INNODB'
;
INSERT INTO t1 VALUES (1,8,5,'0000-00-00','0000-00-00','10:37:38','10:37:38','0000-00-00 00:00:00','0000-00-00 00:00:00','p','p'),(2,0,9,'0000-00-00','0000-00-00','00:00:00','00:00:00','2007-10-14 00:00:00','2007-10-14 00:00:00','d','d');
CREATE TABLE t2 (
`pk` int(11) NOT NULL AUTO_INCREMENT,
...
...
@@ -566,7 +566,7 @@ KEY `date_key` (`date_key`),
KEY `time_key` (`time_key`),
KEY `datetime_key` (`datetime_key`),
KEY `varchar_key` (`varchar_key`)
) ENGINE=
InnoDB
;
) ENGINE=
'INNODB'
;
INSERT INTO t2 VALUES (1,1,6,'2005-12-23','2005-12-23','02:24:28','02:24:28','0000-00-00 00:00:00','0000-00-00 00:00:00','g','g'),(2,0,3,'2009-09-14','2009-09-14','00:00:00','00:00:00','2000-01-30 16:39:40','2000-01-30 16:39:40','q','q'),(3,0,3,'0000-00-00','0000-00-00','00:00:00','00:00:00','0000-00-00 00:00:00','0000-00-00 00:00:00','c','c'),(4,1,6,'2007-03-29','2007-03-29','15:49:00','15:49:00','0000-00-00 00:00:00','0000-00-00 00:00:00','m','m'),(5,4,0,'2002-12-04','2002-12-04','00:00:00','00:00:00','0000-00-00 00:00:00','0000-00-00 00:00:00','o','o'),(6,9,0,'2005-01-28','2005-01-28','00:00:00','00:00:00','2001-05-18 00:00:00','2001-05-18 00:00:00','w','w'),(7,6,0,'0000-00-00','0000-00-00','06:57:25','06:57:25','0000-00-00 00:00:00','0000-00-00 00:00:00','m','m'),(8,0,0,'0000-00-00','0000-00-00','00:00:00','00:00:00','0000-00-00 00:00:00','0000-00-00 00:00:00','z','z'),(9,4,6,'2006-08-15','2006-08-15','00:00:00','00:00:00','2002-04-12 14:44:25','2002-04-12 14:44:25','j','j'),(10,0,5,'2006-12-20','2006-12-20','10:13:53','10:13:53','2008-07-22 00:00:00','2008-07-22 00:00:00','y','y'),(11,9,7,'0000-00-00','0000-00-00','00:00:00','00:00:00','2004-07-05 00:00:00','2004-07-05 00:00:00','{','{'),(12,4,3,'2007-01-26','2007-01-26','23:00:51','23:00:51','2001-05-16 00:00:00','2001-05-16 00:00:00','f','f'),(13,7,0,'2004-03-27','2004-03-27','00:00:00','00:00:00','2005-01-24 03:30:37','2005-01-24 03:30:37','',''),(14,6,0,'2006-07-26','2006-07-26','18:43:57','18:43:57','0000-00-00 00:00:00','0000-00-00 00:00:00','{','{'),(15,0,6,'2000-01-14','2000-01-14','00:00:00','00:00:00','2000-09-21 00:00:00','2000-09-21 00:00:00','o','o'),(16,9,8,'0000-00-00','0000-00-00','21:15:08','21:15:08','0000-00-00 00:00:00','0000-00-00 00:00:00','a','a'),(17,2,0,'2004-10-27','2004-10-27','00:00:00','00:00:00','2004-03-24 22:13:43','2004-03-24 22:13:43','',''),(18,7,4,'0000-00-00','0000-00-00','08:38:27','08:38:27','2002-03-18 19:51:44','2002-03-18 19:51:44','t','t'),(19,5,3,'2008-03-07','2008-03-07','03:29:07','03:29:07','2007-12-01 18:44:44','2007-12-01 18:44:44','t','t'),(20,0,0,'2002-04-09','2002-04-09','16:06:03','16:06:03','2009-04-22 00:00:00','2009-04-22 00:00:00','n','n');
DELETE FROM t2 WHERE `int_key` < 3 LIMIT 1;
UPDATE t1 SET `int_key` = 3 ORDER BY `pk` LIMIT 4;
...
...
mysql-test/suite/rpl_ndb/r/rpl_row_basic_7ndb.result
View file @
72b951ba
...
...
@@ -546,10 +546,7 @@ KEY `date_key` (`date_key`),
KEY `time_key` (`time_key`),
KEY `datetime_key` (`datetime_key`),
KEY `varchar_key` (`varchar_key`)
) ENGINE=InnoDB;
Warnings:
Warning 1286 Unknown table engine 'InnoDB'
Warning 1266 Using storage engine MyISAM for table 't1'
) ENGINE='NDB' ;
INSERT INTO t1 VALUES (1,8,5,'0000-00-00','0000-00-00','10:37:38','10:37:38','0000-00-00 00:00:00','0000-00-00 00:00:00','p','p'),(2,0,9,'0000-00-00','0000-00-00','00:00:00','00:00:00','2007-10-14 00:00:00','2007-10-14 00:00:00','d','d');
CREATE TABLE t2 (
`pk` int(11) NOT NULL AUTO_INCREMENT,
...
...
@@ -569,10 +566,7 @@ KEY `date_key` (`date_key`),
KEY `time_key` (`time_key`),
KEY `datetime_key` (`datetime_key`),
KEY `varchar_key` (`varchar_key`)
) ENGINE=InnoDB;
Warnings:
Warning 1286 Unknown table engine 'InnoDB'
Warning 1266 Using storage engine MyISAM for table 't2'
) ENGINE='NDB' ;
INSERT INTO t2 VALUES (1,1,6,'2005-12-23','2005-12-23','02:24:28','02:24:28','0000-00-00 00:00:00','0000-00-00 00:00:00','g','g'),(2,0,3,'2009-09-14','2009-09-14','00:00:00','00:00:00','2000-01-30 16:39:40','2000-01-30 16:39:40','q','q'),(3,0,3,'0000-00-00','0000-00-00','00:00:00','00:00:00','0000-00-00 00:00:00','0000-00-00 00:00:00','c','c'),(4,1,6,'2007-03-29','2007-03-29','15:49:00','15:49:00','0000-00-00 00:00:00','0000-00-00 00:00:00','m','m'),(5,4,0,'2002-12-04','2002-12-04','00:00:00','00:00:00','0000-00-00 00:00:00','0000-00-00 00:00:00','o','o'),(6,9,0,'2005-01-28','2005-01-28','00:00:00','00:00:00','2001-05-18 00:00:00','2001-05-18 00:00:00','w','w'),(7,6,0,'0000-00-00','0000-00-00','06:57:25','06:57:25','0000-00-00 00:00:00','0000-00-00 00:00:00','m','m'),(8,0,0,'0000-00-00','0000-00-00','00:00:00','00:00:00','0000-00-00 00:00:00','0000-00-00 00:00:00','z','z'),(9,4,6,'2006-08-15','2006-08-15','00:00:00','00:00:00','2002-04-12 14:44:25','2002-04-12 14:44:25','j','j'),(10,0,5,'2006-12-20','2006-12-20','10:13:53','10:13:53','2008-07-22 00:00:00','2008-07-22 00:00:00','y','y'),(11,9,7,'0000-00-00','0000-00-00','00:00:00','00:00:00','2004-07-05 00:00:00','2004-07-05 00:00:00','{','{'),(12,4,3,'2007-01-26','2007-01-26','23:00:51','23:00:51','2001-05-16 00:00:00','2001-05-16 00:00:00','f','f'),(13,7,0,'2004-03-27','2004-03-27','00:00:00','00:00:00','2005-01-24 03:30:37','2005-01-24 03:30:37','',''),(14,6,0,'2006-07-26','2006-07-26','18:43:57','18:43:57','0000-00-00 00:00:00','0000-00-00 00:00:00','{','{'),(15,0,6,'2000-01-14','2000-01-14','00:00:00','00:00:00','2000-09-21 00:00:00','2000-09-21 00:00:00','o','o'),(16,9,8,'0000-00-00','0000-00-00','21:15:08','21:15:08','0000-00-00 00:00:00','0000-00-00 00:00:00','a','a'),(17,2,0,'2004-10-27','2004-10-27','00:00:00','00:00:00','2004-03-24 22:13:43','2004-03-24 22:13:43','',''),(18,7,4,'0000-00-00','0000-00-00','08:38:27','08:38:27','2002-03-18 19:51:44','2002-03-18 19:51:44','t','t'),(19,5,3,'2008-03-07','2008-03-07','03:29:07','03:29:07','2007-12-01 18:44:44','2007-12-01 18:44:44','t','t'),(20,0,0,'2002-04-09','2002-04-09','16:06:03','16:06:03','2009-04-22 00:00:00','2009-04-22 00:00:00','n','n');
DELETE FROM t2 WHERE `int_key` < 3 LIMIT 1;
UPDATE t1 SET `int_key` = 3 ORDER BY `pk` LIMIT 4;
...
...
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