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
c9a8859d
Commit
c9a8859d
authored
Dec 07, 2014
by
Elena Stepanova
Browse files
Options
Browse Files
Download
Plain Diff
MDEV-7255 Failures in engines/* tests
parents
5bba1109
f7fed263
Changes
26
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
227 additions
and
831 deletions
+227
-831
mysql-test/suite/engines/funcs/combinations
mysql-test/suite/engines/funcs/combinations
+11
-0
mysql-test/suite/engines/funcs/r/db_create_drop.result
mysql-test/suite/engines/funcs/r/db_create_drop.result
+4
-4
mysql-test/suite/engines/funcs/r/db_create_error.result
mysql-test/suite/engines/funcs/r/db_create_error.result
+1
-1
mysql-test/suite/engines/funcs/r/db_create_if_not_exists.result
...test/suite/engines/funcs/r/db_create_if_not_exists.result
+2
-2
mysql-test/suite/engines/funcs/r/db_drop_error.result
mysql-test/suite/engines/funcs/r/db_drop_error.result
+1
-1
mysql-test/suite/engines/funcs/r/db_use_error.result
mysql-test/suite/engines/funcs/r/db_use_error.result
+1
-1
mysql-test/suite/engines/funcs/r/sf_alter.result
mysql-test/suite/engines/funcs/r/sf_alter.result
+0
-540
mysql-test/suite/engines/funcs/r/sf_cursor.result
mysql-test/suite/engines/funcs/r/sf_cursor.result
+0
-9
mysql-test/suite/engines/funcs/r/sp_alter.result
mysql-test/suite/engines/funcs/r/sp_alter.result
+0
-120
mysql-test/suite/engines/funcs/r/sp_cursor.result
mysql-test/suite/engines/funcs/r/sp_cursor.result
+0
-2
mysql-test/suite/engines/funcs/r/sq_error.result
mysql-test/suite/engines/funcs/r/sq_error.result
+4
-4
mysql-test/suite/engines/funcs/r/ta_rename.result
mysql-test/suite/engines/funcs/r/ta_rename.result
+32
-32
mysql-test/suite/engines/funcs/r/tc_rename_error.result
mysql-test/suite/engines/funcs/r/tc_rename_error.result
+1
-1
mysql-test/suite/engines/funcs/t/db_create_drop.test
mysql-test/suite/engines/funcs/t/db_create_drop.test
+4
-0
mysql-test/suite/engines/funcs/t/db_create_error.test
mysql-test/suite/engines/funcs/t/db_create_error.test
+2
-0
mysql-test/suite/engines/funcs/t/db_create_if_not_exists.test
...l-test/suite/engines/funcs/t/db_create_if_not_exists.test
+2
-0
mysql-test/suite/engines/funcs/t/db_drop_error.test
mysql-test/suite/engines/funcs/t/db_drop_error.test
+1
-0
mysql-test/suite/engines/funcs/t/db_use_error.test
mysql-test/suite/engines/funcs/t/db_use_error.test
+1
-0
mysql-test/suite/engines/funcs/t/rpl_row_until.test
mysql-test/suite/engines/funcs/t/rpl_row_until.test
+6
-6
mysql-test/suite/engines/funcs/t/tc_rename_error.test
mysql-test/suite/engines/funcs/t/tc_rename_error.test
+1
-1
mysql-test/suite/engines/iuds/combinations
mysql-test/suite/engines/iuds/combinations
+8
-0
mysql-test/suite/engines/iuds/r/strings_charsets_update_delete.result
...uite/engines/iuds/r/strings_charsets_update_delete.result
+0
-0
mysql-test/suite/engines/iuds/r/strings_update_delete.result
mysql-test/suite/engines/iuds/r/strings_update_delete.result
+14
-14
mysql-test/suite/engines/iuds/r/type_bit_iuds.result
mysql-test/suite/engines/iuds/r/type_bit_iuds.result
+64
-64
mysql-test/suite/engines/iuds/r/update_delete_number.result
mysql-test/suite/engines/iuds/r/update_delete_number.result
+7
-7
storage/myisammrg/mysql-test/storage_engine/alter_table_online.rdiff
...sammrg/mysql-test/storage_engine/alter_table_online.rdiff
+60
-22
No files found.
mysql-test/suite/engines/funcs/combinations
0 → 100644
View file @
c9a8859d
[innodb]
innodb
default-storage-engine=innodb
partition
[myisam]
skip-innodb
default-storage-engine=myisam
partition
mysql-test/suite/engines/funcs/r/db_create_drop.result
View file @
c9a8859d
...
@@ -2,8 +2,8 @@ DROP DATABASE IF EXISTS d1;
...
@@ -2,8 +2,8 @@ DROP DATABASE IF EXISTS d1;
CREATE DATABASE d1;
CREATE DATABASE d1;
SHOW DATABASES;
SHOW DATABASES;
Database
Database
information_schema
d1
d1
information_schema
mtr
mtr
mysql
mysql
performance_schema
performance_schema
...
@@ -13,8 +13,8 @@ Database (d%)
...
@@ -13,8 +13,8 @@ Database (d%)
d1
d1
SHOW DATABASES LIKE '%';
SHOW DATABASES LIKE '%';
Database (%)
Database (%)
information_schema
d1
d1
information_schema
mtr
mtr
mysql
mysql
performance_schema
performance_schema
...
@@ -24,8 +24,8 @@ DROP DATABASE d1;
...
@@ -24,8 +24,8 @@ DROP DATABASE d1;
CREATE SCHEMA d1;
CREATE SCHEMA d1;
SHOW SCHEMAS;
SHOW SCHEMAS;
Database
Database
information_schema
d1
d1
information_schema
mtr
mtr
mysql
mysql
performance_schema
performance_schema
...
@@ -35,8 +35,8 @@ Database (d%)
...
@@ -35,8 +35,8 @@ Database (d%)
d1
d1
SHOW SCHEMAS LIKE '%';
SHOW SCHEMAS LIKE '%';
Database (%)
Database (%)
information_schema
d1
d1
information_schema
mtr
mtr
mysql
mysql
performance_schema
performance_schema
...
...
mysql-test/suite/engines/funcs/r/db_create_error.result
View file @
c9a8859d
...
@@ -2,8 +2,8 @@ DROP DATABASE IF EXISTS d4;
...
@@ -2,8 +2,8 @@ DROP DATABASE IF EXISTS d4;
CREATE DATABASE d4;
CREATE DATABASE d4;
SHOW DATABASES;
SHOW DATABASES;
Database
Database
information_schema
d4
d4
information_schema
mtr
mtr
mysql
mysql
performance_schema
performance_schema
...
...
mysql-test/suite/engines/funcs/r/db_create_if_not_exists.result
View file @
c9a8859d
...
@@ -5,8 +5,8 @@ Warnings:
...
@@ -5,8 +5,8 @@ Warnings:
Note 1007 Can't create database 'd2'; database exists
Note 1007 Can't create database 'd2'; database exists
SHOW DATABASES;
SHOW DATABASES;
Database
Database
information_schema
d2
d2
information_schema
mtr
mtr
mysql
mysql
performance_schema
performance_schema
...
@@ -22,8 +22,8 @@ Warnings:
...
@@ -22,8 +22,8 @@ Warnings:
Note 1007 Can't create database 'd2'; database exists
Note 1007 Can't create database 'd2'; database exists
SHOW DATABASES;
SHOW DATABASES;
Database
Database
information_schema
d2
d2
information_schema
mtr
mtr
mysql
mysql
performance_schema
performance_schema
...
...
mysql-test/suite/engines/funcs/r/db_drop_error.result
View file @
c9a8859d
...
@@ -2,8 +2,8 @@ DROP DATABASE IF EXISTS d5;
...
@@ -2,8 +2,8 @@ DROP DATABASE IF EXISTS d5;
CREATE DATABASE d5;
CREATE DATABASE d5;
SHOW DATABASES;
SHOW DATABASES;
Database
Database
information_schema
d5
d5
information_schema
mtr
mtr
mysql
mysql
performance_schema
performance_schema
...
...
mysql-test/suite/engines/funcs/r/db_use_error.result
View file @
c9a8859d
...
@@ -2,8 +2,8 @@ DROP DATABASE IF EXISTS d6;
...
@@ -2,8 +2,8 @@ DROP DATABASE IF EXISTS d6;
CREATE DATABASE d6;
CREATE DATABASE d6;
SHOW DATABASES;
SHOW DATABASES;
Database
Database
information_schema
d6
d6
information_schema
mtr
mtr
mysql
mysql
performance_schema
performance_schema
...
...
mysql-test/suite/engines/funcs/r/sf_alter.result
View file @
c9a8859d
This diff is collapsed.
Click to expand it.
mysql-test/suite/engines/funcs/r/sf_cursor.result
View file @
c9a8859d
...
@@ -34,8 +34,6 @@ END//
...
@@ -34,8 +34,6 @@ END//
SELECT sf1();
SELECT sf1();
sf1()
sf1()
0
0
Warnings:
Error 1329 No data - zero rows fetched, selected, or processed
SELECT * FROM t1 ORDER BY id;
SELECT * FROM t1 ORDER BY id;
id data
id data
1 1
1 1
...
@@ -53,8 +51,6 @@ id data
...
@@ -53,8 +51,6 @@ id data
2 1
2 1
3 3
3 3
INSERT INTO t4 VALUES(sf1());
INSERT INTO t4 VALUES(sf1());
Warnings:
Error 1329 No data - zero rows fetched, selected, or processed
SELECT * FROM t1 ORDER BY id;
SELECT * FROM t1 ORDER BY id;
id data
id data
1 1
1 1
...
@@ -75,9 +71,6 @@ id data
...
@@ -75,9 +71,6 @@ id data
3 3
3 3
3 3
3 3
UPDATE t4 SET i = sf1() + 1 WHERE i = sf1();
UPDATE t4 SET i = sf1() + 1 WHERE i = sf1();
Warnings:
Error 1329 No data - zero rows fetched, selected, or processed
Error 1329 No data - zero rows fetched, selected, or processed
SELECT * FROM t1 ORDER BY id;
SELECT * FROM t1 ORDER BY id;
id data
id data
1 1
1 1
...
@@ -104,8 +97,6 @@ id data
...
@@ -104,8 +97,6 @@ id data
3 3
3 3
3 3
3 3
DELETE FROM t4 WHERE i = sf1() + 1;
DELETE FROM t4 WHERE i = sf1() + 1;
Warnings:
Error 1329 No data - zero rows fetched, selected, or processed
SELECT * FROM t1 ORDER BY id;
SELECT * FROM t1 ORDER BY id;
id data
id data
1 1
1 1
...
...
mysql-test/suite/engines/funcs/r/sp_alter.result
View file @
c9a8859d
This diff is collapsed.
Click to expand it.
mysql-test/suite/engines/funcs/r/sp_cursor.result
View file @
c9a8859d
...
@@ -30,8 +30,6 @@ CLOSE cur1;
...
@@ -30,8 +30,6 @@ CLOSE cur1;
CLOSE cur2;
CLOSE cur2;
END//
END//
CALL sp1();
CALL sp1();
Warnings:
Error 1329 No data - zero rows fetched, selected, or processed
SELECT * FROM t1 ORDER BY id;
SELECT * FROM t1 ORDER BY id;
id data
id data
1 1
1 1
...
...
mysql-test/suite/engines/funcs/r/sq_error.result
View file @
c9a8859d
...
@@ -16,7 +16,7 @@ SELECT * FROM t1 WHERE c1 = (SELECT c1 FROM t2);
...
@@ -16,7 +16,7 @@ SELECT * FROM t1 WHERE c1 = (SELECT c1 FROM t2);
ERROR 21000: Subquery returns more than 1 row
ERROR 21000: Subquery returns more than 1 row
UPDATE t1 SET c2 = (SELECT MAX(c1) FROM t2);
UPDATE t1 SET c2 = (SELECT MAX(c1) FROM t2);
UPDATE t1 SET c1 = (SELECT MAX(c1) FROM t1);
UPDATE t1 SET c1 = (SELECT MAX(c1) FROM t1);
ERROR HY000:
You can't specify target table 't1' for update in FROM clause
ERROR HY000:
Table 't1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
DROP TABLE t1;
DROP TABLE t1;
DROP TABLE t2;
DROP TABLE t2;
CREATE TABLE t1 (c1 INT, c2 VARCHAR(100),c3 FLOAT);
CREATE TABLE t1 (c1 INT, c2 VARCHAR(100),c3 FLOAT);
...
@@ -35,7 +35,7 @@ SELECT * FROM t1 WHERE c1 = (SELECT c1 FROM t2);
...
@@ -35,7 +35,7 @@ SELECT * FROM t1 WHERE c1 = (SELECT c1 FROM t2);
ERROR 21000: Subquery returns more than 1 row
ERROR 21000: Subquery returns more than 1 row
UPDATE t1 SET c2 = (SELECT MAX(c1) FROM t2);
UPDATE t1 SET c2 = (SELECT MAX(c1) FROM t2);
UPDATE t1 SET c1 = (SELECT MAX(c1) FROM t1);
UPDATE t1 SET c1 = (SELECT MAX(c1) FROM t1);
ERROR HY000:
You can't specify target table 't1' for update in FROM clause
ERROR HY000:
Table 't1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
DROP TABLE t1;
DROP TABLE t1;
DROP TABLE t2;
DROP TABLE t2;
CREATE TABLE t1 (c1 INT, c2 BINARY(100),c3 FLOAT);
CREATE TABLE t1 (c1 INT, c2 BINARY(100),c3 FLOAT);
...
@@ -54,7 +54,7 @@ SELECT * FROM t1 WHERE c1 = (SELECT c1 FROM t2);
...
@@ -54,7 +54,7 @@ SELECT * FROM t1 WHERE c1 = (SELECT c1 FROM t2);
ERROR 21000: Subquery returns more than 1 row
ERROR 21000: Subquery returns more than 1 row
UPDATE t1 SET c2 = (SELECT MAX(c1) FROM t2);
UPDATE t1 SET c2 = (SELECT MAX(c1) FROM t2);
UPDATE t1 SET c1 = (SELECT MAX(c1) FROM t1);
UPDATE t1 SET c1 = (SELECT MAX(c1) FROM t1);
ERROR HY000:
You can't specify target table 't1' for update in FROM clause
ERROR HY000:
Table 't1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
DROP TABLE t1;
DROP TABLE t1;
DROP TABLE t2;
DROP TABLE t2;
CREATE TABLE t1 (c1 INT, c2 VARBINARY(100),c3 FLOAT);
CREATE TABLE t1 (c1 INT, c2 VARBINARY(100),c3 FLOAT);
...
@@ -73,6 +73,6 @@ SELECT * FROM t1 WHERE c1 = (SELECT c1 FROM t2);
...
@@ -73,6 +73,6 @@ SELECT * FROM t1 WHERE c1 = (SELECT c1 FROM t2);
ERROR 21000: Subquery returns more than 1 row
ERROR 21000: Subquery returns more than 1 row
UPDATE t1 SET c2 = (SELECT MAX(c1) FROM t2);
UPDATE t1 SET c2 = (SELECT MAX(c1) FROM t2);
UPDATE t1 SET c1 = (SELECT MAX(c1) FROM t1);
UPDATE t1 SET c1 = (SELECT MAX(c1) FROM t1);
ERROR HY000:
You can't specify target table 't1' for update in FROM clause
ERROR HY000:
Table 't1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
DROP TABLE t1;
DROP TABLE t1;
DROP TABLE t2;
DROP TABLE t2;
mysql-test/suite/engines/funcs/r/ta_rename.result
View file @
c9a8859d
...
@@ -14,7 +14,7 @@ SHOW TABLES;
...
@@ -14,7 +14,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -39,7 +39,7 @@ SHOW TABLES;
...
@@ -39,7 +39,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -64,7 +64,7 @@ SHOW TABLES;
...
@@ -64,7 +64,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -89,7 +89,7 @@ SHOW TABLES;
...
@@ -89,7 +89,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -114,7 +114,7 @@ SHOW TABLES;
...
@@ -114,7 +114,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -139,7 +139,7 @@ SHOW TABLES;
...
@@ -139,7 +139,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -164,7 +164,7 @@ SHOW TABLES;
...
@@ -164,7 +164,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -189,7 +189,7 @@ SHOW TABLES;
...
@@ -189,7 +189,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -214,7 +214,7 @@ SHOW TABLES;
...
@@ -214,7 +214,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -239,7 +239,7 @@ SHOW TABLES;
...
@@ -239,7 +239,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -264,7 +264,7 @@ SHOW TABLES;
...
@@ -264,7 +264,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -289,7 +289,7 @@ SHOW TABLES;
...
@@ -289,7 +289,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -314,7 +314,7 @@ SHOW TABLES;
...
@@ -314,7 +314,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -339,7 +339,7 @@ SHOW TABLES;
...
@@ -339,7 +339,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -364,7 +364,7 @@ SHOW TABLES;
...
@@ -364,7 +364,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -389,7 +389,7 @@ SHOW TABLES;
...
@@ -389,7 +389,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -414,7 +414,7 @@ SHOW TABLES;
...
@@ -414,7 +414,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -439,7 +439,7 @@ SHOW TABLES;
...
@@ -439,7 +439,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -464,7 +464,7 @@ SHOW TABLES;
...
@@ -464,7 +464,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -489,7 +489,7 @@ SHOW TABLES;
...
@@ -489,7 +489,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -514,7 +514,7 @@ SHOW TABLES;
...
@@ -514,7 +514,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -539,7 +539,7 @@ SHOW TABLES;
...
@@ -539,7 +539,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -564,7 +564,7 @@ SHOW TABLES;
...
@@ -564,7 +564,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -589,7 +589,7 @@ SHOW TABLES;
...
@@ -589,7 +589,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -614,7 +614,7 @@ SHOW TABLES;
...
@@ -614,7 +614,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -639,7 +639,7 @@ SHOW TABLES;
...
@@ -639,7 +639,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -664,7 +664,7 @@ SHOW TABLES;
...
@@ -664,7 +664,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -689,7 +689,7 @@ SHOW TABLES;
...
@@ -689,7 +689,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -714,7 +714,7 @@ SHOW TABLES;
...
@@ -714,7 +714,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -739,7 +739,7 @@ SHOW TABLES;
...
@@ -739,7 +739,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -764,7 +764,7 @@ SHOW TABLES;
...
@@ -764,7 +764,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
@@ -789,7 +789,7 @@ SHOW TABLES;
...
@@ -789,7 +789,7 @@ SHOW TABLES;
Tables_in_test
Tables_in_test
t2
t2
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SHOW CREATE TABLE t2;
SHOW CREATE TABLE t2;
Table Create Table
Table Create Table
t2 CREATE TABLE `t2` (
t2 CREATE TABLE `t2` (
...
...
mysql-test/suite/engines/funcs/r/tc_rename_error.result
View file @
c9a8859d
...
@@ -15,7 +15,7 @@ ERROR 42S01: Table 't1' already exists
...
@@ -15,7 +15,7 @@ ERROR 42S01: Table 't1' already exists
RENAME TABLE t3 TO t1;
RENAME TABLE t3 TO t1;
ERROR 42S01: Table 't1' already exists
ERROR 42S01: Table 't1' already exists
RENAME TABLE t3 TO doesnotexist.t1;
RENAME TABLE t3 TO doesnotexist.t1;
ERROR
HY000: Can't find file: './test/t3.frm' (errno: 2 "No such file or directory")
ERROR
42S02: Table 'test.t3' doesn't exist
SHOW TABLES;
SHOW TABLES;
Tables_in_test
Tables_in_test
t1
t1
...
...
mysql-test/suite/engines/funcs/t/db_create_drop.test
View file @
c9a8859d
...
@@ -2,14 +2,18 @@
...
@@ -2,14 +2,18 @@
DROP
DATABASE
IF
EXISTS
d1
;
DROP
DATABASE
IF
EXISTS
d1
;
--
enable_warnings
--
enable_warnings
CREATE
DATABASE
d1
;
CREATE
DATABASE
d1
;
--
sorted_result
SHOW
DATABASES
;
SHOW
DATABASES
;
SHOW
DATABASES
LIKE
'd%'
;
SHOW
DATABASES
LIKE
'd%'
;
--
sorted_result
SHOW
DATABASES
LIKE
'%'
;
SHOW
DATABASES
LIKE
'%'
;
USE
d1
;
USE
d1
;
DROP
DATABASE
d1
;
DROP
DATABASE
d1
;
CREATE
SCHEMA
d1
;
CREATE
SCHEMA
d1
;
--
sorted_result
SHOW
SCHEMAS
;
SHOW
SCHEMAS
;
SHOW
SCHEMAS
LIKE
'd%'
;
SHOW
SCHEMAS
LIKE
'd%'
;
--
sorted_result
SHOW
SCHEMAS
LIKE
'%'
;
SHOW
SCHEMAS
LIKE
'%'
;
USE
d1
;
USE
d1
;
DROP
SCHEMA
d1
;
DROP
SCHEMA
d1
;
...
...
mysql-test/suite/engines/funcs/t/db_create_error.test
View file @
c9a8859d
...
@@ -2,9 +2,11 @@
...
@@ -2,9 +2,11 @@
DROP
DATABASE
IF
EXISTS
d4
;
DROP
DATABASE
IF
EXISTS
d4
;
--
enable_warnings
--
enable_warnings
CREATE
DATABASE
d4
;
CREATE
DATABASE
d4
;
--
sorted_result
SHOW
DATABASES
;
SHOW
DATABASES
;
--
error
1007
--
error
1007
CREATE
DATABASE
d4
;
CREATE
DATABASE
d4
;
DROP
DATABASE
d4
;
DROP
DATABASE
d4
;
--
sorted_result
SHOW
DATABASES
;
SHOW
DATABASES
;
mysql-test/suite/engines/funcs/t/db_create_if_not_exists.test
View file @
c9a8859d
...
@@ -3,12 +3,14 @@ DROP DATABASE IF EXISTS d2;
...
@@ -3,12 +3,14 @@ DROP DATABASE IF EXISTS d2;
--
enable_warnings
--
enable_warnings
CREATE
DATABASE
d2
;
CREATE
DATABASE
d2
;
CREATE
DATABASE
IF
NOT
EXISTS
d2
;
CREATE
DATABASE
IF
NOT
EXISTS
d2
;
--
sorted_result
SHOW
DATABASES
;
SHOW
DATABASES
;
USE
d2
;
USE
d2
;
DROP
DATABASE
d2
;
DROP
DATABASE
d2
;
DROP
DATABASE
IF
EXISTS
d2
;
DROP
DATABASE
IF
EXISTS
d2
;
CREATE
SCHEMA
d2
;
CREATE
SCHEMA
d2
;
CREATE
SCHEMA
IF
NOT
EXISTS
d2
;
CREATE
SCHEMA
IF
NOT
EXISTS
d2
;
--
sorted_result
SHOW
DATABASES
;
SHOW
DATABASES
;
USE
d2
;
USE
d2
;
DROP
SCHEMA
d2
;
DROP
SCHEMA
d2
;
...
...
mysql-test/suite/engines/funcs/t/db_drop_error.test
View file @
c9a8859d
...
@@ -6,5 +6,6 @@ SHOW DATABASES;
...
@@ -6,5 +6,6 @@ SHOW DATABASES;
--
error
1008
--
error
1008
DROP
DATABASE
nond5
;
DROP
DATABASE
nond5
;
DROP
DATABASE
d5
;
DROP
DATABASE
d5
;
--
sorted_result
SHOW
DATABASES
;
SHOW
DATABASES
;
mysql-test/suite/engines/funcs/t/db_use_error.test
View file @
c9a8859d
...
@@ -6,5 +6,6 @@ SHOW DATABASES;
...
@@ -6,5 +6,6 @@ SHOW DATABASES;
--
error
1064
--
error
1064
USE
DATABASE
nond6
;
USE
DATABASE
nond6
;
DROP
DATABASE
d6
;
DROP
DATABASE
d6
;
--
sorted_result
SHOW
DATABASES
;
SHOW
DATABASES
;
mysql-test/suite/engines/funcs/t/rpl_row_until.test
View file @
c9a8859d
...
@@ -11,18 +11,18 @@ INSERT INTO t1 VALUES (1),(2),(3),(4);
...
@@ -11,18 +11,18 @@ INSERT INTO t1 VALUES (1),(2),(3),(4);
DROP
TABLE
t1
;
DROP
TABLE
t1
;
# Save master log position for query DROP TABLE t1
# Save master log position for query DROP TABLE t1
save_master_pos
;
save_master_pos
;
let
$master_pos_drop_t1
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
Pos
,
7
);
let
$master_pos_drop_t1
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
Pos
,
10
);
let
$master_log_file
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
Log_name
,
7
);
let
$master_log_file
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
Log_name
,
10
);
CREATE
TABLE
t2
(
n
INT
NOT
NULL
AUTO_INCREMENT
PRIMARY
KEY
);
CREATE
TABLE
t2
(
n
INT
NOT
NULL
AUTO_INCREMENT
PRIMARY
KEY
);
# Save master log position for query CREATE TABLE t2
# Save master log position for query CREATE TABLE t2
save_master_pos
;
save_master_pos
;
let
$master_pos_create_t2
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
Pos
,
8
);
let
$master_pos_create_t2
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
Pos
,
12
);
INSERT
INTO
t2
VALUES
(
1
),(
2
);
INSERT
INTO
t2
VALUES
(
1
),(
2
);
save_master_pos
;
save_master_pos
;
# Save master log position for query INSERT INTO t2 VALUES (1),(2);
# Save master log position for query INSERT INTO t2 VALUES (1),(2);
let
$master_pos_insert1_t2
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
End_log_pos
,
1
2
);
let
$master_pos_insert1_t2
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
End_log_pos
,
1
7
);
sync_slave_with_master
;
sync_slave_with_master
;
# Save relay log position for query INSERT INTO t2 VALUES (1),(2);
# Save relay log position for query INSERT INTO t2 VALUES (1),(2);
...
@@ -31,8 +31,8 @@ let $relay_pos_insert1_t2= query_get_value(show slave status, Relay_Log_Pos, 1);
...
@@ -31,8 +31,8 @@ let $relay_pos_insert1_t2= query_get_value(show slave status, Relay_Log_Pos, 1);
connection
master
;
connection
master
;
INSERT
INTO
t2
VALUES
(
3
),(
4
);
INSERT
INTO
t2
VALUES
(
3
),(
4
);
DROP
TABLE
t2
;
DROP
TABLE
t2
;
# Save master log position for query
INSERT INTO t2 VALUES (1),(2)
;
# Save master log position for query
DROP TABLE t2
;
let
$master_pos_drop_t2
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
End_log_pos
,
17
);
let
$master_pos_drop_t2
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
End_log_pos
,
23
);
sync_slave_with_master
;
sync_slave_with_master
;
--
source
include
/
stop_slave
.
inc
--
source
include
/
stop_slave
.
inc
...
...
mysql-test/suite/engines/funcs/t/tc_rename_error.test
View file @
c9a8859d
...
@@ -11,7 +11,7 @@ let $ENGINE=`select variable_value from information_schema.global_variables wher
...
@@ -11,7 +11,7 @@ let $ENGINE=`select variable_value from information_schema.global_variables wher
RENAME
TABLE
t2
TO
t1
;
RENAME
TABLE
t2
TO
t1
;
--
error
1050
--
error
1050
RENAME
TABLE
t3
TO
t1
;
RENAME
TABLE
t3
TO
t1
;
--
error
1
017
--
error
1
146
RENAME
TABLE
t3
TO
doesnotexist
.
t1
;
RENAME
TABLE
t3
TO
doesnotexist
.
t1
;
SHOW
TABLES
;
SHOW
TABLES
;
let
$ENGINE
=
`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`
;
let
$ENGINE
=
`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`
;
...
...
mysql-test/suite/engines/iuds/combinations
0 → 100644
View file @
c9a8859d
[innodb]
innodb
default-storage-engine=innodb
[myisam]
skip-innodb
default-storage-engine=myisam
mysql-test/suite/engines/iuds/r/strings_charsets_update_delete.result
View file @
c9a8859d
No preview for this file type
mysql-test/suite/engines/iuds/r/strings_update_delete.result
View file @
c9a8859d
...
@@ -70471,17 +70471,17 @@ SIZE
...
@@ -70471,17 +70471,17 @@ SIZE
DROP TABLE t17,t18;
DROP TABLE t17,t18;
DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16,t17,t18;
DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16,t17,t18;
Warnings:
Warnings:
Note 1051 Unknown table 't3'
Note 1051 Unknown table 't
est.t
3'
Note 1051 Unknown table 't4'
Note 1051 Unknown table 't
est.t
4'
Note 1051 Unknown table 't5'
Note 1051 Unknown table 't
est.t
5'
Note 1051 Unknown table 't6'
Note 1051 Unknown table 't
est.t
6'
Note 1051 Unknown table 't7'
Note 1051 Unknown table 't
est.t
7'
Note 1051 Unknown table 't8'
Note 1051 Unknown table 't
est.t
8'
Note 1051 Unknown table 't9'
Note 1051 Unknown table 't
est.t
9'
Note 1051 Unknown table 't10'
Note 1051 Unknown table 't
est.t
10'
Note 1051 Unknown table 't11'
Note 1051 Unknown table 't
est.t
11'
Note 1051 Unknown table 't13'
Note 1051 Unknown table 't
est.t
13'
Note 1051 Unknown table 't14'
Note 1051 Unknown table 't
est.t
14'
Note 1051 Unknown table 't15'
Note 1051 Unknown table 't
est.t
15'
Note 1051 Unknown table 't17'
Note 1051 Unknown table 't
est.t
17'
Note 1051 Unknown table 't18'
Note 1051 Unknown table 't
est.t
18'
mysql-test/suite/engines/iuds/r/type_bit_iuds.result
View file @
c9a8859d
This diff is collapsed.
Click to expand it.
mysql-test/suite/engines/iuds/r/update_delete_number.result
View file @
c9a8859d
...
@@ -740,7 +740,7 @@ DELETE FROM a1, a2 USING t1 AS a1 INNER JOIN t2 AS a2 WHERE a2.c1=a1.c2;
...
@@ -740,7 +740,7 @@ DELETE FROM a1, a2 USING t1 AS a1 INNER JOIN t2 AS a2 WHERE a2.c1=a1.c2;
SELECT * FROM t1,t2 WHERE t2.c1=t1.c2;
SELECT * FROM t1,t2 WHERE t2.c1=t1.c2;
c1 c2 c3 c1 c2 c3
c1 c2 c3 c1 c2 c3
DELETE FROM t1,t2 using t1,t2 where t1.c1=(select c1 from t1);
DELETE FROM t1,t2 using t1,t2 where t1.c1=(select c1 from t1);
ERROR HY000:
You can't specify target table 't1' for update in FROM clause
ERROR HY000:
Table 't1' is specified twice, both as a target for 'DELETE' and as a separate source for data
CREATE TABLE t3(c1 INT UNSIGNED NOT NULL PRIMARY KEY, c2 INT SIGNED NULL, c3 INT);
CREATE TABLE t3(c1 INT UNSIGNED NOT NULL PRIMARY KEY, c2 INT SIGNED NULL, c3 INT);
CREATE TABLE t4(c1 INT UNSIGNED, c2 INT);
CREATE TABLE t4(c1 INT UNSIGNED, c2 INT);
INSERT INTO t3 VALUES(200,126,1),(250,-127,2);
INSERT INTO t3 VALUES(200,126,1),(250,-127,2);
...
@@ -980,9 +980,9 @@ drop table mt1, mt2, mt3;
...
@@ -980,9 +980,9 @@ drop table mt1, mt2, mt3;
create table mt1 (col1 int);
create table mt1 (col1 int);
create table mt2 (col1 int);
create table mt2 (col1 int);
update mt1,mt2 set mt1.col1 = (select max(col1) from mt1) where mt1.col1 = mt2.col1;
update mt1,mt2 set mt1.col1 = (select max(col1) from mt1) where mt1.col1 = mt2.col1;
ERROR HY000:
You can't specify target table 'mt1' for update in FROM clause
ERROR HY000:
Table 'mt1' is specified twice, both as a target for 'UPDATE' and as a separate source for data
delete mt1 from mt1,mt2 where mt1.col1 < (select max(col1) from mt1) and mt1.col1 = mt2.col1;
delete mt1 from mt1,mt2 where mt1.col1 < (select max(col1) from mt1) and mt1.col1 = mt2.col1;
ERROR HY000:
You can't specify target table 'mt1' for update in FROM clause
ERROR HY000:
Table 'mt1' is specified twice, both as a target for 'DELETE' and as a separate source for data
drop table mt1,mt2;
drop table mt1,mt2;
CREATE TABLE IF NOT EXISTS `mt1` (`id` int(11) NOT NULL auto_increment, `tst` text, `tsmt1` text, PRIMARY KEY (`id`));
CREATE TABLE IF NOT EXISTS `mt1` (`id` int(11) NOT NULL auto_increment, `tst` text, `tsmt1` text, PRIMARY KEY (`id`));
CREATE TABLE IF NOT EXISTS `mt2` (`ID` int(11) NOT NULL auto_increment, `ParId` int(11) default NULL, `tst` text, `tsmt1` text, PRIMARY KEY (`ID`), KEY `IX_ParId_mt2` (`ParId`), FOREIGN KEY (`ParId`) REFERENCES `mt1` (`id`));
CREATE TABLE IF NOT EXISTS `mt2` (`ID` int(11) NOT NULL auto_increment, `ParId` int(11) default NULL, `tst` text, `tsmt1` text, PRIMARY KEY (`ID`), KEY `IX_ParId_mt2` (`ParId`), FOREIGN KEY (`ParId`) REFERENCES `mt1` (`id`));
...
@@ -1853,7 +1853,7 @@ DELETE FROM a1, a2 USING t1 AS a1 INNER JOIN t2 AS a2 WHERE a2.c1=a1.c2;
...
@@ -1853,7 +1853,7 @@ DELETE FROM a1, a2 USING t1 AS a1 INNER JOIN t2 AS a2 WHERE a2.c1=a1.c2;
SELECT * FROM t1,t2 WHERE t2.c1=t1.c2;
SELECT * FROM t1,t2 WHERE t2.c1=t1.c2;
c1 c2 c3 c1 c2 c3
c1 c2 c3 c1 c2 c3
DELETE FROM t1,t2 using t1,t2 where t1.c1=(select c1 from t1);
DELETE FROM t1,t2 using t1,t2 where t1.c1=(select c1 from t1);
ERROR HY000:
You can't specify target table 't1' for update in FROM clause
ERROR HY000:
Table 't1' is specified twice, both as a target for 'DELETE' and as a separate source for data
CREATE TABLE t3(c1 TINYINT UNSIGNED NOT NULL PRIMARY KEY, c2 TINYINT SIGNED NULL, c3 INT);
CREATE TABLE t3(c1 TINYINT UNSIGNED NOT NULL PRIMARY KEY, c2 TINYINT SIGNED NULL, c3 INT);
CREATE TABLE t4(c1 TINYINT UNSIGNED, c2 INT);
CREATE TABLE t4(c1 TINYINT UNSIGNED, c2 INT);
INSERT INTO t3 VALUES(200,126,1),(250,-127,2);
INSERT INTO t3 VALUES(200,126,1),(250,-127,2);
...
@@ -2600,7 +2600,7 @@ DELETE FROM a1, a2 USING t1 AS a1 INNER JOIN t2 AS a2 WHERE a2.c1=a1.c2;
...
@@ -2600,7 +2600,7 @@ DELETE FROM a1, a2 USING t1 AS a1 INNER JOIN t2 AS a2 WHERE a2.c1=a1.c2;
SELECT * FROM t1,t2 WHERE t2.c1=t1.c2;
SELECT * FROM t1,t2 WHERE t2.c1=t1.c2;
c1 c2 c3 c1 c2 c3
c1 c2 c3 c1 c2 c3
DELETE FROM t1,t2 using t1,t2 where t1.c1=(select c1 from t1);
DELETE FROM t1,t2 using t1,t2 where t1.c1=(select c1 from t1);
ERROR HY000:
You can't specify target table 't1' for update in FROM clause
ERROR HY000:
Table 't1' is specified twice, both as a target for 'DELETE' and as a separate source for data
CREATE TABLE t3(c1 SMALLINT UNSIGNED NOT NULL PRIMARY KEY, c2 SMALLINT SIGNED NULL, c3 INT);
CREATE TABLE t3(c1 SMALLINT UNSIGNED NOT NULL PRIMARY KEY, c2 SMALLINT SIGNED NULL, c3 INT);
CREATE TABLE t4(c1 SMALLINT UNSIGNED, c2 INT);
CREATE TABLE t4(c1 SMALLINT UNSIGNED, c2 INT);
INSERT INTO t3 VALUES(200,126,1),(250,-127,2);
INSERT INTO t3 VALUES(200,126,1),(250,-127,2);
...
@@ -3347,7 +3347,7 @@ DELETE FROM a1, a2 USING t1 AS a1 INNER JOIN t2 AS a2 WHERE a2.c1=a1.c2;
...
@@ -3347,7 +3347,7 @@ DELETE FROM a1, a2 USING t1 AS a1 INNER JOIN t2 AS a2 WHERE a2.c1=a1.c2;
SELECT * FROM t1,t2 WHERE t2.c1=t1.c2;
SELECT * FROM t1,t2 WHERE t2.c1=t1.c2;
c1 c2 c3 c1 c2 c3
c1 c2 c3 c1 c2 c3
DELETE FROM t1,t2 using t1,t2 where t1.c1=(select c1 from t1);
DELETE FROM t1,t2 using t1,t2 where t1.c1=(select c1 from t1);
ERROR HY000:
You can't specify target table 't1' for update in FROM clause
ERROR HY000:
Table 't1' is specified twice, both as a target for 'DELETE' and as a separate source for data
CREATE TABLE t3(c1 MEDIUMINT UNSIGNED NOT NULL PRIMARY KEY, c2 MEDIUMINT SIGNED NULL, c3 INT);
CREATE TABLE t3(c1 MEDIUMINT UNSIGNED NOT NULL PRIMARY KEY, c2 MEDIUMINT SIGNED NULL, c3 INT);
CREATE TABLE t4(c1 MEDIUMINT UNSIGNED, c2 INT);
CREATE TABLE t4(c1 MEDIUMINT UNSIGNED, c2 INT);
INSERT INTO t3 VALUES(200,126,1),(250,-127,2);
INSERT INTO t3 VALUES(200,126,1),(250,-127,2);
...
@@ -4077,7 +4077,7 @@ DELETE FROM a1, a2 USING t1 AS a1 INNER JOIN t2 AS a2 WHERE a2.c1=a1.c2;
...
@@ -4077,7 +4077,7 @@ DELETE FROM a1, a2 USING t1 AS a1 INNER JOIN t2 AS a2 WHERE a2.c1=a1.c2;
SELECT * FROM t1,t2 WHERE t2.c1=t1.c2;
SELECT * FROM t1,t2 WHERE t2.c1=t1.c2;
c1 c2 c3 c1 c2 c3
c1 c2 c3 c1 c2 c3
DELETE FROM t1,t2 using t1,t2 where t1.c1=(select c1 from t1);
DELETE FROM t1,t2 using t1,t2 where t1.c1=(select c1 from t1);
ERROR HY000:
You can't specify target table 't1' for update in FROM clause
ERROR HY000:
Table 't1' is specified twice, both as a target for 'DELETE' and as a separate source for data
CREATE TABLE t3(c1 BIGINT UNSIGNED NOT NULL PRIMARY KEY, c2 BIGINT SIGNED NULL, c3 INT);
CREATE TABLE t3(c1 BIGINT UNSIGNED NOT NULL PRIMARY KEY, c2 BIGINT SIGNED NULL, c3 INT);
CREATE TABLE t4(c1 BIGINT UNSIGNED, c2 INT);
CREATE TABLE t4(c1 BIGINT UNSIGNED, c2 INT);
INSERT INTO t3 VALUES(200,126,1),(250,-127,2);
INSERT INTO t3 VALUES(200,126,1),(250,-127,2);
...
...
storage/myisammrg/mysql-test/storage_engine/alter_table_online.rdiff
View file @
c9a8859d
--- suite/storage_engine/alter_table_online.result 2014-
09-25 12:15:42
.000000000 +0400
--- suite/storage_engine/alter_table_online.result 2014-
11-12 05:27:00
.000000000 +0400
+++ suite/storage_engine/alter_table_online.reject 2014-1
1-17 20:25:16
.000000000 +0400
+++ suite/storage_engine/alter_table_online.reject 2014-1
2-05 20:42:25
.000000000 +0400
@@ -
9,20 +9
,35 @@
@@ -
2,8 +2
,35 @@
CREATE T
EMPORARY TABLE t1 (a <INT_COLUMN>, b
<CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
CREATE T
ABLE t1 (a <INT_COLUMN>, b <INT_COLUMN>, c
<CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
INSERT INTO t1 (a,b
) VALUES (1,'a'),(2,'b'),(3
,'c');
INSERT INTO t1 (a,b
,c) VALUES (1,100,'a'),(2,200,'b'),(3,300
,'c');
ALTER ONLINE TABLE t1 MODIFY b <INT_COLUMN> DEFAULT 5;
ALTER ONLINE TABLE t1 MODIFY b <INT_COLUMN> DEFAULT 5;
-ERROR HY000: Can't execute the given 'ALTER' command as online
+ERROR 0A000: LOCK=NONE/SHARED is not supported for this operation. Try LOCK=EXCLUSIVE.
+# ERROR: Statement succeeded (expected results: ER_CANT_DO_ONLINE)
+# ERROR: Statement ended with errno 1845, errname ER_ALTER_OPERATION_NOT_SUPPORTED (expected to succeed)
+# ------------ UNEXPECTED RESULT ------------
+# The statement|command finished with ER_ALTER_OPERATION_NOT_SUPPORTED.
+# Functionality or the mix could be unsupported|malfunctioning, or the problem was caused by previous errors.
+# You can change the engine code, or create an rdiff, or disable the test by adding it to disabled.def.
+# Further in this test, the message might sometimes be suppressed; a part of the test might be skipped.
+# Also, this problem may cause a chain effect (more errors of different kinds in the test).
+# -------------------------------------------
ALTER ONLINE TABLE t1 CHANGE b new_name <INT_COLUMN>;
+ERROR 0A000: LOCK=NONE/SHARED is not supported for this operation. Try LOCK=EXCLUSIVE.
+# ERROR: Statement ended with errno 1845, errname ER_ALTER_OPERATION_NOT_SUPPORTED (expected to succeed)
+# ------------ UNEXPECTED RESULT ------------
+# The statement|command finished with ER_ALTER_OPERATION_NOT_SUPPORTED.
+# Functionality or the mix could be unsupported|malfunctioning, or the problem was caused by previous errors.
+# You can change the engine code, or create an rdiff, or disable the test by adding it to disabled.def.
+# Further in this test, the message might sometimes be suppressed; a part of the test might be skipped.
+# Also, this problem may cause a chain effect (more errors of different kinds in the test).
+# -------------------------------------------
ALTER ONLINE TABLE t1 COMMENT 'new comment';
+ERROR 0A000: LOCK=NONE/SHARED is not supported for this operation. Try LOCK=EXCLUSIVE.
+# ERROR: Statement ended with errno 1845, errname ER_ALTER_OPERATION_NOT_SUPPORTED (expected to succeed)
+# ------------ UNEXPECTED RESULT ------------
+# ------------ UNEXPECTED RESULT ------------
+# The statement|command
succeeded unexpectedly
.
+# The statement|command
finished with ER_ALTER_OPERATION_NOT_SUPPORTED
.
+# Functionality or the mix could be unsupported|malfunctioning, or the problem was caused by previous errors.
+# Functionality or the mix could be unsupported|malfunctioning, or the problem was caused by previous errors.
+# You can change the engine code, or create an rdiff, or disable the test by adding it to disabled.def.
+# You can change the engine code, or create an rdiff, or disable the test by adding it to disabled.def.
+# Further in this test, the message might sometimes be suppressed; a part of the test might be skipped.
+# Further in this test, the message might sometimes be suppressed; a part of the test might be skipped.
+# Also, this problem may cause a chain effect (more errors of different kinds in the test).
+# Also, this problem may cause a chain effect (more errors of different kinds in the test).
+# -------------------------------------------
+# -------------------------------------------
ALTER ONLINE TABLE t1 RENAME TO t2;
ERROR 0A000: LOCK=NONE/SHARED is not supported for this operation. Try LOCK=EXCLUSIVE.
DROP TABLE IF EXISTS t2;
@@ -12,10 +39,6 @@
CREATE TEMPORARY TABLE t1 (a <INT_COLUMN>, b <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
INSERT INTO t1 (a,b) VALUES (1,'a'),(2,'b'),(3,'c');
ALTER ONLINE TABLE t1 MODIFY b <INT_COLUMN> DEFAULT 5;
-Warnings:
-Warning 1366 Incorrect integer value: 'a' for column 'b' at row 1
-Warning 1366 Incorrect integer value: 'b' for column 'b' at row 2
-Warning 1366 Incorrect integer value: 'c' for column 'b' at row 3
ALTER ONLINE TABLE t1 CHANGE b new_name <INT_COLUMN>;
ALTER ONLINE TABLE t1 CHANGE b new_name <INT_COLUMN>;
-ERROR HY000: Can't execute the given 'ALTER' command as online
+# ERROR: Statement succeeded (expected results: ER_CANT_DO_ONLINE)
ALTER ONLINE TABLE t1 COMMENT 'new comment';
ALTER ONLINE TABLE t1 COMMENT 'new comment';
-ERROR HY000: Can't execute the given 'ALTER' command as online
+# ERROR: Statement succeeded (expected results: ER_CANT_DO_ONLINE)
ALTER ONLINE TABLE t1 RENAME TO t2;
ALTER ONLINE TABLE t1 RENAME TO t2;
-ERROR HY000: Can't execute the given 'ALTER' command as online
@@ -23,12 +46,30 @@
+# ERROR: Statement succeeded (expected results: ER_CANT_DO_ONLINE)
DROP TABLE t1;
+ERROR 42S02: Unknown table 't1'
CREATE TABLE t1 (a <INT_COLUMN>, b <INT_COLUMN>, c <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
CREATE TABLE t1 (a <INT_COLUMN>, b <INT_COLUMN>, c <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
INSERT INTO t1 (a,b,c) VALUES (1,100,'a'),(2,200,'b'),(3,300,'c');
INSERT INTO t1 (a,b,c) VALUES (1,100,'a'),(2,200,'b'),(3,300,'c');
ALTER ONLINE TABLE t1 DROP COLUMN b, ADD b <INT_COLUMN>;
ALTER ONLINE TABLE t1 DROP COLUMN b, ADD b <INT_COLUMN>;
-ERROR HY000: Can't execute the given 'ALTER' command as online
+ERROR 0A000: LOCK=NONE/SHARED is not supported for this operation. Try LOCK=EXCLUSIVE.
+# ERROR: Statement
succeeded (expected results: ER_CANT_DO_ONLINE
)
+# ERROR: Statement
ended with errno 1845, errname ER_ALTER_OPERATION_NOT_SUPPORTED (expected to succeed
)
+# ------------ UNEXPECTED RESULT ------------
+# ------------ UNEXPECTED RESULT ------------
+# The statement|command
succeeded unexpectedly
.
+# The statement|command
finished with ER_ALTER_OPERATION_NOT_SUPPORTED
.
+# Functionality or the mix could be unsupported|malfunctioning, or the problem was caused by previous errors.
+# Functionality or the mix could be unsupported|malfunctioning, or the problem was caused by previous errors.
+# You can change the engine code, or create an rdiff, or disable the test by adding it to disabled.def.
+# You can change the engine code, or create an rdiff, or disable the test by adding it to disabled.def.
+# Further in this test, the message might sometimes be suppressed; a part of the test might be skipped.
+# Further in this test, the message might sometimes be suppressed; a part of the test might be skipped.
+# Also, this problem may cause a chain effect (more errors of different kinds in the test).
+# Also, this problem may cause a chain effect (more errors of different kinds in the test).
+# -------------------------------------------
+# -------------------------------------------
ALTER ONLINE TABLE t1 MODIFY b BIGINT <CUSTOM_COL_OPTIONS>;
ALTER ONLINE TABLE t1 MODIFY b BIGINT <CUSTOM_COL_OPTIONS>;
-ERROR HY000: Can't execute the given 'ALTER' command as online
-ERROR 0A000: LOCK=NONE is not supported. Reason: Cannot change column type INPLACE. Try LOCK=SHARED.
+# ERROR: Statement succeeded (expected results: ER_CANT_DO_ONLINE)
+ERROR 0A000: LOCK=NONE/SHARED is not supported for this operation. Try LOCK=EXCLUSIVE.
+# ERROR: Statement ended with errno 1845, errname ER_ALTER_OPERATION_NOT_SUPPORTED (expected results: ER_ALTER_OPERATION_NOT_SUPPORTED_REASON)
ALTER ONLINE TABLE t1 ENGINE=MEMORY;
ALTER ONLINE TABLE t1 ENGINE=MEMORY;
ERROR HY000: Can't execute the given 'ALTER' command as online
ERROR 0A000: LOCK=NONE is not supported. Reason: COPY algorithm requires a lock. Try LOCK=SHARED.
DROP TABLE t1;
CREATE TABLE t1 (a <INT_COLUMN>, b <INT_COLUMN>, c <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
ALTER ONLINE TABLE t1 ADD INDEX (b);
-ALTER ONLINE TABLE t1 DROP INDEX b;
+ERROR 0A000: LOCK=NONE/SHARED is not supported for this operation. Try LOCK=EXCLUSIVE.
+# ERROR: Statement ended with errno 1845, errname ER_ALTER_OPERATION_NOT_SUPPORTED (expected to succeed)
+# ------------ UNEXPECTED RESULT ------------
+# The statement|command finished with ER_ALTER_OPERATION_NOT_SUPPORTED.
+# Adding an index or ALTER ONLINE or the mix could be unsupported|malfunctioning, or the problem was caused by previous errors.
+# You can change the engine code, or create an rdiff, or disable the test by adding it to disabled.def.
+# Further in this test, the message might sometimes be suppressed; a part of the test might be skipped.
+# Also, this problem may cause a chain effect (more errors of different kinds in the test).
+# -------------------------------------------
DROP TABLE t1;
DROP TABLE t1;
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