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
c8b32447
Commit
c8b32447
authored
Sep 14, 2016
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some quoting in error messages
add_identifier change comes from 5.7, everything else is a follow-up
parent
ea3262dc
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
141 additions
and
146 deletions
+141
-146
mysql-test/suite/encryption/r/innodb-bad-key-change3.result
mysql-test/suite/encryption/r/innodb-bad-key-change3.result
+1
-1
mysql-test/suite/encryption/r/innodb-discard-import.result
mysql-test/suite/encryption/r/innodb-discard-import.result
+4
-4
mysql-test/suite/innodb/r/innodb-index.result
mysql-test/suite/innodb/r/innodb-index.result
+2
-2
mysql-test/suite/innodb/r/innodb-wl5522-debug-zip.result
mysql-test/suite/innodb/r/innodb-wl5522-debug-zip.result
+18
-18
mysql-test/suite/innodb/r/innodb-wl5522-debug.result
mysql-test/suite/innodb/r/innodb-wl5522-debug.result
+43
-43
mysql-test/suite/innodb/r/innodb-wl5522-zip.result
mysql-test/suite/innodb/r/innodb-wl5522-zip.result
+12
-12
mysql-test/suite/innodb/r/innodb-wl5522.result
mysql-test/suite/innodb/r/innodb-wl5522.result
+23
-23
mysql-test/suite/innodb/r/innodb_corrupt_bit.result
mysql-test/suite/innodb/r/innodb_corrupt_bit.result
+1
-1
mysql-test/suite/innodb/r/innodb_stats_fetch_corrupted.result
...l-test/suite/innodb/r/innodb_stats_fetch_corrupted.result
+1
-1
mysql-test/suite/innodb/t/innodb_stats_fetch_corrupted.test
mysql-test/suite/innodb/t/innodb_stats_fetch_corrupted.test
+1
-1
sql/share/errmsg-utf8.txt
sql/share/errmsg-utf8.txt
+4
-4
sql/sql_table.cc
sql/sql_table.cc
+8
-5
storage/innobase/row/row0mysql.cc
storage/innobase/row/row0mysql.cc
+0
-4
storage/innobase/row/row0quiesce.cc
storage/innobase/row/row0quiesce.cc
+0
-4
unittest/sql/explain_filename-t.cc
unittest/sql/explain_filename-t.cc
+23
-23
No files found.
mysql-test/suite/encryption/r/innodb-bad-key-change3.result
View file @
c8b32447
...
...
@@ -42,7 +42,7 @@ t1 CREATE TABLE `t1` (
PRIMARY KEY (`pk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 `PAGE_COMPRESSED`=1 `ENCRYPTED`=YES `ENCRYPTION_KEY_ID`=4
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
# Tablespaces should be still encrypted
# t1 yes on expecting NOT FOUND
NOT FOUND /foobar/ in t1.ibd
...
...
mysql-test/suite/encryption/r/innodb-discard-import.result
View file @
c8b32447
...
...
@@ -86,7 +86,7 @@ t3.frm
t4.frm
ALTER TABLE t1 IMPORT TABLESPACE;
Warnings:
Warning 1814 Tablespace has been discarded for table
't1'
Warning 1814 Tablespace has been discarded for table
`t1`
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
...
...
@@ -98,7 +98,7 @@ COUNT(*)
2000
ALTER TABLE t2 IMPORT TABLESPACE;
Warnings:
Warning 1814 Tablespace has been discarded for table
't2'
Warning 1814 Tablespace has been discarded for table
`t2`
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
...
...
@@ -110,7 +110,7 @@ COUNT(*)
2000
ALTER TABLE t3 IMPORT TABLESPACE;
Warnings:
Warning 1814 Tablespace has been discarded for table
't3'
Warning 1814 Tablespace has been discarded for table
`t3`
SHOW CREATE TABLE t3;
Table Create Table
t3 CREATE TABLE `t3` (
...
...
@@ -122,7 +122,7 @@ COUNT(*)
2000
ALTER TABLE t4 IMPORT TABLESPACE;
Warnings:
Warning 1814 Tablespace has been discarded for table
't4'
Warning 1814 Tablespace has been discarded for table
`t4`
SHOW CREATE TABLE t4;
Table Create Table
t4 CREATE TABLE `t4` (
...
...
mysql-test/suite/innodb/r/innodb-index.result
View file @
c8b32447
...
...
@@ -469,9 +469,9 @@ ERROR HY000: Cannot drop column 'b': needed in a foreign key constraint 't2_ibfk
alter table t2 DROP COLUMN b;
ERROR HY000: Cannot drop column 'b': needed in a foreign key constraint 'test/t2_ibfk_1'
alter table t1 DROP COLUMN b, ALGORITHM=COPY;
ERROR HY000: Cannot drop column 'b': needed in a foreign key constraint 't2_ibfk_1' of table
'test.t2'
ERROR HY000: Cannot drop column 'b': needed in a foreign key constraint 't2_ibfk_1' of table
`test`.`t2`
alter table t1 DROP COLUMN b;
ERROR HY000: Cannot drop column 'b': needed in a foreign key constraint 'test/t2_ibfk_1' of table
'"test"."t2"'
ERROR HY000: Cannot drop column 'b': needed in a foreign key constraint 'test/t2_ibfk_1' of table
`test`.`t2`
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
create unique index dc on t2 (d,c);
affected rows: 0
...
...
mysql-test/suite/innodb/r/innodb-wl5522-debug-zip.result
View file @
c8b32447
...
...
@@ -34,17 +34,17 @@ ROW_FORMAT=COMPRESSED;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_before_commit_crash";
SELECT * FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: Lost connection to MySQL server during query
SET SESSION debug_dbug="-d,ib_import_before_commit_crash";
SET SESSION debug_dbug="+d,ib_import_before_checkpoint_crash";
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: Lost connection to MySQL server during query
unlink: t1.ibd
...
...
@@ -92,7 +92,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb
ROW_FORMAT=COMPRESSED;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_internal_error";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -105,11 +105,11 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb
ROW_FORMAT=COMPRESSED;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_reset_space_and_lsn_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: Internal error: Cannot reset LSNs in table
"test_wl5522"."t1"
: Too many concurrent transactions
ERROR HY000: Internal error: Cannot reset LSNs in table
`test_wl5522`.`t1`
: Too many concurrent transactions
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="-d,ib_import_reset_space_and_lsn_failure";
SET SESSION debug_dbug="+d,ib_import_open_tablespace_failure";
...
...
@@ -479,11 +479,11 @@ CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb
ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_trigger_corruption_1";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: Internal error: Cannot reset LSNs in table
"test_wl5522"."t1"
: Data structure corruption
ERROR HY000: Internal error: Cannot reset LSNs in table
`test_wl5522`.`t1`
: Data structure corruption
SET SESSION debug_dbug="-d,ib_import_trigger_corruption_1";
DROP TABLE test_wl5522.t1;
unlink: t1.ibd
...
...
@@ -492,11 +492,11 @@ CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb
ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,buf_page_is_corrupt_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: Internal error: Cannot reset LSNs in table
"test_wl5522"."t1"
: Data structure corruption
ERROR HY000: Internal error: Cannot reset LSNs in table
`test_wl5522`.`t1`
: Data structure corruption
SET SESSION debug_dbug="-d,buf_page_is_corrupt_failure";
DROP TABLE test_wl5522.t1;
unlink: t1.ibd
...
...
@@ -505,7 +505,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb
ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_trigger_corruption_2";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -518,7 +518,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb
ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_trigger_corruption_3";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -531,11 +531,11 @@ CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb
ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
SET SESSION debug_dbug="+d,ib_import_create_index_failure_1";
ALTER TABLE test_wl5522.t1 ADD INDEX idx(c1);
Warnings:
Warning 1814 Tablespace has been discarded for table
't1'
Warning 1814 Tablespace has been discarded for table
`t1`
SET SESSION debug_dbug="-d,ib_import_create_index_failure_1";
DROP TABLE test_wl5522.t1;
unlink: t1.ibd
...
...
@@ -544,7 +544,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb
ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,fil_space_create_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -557,7 +557,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb
ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,dict_tf_to_fsp_flags_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -570,11 +570,11 @@ CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb
ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,fsp_flags_is_valid_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: Internal error: Cannot reset LSNs in table
"test_wl5522"."t1"
: Unsupported
ERROR HY000: Internal error: Cannot reset LSNs in table
`test_wl5522`.`t1`
: Unsupported
SET SESSION debug_dbug="-d,fsp_flags_is_valid_failure";
DROP TABLE test_wl5522.t1;
unlink: t1.ibd
...
...
mysql-test/suite/innodb/r/innodb-wl5522-debug.result
View file @
c8b32447
...
...
@@ -47,17 +47,17 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_before_commit_crash";
SELECT * FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: Lost connection to MySQL server during query
SET SESSION debug_dbug="-d,ib_import_before_commit_crash";
SET SESSION debug_dbug="+d,ib_import_before_checkpoint_crash";
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: Lost connection to MySQL server during query
unlink: t1.ibd
...
...
@@ -223,7 +223,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
SET SESSION debug_dbug="+d,ib_import_io_read_error_1";
restore: t1 .cfg file
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -234,7 +234,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
SET SESSION debug_dbug="+d,ib_import_io_read_error_2";
restore: t1 .cfg file
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -245,7 +245,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
SET SESSION debug_dbug="+d,ib_import_io_read_error_3";
restore: t1 .cfg file
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -256,7 +256,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
SET SESSION debug_dbug="+d,ib_import_io_read_error_4";
restore: t1 .cfg file
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -267,7 +267,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
SET SESSION debug_dbug="+d,ib_import_io_read_error_5";
restore: t1 .cfg file
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -278,7 +278,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
SET SESSION debug_dbug="+d,ib_import_io_read_error_6";
restore: t1 .cfg file
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -289,7 +289,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
SET SESSION debug_dbug="+d,ib_import_io_read_error_7";
restore: t1 .cfg file
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -300,7 +300,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
SET SESSION debug_dbug="+d,ib_import_io_read_error_8";
restore: t1 .cfg file
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -311,7 +311,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
SET SESSION debug_dbug="+d,ib_import_io_read_error_9";
restore: t1 .cfg file
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -322,7 +322,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
SET SESSION debug_dbug="+d,ib_import_string_read_error";
restore: t1 .cfg file
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -333,7 +333,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_OOM_1";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -346,7 +346,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_OOM_2";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -359,7 +359,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_OOM_4";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -372,7 +372,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_OOM_5";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -385,7 +385,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_OOM_6";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -398,7 +398,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_OOM_7";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -411,7 +411,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_OOM_8";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -424,7 +424,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_OOM_9";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -437,7 +437,7 @@ CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
INSERT INTO test_wl5522.t1 VALUES (1);
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_OOM_10";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -449,7 +449,7 @@ unlink: t1.cfg
CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_internal_error";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -461,11 +461,11 @@ DROP TABLE test_wl5522.t1;
CREATE TABLE test_wl5522.t1 (c1 INT) ENGINE = Innodb;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_reset_space_and_lsn_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: Internal error: Cannot reset LSNs in table
"test_wl5522"."t1"
: Too many concurrent transactions
ERROR HY000: Internal error: Cannot reset LSNs in table
`test_wl5522`.`t1`
: Too many concurrent transactions
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="-d,ib_import_reset_space_and_lsn_failure";
SET SESSION debug_dbug="+d,ib_import_open_tablespace_failure";
...
...
@@ -475,27 +475,27 @@ SET SESSION debug_dbug="-d,ib_import_open_tablespace_failure";
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_check_bitmap_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: In
correct key file for table 't1'
; try to repair it
ERROR HY000: In
dex for table 't1' is corrupt
; try to repair it
SET SESSION debug_dbug="-d,ib_import_check_bitmap_failure";
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_cluster_root_adjust_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: In
correct key file for table 't1'
; try to repair it
ERROR HY000: In
dex for table 't1' is corrupt
; try to repair it
SET SESSION debug_dbug="-d,ib_import_cluster_root_adjust_failure";
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_cluster_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: In
correct key file for table 't1'
; try to repair it
ERROR HY000: In
dex for table 't1' is corrupt
; try to repair it
SET SESSION debug_dbug="-d,ib_import_cluster_failure";
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_sec_root_adjust_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: In
correct key file for table 't1'
; try to repair it
ERROR HY000: In
dex for table 't1' is corrupt
; try to repair it
SET SESSION debug_dbug="-d,ib_import_sec_root_adjust_failure";
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_set_max_rowid_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: In
correct key file for table 't1'
; try to repair it
ERROR HY000: In
dex for table 't1' is corrupt
; try to repair it
SET SESSION debug_dbug="-d,ib_import_set_max_rowid_failure";
unlink: t1.ibd
unlink: t1.cfg
...
...
@@ -831,11 +831,11 @@ DROP TABLE test_wl5522.t1;
CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_trigger_corruption_1";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: Internal error: Cannot reset LSNs in table
"test_wl5522"."t1"
: Data structure corruption
ERROR HY000: Internal error: Cannot reset LSNs in table
`test_wl5522`.`t1`
: Data structure corruption
SET SESSION debug_dbug="-d,ib_import_trigger_corruption_1";
DROP TABLE test_wl5522.t1;
unlink: t1.ibd
...
...
@@ -843,11 +843,11 @@ unlink: t1.cfg
CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,buf_page_is_corrupt_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: Internal error: Cannot reset LSNs in table
"test_wl5522"."t1"
: Data structure corruption
ERROR HY000: Internal error: Cannot reset LSNs in table
`test_wl5522`.`t1`
: Data structure corruption
SET SESSION debug_dbug="-d,buf_page_is_corrupt_failure";
DROP TABLE test_wl5522.t1;
unlink: t1.ibd
...
...
@@ -855,7 +855,7 @@ unlink: t1.cfg
CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_trigger_corruption_2";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -867,11 +867,11 @@ unlink: t1.cfg
CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,ib_import_trigger_corruption_3";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: In
correct key file for table 't1'
; try to repair it
ERROR HY000: In
dex for table 't1' is corrupt
; try to repair it
SET SESSION debug_dbug="-d,ib_import_trigger_corruption_3";
DROP TABLE test_wl5522.t1;
unlink: t1.ibd
...
...
@@ -879,11 +879,11 @@ unlink: t1.cfg
CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
SET SESSION debug_dbug="+d,ib_import_create_index_failure_1";
ALTER TABLE test_wl5522.t1 ADD INDEX idx(c1);
Warnings:
Warning 1814 Tablespace has been discarded for table
't1'
Warning 1814 Tablespace has been discarded for table
`t1`
SET SESSION debug_dbug="-d,ib_import_create_index_failure_1";
DROP TABLE test_wl5522.t1;
unlink: t1.ibd
...
...
@@ -891,7 +891,7 @@ unlink: t1.cfg
CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,fil_space_create_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -903,7 +903,7 @@ unlink: t1.cfg
CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,dict_tf_to_fsp_flags_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
...
...
@@ -915,11 +915,11 @@ unlink: t1.cfg
CREATE TABLE test_wl5522.t1 (c1 INT, c2 VARCHAR(1024), c3 BLOB) ENGINE = Innodb;
ALTER TABLE test_wl5522.t1 DISCARD TABLESPACE;
SELECT COUNT(*) FROM test_wl5522.t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
SET SESSION debug_dbug="+d,fsp_flags_is_valid_failure";
ALTER TABLE test_wl5522.t1 IMPORT TABLESPACE;
ERROR HY000: Internal error: Cannot reset LSNs in table
"test_wl5522"."t1"
: Unsupported
ERROR HY000: Internal error: Cannot reset LSNs in table
`test_wl5522`.`t1`
: Unsupported
SET SESSION debug_dbug="-d,fsp_flags_is_valid_failure";
DROP TABLE test_wl5522.t1;
unlink: t1.ibd
...
...
mysql-test/suite/innodb/r/innodb-wl5522-zip.result
View file @
c8b32447
...
...
@@ -156,7 +156,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT) ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
t1.cfg
t1.frm
...
...
@@ -198,7 +198,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT) ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
t1.cfg
t1.frm
...
...
@@ -238,7 +238,7 @@ c2 INT, INDEX(c2)) ENGINE=InnoDB
ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
CHECK TABLE t1;
...
...
@@ -272,16 +272,16 @@ c2 INT, INDEX x(c2)) ENGINE=InnoDB
ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=16;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch (Index x not found in tablespace meta-data file.)
ALTER TABLE t1 DROP INDEX x;
Warnings:
Warning 1814 Tablespace has been discarded for table
't1'
Warning 1814 Tablespace has been discarded for table
`t1`
ALTER TABLE t1 ADD INDEX idx(c2);
Warnings:
Warning 1814 Tablespace has been discarded for table
't1'
Warning 1814 Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
CHECK TABLE t1;
...
...
@@ -328,7 +328,7 @@ t1 CREATE TABLE `t1` (
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=latin1
FLUSH TABLES t1 FOR EXPORT;
Warnings:
Warning 1809 Table
'"test"."t1"'
in system tablespace
Warning 1809 Table
`test`.`t1`
in system tablespace
UNLOCK TABLES;
DROP TABLE t1;
SET GLOBAL innodb_file_per_table = 1;
...
...
@@ -394,7 +394,7 @@ c2 INT) ENGINE=InnoDB
ROW_FORMAT=COMPRESSED;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch (Number of indexes don't match, table has 1 indexes but the tablespace meta-data file has 2 indexes)
...
...
@@ -408,7 +408,7 @@ c3 INT, INDEX idx(c2)) ENGINE=InnoDB
ROW_FORMAT=COMPRESSED;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch (Number of columns don't match, table has 6 columns but the tablespace meta-data file has 5 columns)
...
...
@@ -421,7 +421,7 @@ c2 BIGINT, INDEX idx(c2)) ENGINE=InnoDB
ROW_FORMAT=COMPRESSED;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch (Column c2 precise type mismatch.)
...
...
@@ -434,7 +434,7 @@ c2 INT, INDEX idx(c2)) ENGINE=InnoDB
ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch
...
...
@@ -447,7 +447,7 @@ c2 INT, INDEX idx(c2)) ENGINE=InnoDB
ROW_FORMAT=COMPRESSED;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
CHECK TABLE t1;
...
...
mysql-test/suite/innodb/r/innodb-wl5522.result
View file @
c8b32447
...
...
@@ -148,7 +148,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT) ENGINE=InnoDB;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
t1.cfg
t1.frm
...
...
@@ -190,7 +190,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT) ENGINE=InnoDB;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
t1.cfg
t1.frm
...
...
@@ -228,7 +228,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX(c2)) ENGINE=InnoDB;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
CHECK TABLE t1;
...
...
@@ -260,16 +260,16 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX x(c2)) ENGINE=InnoDB;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch (Index x not found in tablespace meta-data file.)
ALTER TABLE t1 DROP INDEX x;
Warnings:
Warning 1814 Tablespace has been discarded for table
't1'
Warning 1814 Tablespace has been discarded for table
`t1`
ALTER TABLE t1 ADD INDEX idx(c2);
Warnings:
Warning 1814 Tablespace has been discarded for table
't1'
Warning 1814 Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
CHECK TABLE t1;
...
...
@@ -316,7 +316,7 @@ t1 CREATE TABLE `t1` (
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=latin1
FLUSH TABLES t1 FOR EXPORT;
Warnings:
Warning 1809 Table
'"test"."t1"'
in system tablespace
Warning 1809 Table
`test`.`t1`
in system tablespace
UNLOCK TABLES;
DROP TABLE t1;
SET GLOBAL innodb_file_per_table = 1;
...
...
@@ -380,7 +380,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT) ENGINE=InnoDB;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch (Number of indexes don't match, table has 1 indexes but the tablespace meta-data file has 2 indexes)
...
...
@@ -393,7 +393,7 @@ c2 INT,
c3 INT, INDEX idx(c2)) ENGINE=InnoDB;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch (Number of columns don't match, table has 6 columns but the tablespace meta-data file has 5 columns)
...
...
@@ -405,7 +405,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 BIGINT, INDEX idx(c2)) ENGINE=InnoDB;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch (Column c2 precise type mismatch.)
...
...
@@ -417,7 +417,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX idx(c2)) ENGINE=InnoDB;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
CHECK TABLE t1;
...
...
@@ -527,7 +527,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX idx(c2)) ENGINE=InnoDB ROW_FORMAT=REDUNDANT;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
CHECK TABLE t1;
...
...
@@ -582,7 +582,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX idx(c2)) ENGINE=InnoDB ROW_FORMAT=COMPACT;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch (Table flags don't match, server table has 0x5 and the meta-data file has 0x0)
...
...
@@ -594,7 +594,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX idx(c2)) ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch (Table flags don't match, server table has 0x5 and the meta-data file has 0x0)
...
...
@@ -606,7 +606,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX idx(c2)) ENGINE=InnoDB ROW_FORMAT=REDUNDANT;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
unlink: t1.cfg
...
...
@@ -713,7 +713,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX idx(c2)) ENGINE=InnoDB ROW_FORMAT=COMPACT;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
CHECK TABLE t1;
...
...
@@ -768,7 +768,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX idx(c2)) ENGINE=InnoDB ROW_FORMAT=REDUNDANT;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch (Table flags don't match, server table has 0x5 and the meta-data file has 0x1)
...
...
@@ -780,7 +780,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX idx(c2)) ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch (Table flags don't match, server table has 0x5 and the meta-data file has 0x1)
...
...
@@ -792,7 +792,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX idx(c2)) ENGINE=InnoDB ROW_FORMAT=COMPACT;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
CHECK TABLE t1;
...
...
@@ -902,7 +902,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX idx(c2)) ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
CHECK TABLE t1;
...
...
@@ -957,7 +957,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX idx(c2)) ENGINE=InnoDB ROW_FORMAT=COMPACT;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch (Table flags don't match, server table has 0x5 and the meta-data file has 0x21)
...
...
@@ -969,7 +969,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX idx(c2)) ENGINE=InnoDB ROW_FORMAT=REDUNDANT;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
ERROR HY000: Schema mismatch (Table flags don't match, server table has 0x5 and the meta-data file has 0x21)
...
...
@@ -981,7 +981,7 @@ c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
c2 INT, INDEX idx(c2)) ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
ALTER TABLE t1 DISCARD TABLESPACE;
SELECT * FROM t1;
ERROR HY000: Tablespace has been discarded for table
't1'
ERROR HY000: Tablespace has been discarded for table
`t1`
restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
CHECK TABLE t1;
...
...
mysql-test/suite/innodb/r/innodb_corrupt_bit.result
View file @
c8b32447
...
...
@@ -38,7 +38,7 @@ select z from corrupt_bit_test_ā;
ERROR HY000: Index corrupt_bit_test_ā is corrupted
show warnings;
Level Code Message
Warning 180 InnoDB: Index idxē for table
"test"."corrupt_bit_test_ā"
is marked as corrupted
Warning 180 InnoDB: Index idxē for table
`test`.`corrupt_bit_test_ā`
is marked as corrupted
Error 1712 Index corrupt_bit_test_ā is corrupted
insert into corrupt_bit_test_ā values (10001, "a", 20001, 20001);
select * from corrupt_bit_test_ā use index(primary) where a = 10001;
...
...
mysql-test/suite/innodb/r/innodb_stats_fetch_corrupted.result
View file @
c8b32447
call mtr.add_suppression("InnoDB: Table
\"mysql\".\"innodb_index_stats\"
not found");
call mtr.add_suppression("InnoDB: Table
`mysql`.`innodb_index_stats`
not found");
call mtr.add_suppression("InnoDB: Fetch of persistent statistics requested for table.*");
CREATE TABLE test_ps_fetch_corrupted
(a INT, PRIMARY KEY (a))
...
...
mysql-test/suite/innodb/t/innodb_stats_fetch_corrupted.test
View file @
c8b32447
...
...
@@ -8,7 +8,7 @@
# test with 16k page size.
--
source
include
/
have_innodb_16k
.
inc
call
mtr
.
add_suppression
(
"InnoDB: Table
\"
mysql
\"
.
\"
innodb_index_stats
\"
not found"
);
call
mtr
.
add_suppression
(
"InnoDB: Table
`mysql`.`innodb_index_stats`
not found"
);
call
mtr
.
add_suppression
(
"InnoDB: Fetch of persistent statistics requested for table.*"
);
--
vertical_results
...
...
sql/share/errmsg-utf8.txt
View file @
c8b32447
...
...
@@ -6710,7 +6710,7 @@ ER_TABLE_SCHEMA_MISMATCH
eng "Schema mismatch (%s)"
ER_TABLE_IN_SYSTEM_TABLESPACE
eng "Table
'%-.192s'
in system tablespace"
eng "Table
%-.192s
in system tablespace"
ER_IO_READ_ERROR
eng "IO Read error: (%lu, %s) %s"
...
...
@@ -6725,7 +6725,7 @@ ER_TABLESPACE_EXISTS
eng "Tablespace for table '%-.192s' exists. Please DISCARD the tablespace before IMPORT."
ER_TABLESPACE_DISCARDED
eng "Tablespace has been discarded for table
'%-.192s'
"
eng "Tablespace has been discarded for table
%`s
"
ER_INTERNAL_ERROR
eng "Internal error: %-.192s"
...
...
@@ -6773,8 +6773,8 @@ ER_FK_COLUMN_CANNOT_DROP
ger "Kann Spalte '%-.192s' nicht löschen: wird für eine Fremdschlüsselbeschränkung '%-.192s' benötigt"
ER_FK_COLUMN_CANNOT_DROP_CHILD
eng "Cannot drop column '%-.192s': needed in a foreign key constraint '%-.192s' of table
'%-.192s'
"
ger "Kann Spalte '%-.192s' nicht löschen: wird für eine Fremdschlüsselbeschränkung '%-.192s' der Tabelle
'%-.192s'
benötigt"
eng "Cannot drop column '%-.192s': needed in a foreign key constraint '%-.192s' of table
%-.192s
"
ger "Kann Spalte '%-.192s' nicht löschen: wird für eine Fremdschlüsselbeschränkung '%-.192s' der Tabelle
%-.192s
benötigt"
ER_FK_COLUMN_NOT_NULL
eng "Column '%-.192s' cannot be NOT NULL: needed in a foreign key constraint '%-.192s' SET NULL"
...
...
sql/sql_table.cc
View file @
c8b32447
...
...
@@ -122,7 +122,7 @@ static char* add_identifier(THD* thd, char *to_p, const char * end_p,
conv_name_end
=
conv_string
+
res
;
}
quote
=
thd
?
get_quote_char_for_identifier
(
thd
,
conv_name
,
res
-
1
)
:
'
"
'
;
quote
=
thd
?
get_quote_char_for_identifier
(
thd
,
conv_name
,
res
-
1
)
:
'
`
'
;
if
(
quote
!=
EOF
&&
(
end_p
-
to_p
>
2
))
{
...
...
@@ -8178,11 +8178,14 @@ static bool fk_prepare_copy_alter_table(THD *thd, TABLE *table,
DBUG_RETURN
(
true
);
case
FK_COLUMN_DROPPED
:
{
char
buff
[
NAME_LEN
*
2
+
2
];
strxnmov
(
buff
,
sizeof
(
buff
)
-
1
,
f_key
->
foreign_db
->
str
,
"."
,
f_key
->
foreign_table
->
str
,
NullS
);
StringBuffer
<
NAME_LEN
*
2
+
2
>
buff
(
system_charset_info
);
LEX_STRING
*
db
=
f_key
->
foreign_db
,
*
tbl
=
f_key
->
foreign_table
;
append_identifier
(
thd
,
&
buff
,
db
->
str
,
db
->
length
);
buff
.
append
(
'.'
);
append_identifier
(
thd
,
&
buff
,
tbl
->
str
,
tbl
->
length
);
my_error
(
ER_FK_COLUMN_CANNOT_DROP_CHILD
,
MYF
(
0
),
bad_column_name
,
f_key
->
foreign_id
->
str
,
buff
);
f_key
->
foreign_id
->
str
,
buff
.
c_ptr
()
);
DBUG_RETURN
(
true
);
}
default:
...
...
storage/innobase/row/row0mysql.cc
View file @
c8b32447
...
...
@@ -4042,12 +4042,8 @@ row_discard_tablespace_for_mysql(
err
=
DB_DECRYPTION_FAILED
;
}
else
if
(
dict_table_is_temporary
(
table
))
{
/* JAN: TODO: MySQL 5.7
ib_senderrf
(
trx
->
mysql_thd
,
IB_LOG_LEVEL_ERROR
,
ER_CANNOT_DISCARD_TEMPORARY_TABLE
);
*/
ib_senderrf
(
trx
->
mysql_thd
,
IB_LOG_LEVEL_ERROR
,
ER_TABLESPACE_DISCARDED
);
err
=
DB_ERROR
;
...
...
storage/innobase/row/row0quiesce.cc
View file @
c8b32447
...
...
@@ -871,12 +871,8 @@ row_quiesce_set_state(
}
else
if
(
dict_table_is_temporary
(
table
))
{
ib_senderrf
(
trx
->
mysql_thd
,
IB_LOG_LEVEL_WARN
,
ER_TABLESPACE_DISCARDED
,
table
->
name
);
/* JAN: TODO: MySQL 5.7
ib_senderrf
(
trx
->
mysql_thd
,
IB_LOG_LEVEL_WARN
,
ER_CANNOT_DISCARD_TEMPORARY_TABLE
);
*/
return
(
DB_UNSUPPORTED
);
}
else
if
(
table
->
space
==
srv_sys_space
.
space_id
())
{
...
...
unittest/sql/explain_filename-t.cc
View file @
c8b32447
...
...
@@ -59,7 +59,7 @@ void test_1(const char *in, const char *exp, enum_explain_filename_mode mode)
/* length returned by explain_filename is fine */
bool
length
=
(
len1
==
strlen
(
exp
));
ok
(
(
pass
&&
length
)
,
"(%d): %s => %s
\n
"
,
mode
,
in
,
out
);
ok
(
(
pass
&&
length
)
,
"(%d): %s => %s"
,
mode
,
in
,
out
);
}
int
main
(
int
argc
__attribute__
((
unused
)),
char
*
argv
[])
...
...
@@ -69,87 +69,87 @@ int main(int argc __attribute__((unused)),char *argv[])
plan
(
22
);
test_1
(
"test/t1.ibd"
,
"Database
\"
test
\"
, Table
\"
t1.ibd
\"
"
,
"Database
`test`, Table `t1.ibd`
"
,
EXPLAIN_ALL_VERBOSE
);
test_1
(
"test/t1.ibd"
,
"
\"
test
\"
.
\"
t1.ibd
\"
"
,
"
`test`.`t1.ibd`
"
,
EXPLAIN_PARTITIONS_VERBOSE
);
test_1
(
"test/t1.ibd"
,
"
\"
test
\"
.
\"
t1.ibd
\"
"
,
"
`test`.`t1.ibd`
"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
test_1
(
"test/t1#TMP#"
,
"Database
\"
test
\"
, Table
\"
t1#TMP#
\"
"
,
"Database
`test`, Table `t1#TMP#`
"
,
EXPLAIN_ALL_VERBOSE
);
test_1
(
"test/#sql-2882.ibd"
,
"Database
\"
test
\"
, Table
\"
#sql-2882.ibd
\"
"
,
"Database
`test`, Table `#sql-2882.ibd`
"
,
EXPLAIN_ALL_VERBOSE
);
test_1
(
"test/t1#REN#"
,
"Database
\"
test
\"
, Table
\"
t1#REN#
\"
"
,
"Database
`test`, Table `t1#REN#`
"
,
EXPLAIN_ALL_VERBOSE
);
test_1
(
"test/t1@0023REN@0023"
,
"Database
\"
test
\"
, Table
\"
t1#REN#
\"
"
,
"Database
`test`, Table `t1#REN#`
"
,
EXPLAIN_ALL_VERBOSE
);
test_1
(
"test/t1#p#p1"
,
"Database
\"
test
\"
, Table
\"
t1
\"
, Partition
\"
p1
\"
"
,
"Database
`test`, Table `t1`, Partition `p1`
"
,
EXPLAIN_ALL_VERBOSE
);
test_1
(
"test/t1#P#p1"
,
"
\"
test
\"
.
\"
t1
\"
/* Partition
\"
p1
\"
*/"
,
"
`test`.`t1` /* Partition `p1`
*/"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
test_1
(
"test/t1#P#p1@00231"
,
"
\"
test
\"
.
\"
t1
\"
/* Partition
\"
p1#1
\"
*/"
,
"
`test`.`t1` /* Partition `p1#1`
*/"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
test_1
(
"test/t1#P#p1#SP#sp1"
,
"
\"
test
\"
.
\"
t1
\"
/* Partition
\"
p1
\"
, Subpartition
\"
sp1
\"
*/"
,
"
`test`.`t1` /* Partition `p1`, Subpartition `sp1`
*/"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
test_1
(
"test/t1#p1#SP#sp1"
,
"
\"
test
\"
.
\"
t1#p1#SP#sp1
\"
"
,
"
`test`.`t1#p1#SP#sp1`
"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
test_1
(
"test/t1#p#p1@00232#SP#sp1@00231#REN#"
,
"
\"
test
\"
.
\"
t1
\"
/* Renamed Partition
\"
p1#2
\"
, Subpartition
\"
sp1#1
\"
*/"
,
"
`test`.`t1` /* Renamed Partition `p1#2`, Subpartition `sp1#1`
*/"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
test_1
(
"test/t1#p#p1#SP#sp1#TMP#"
,
"
\"
test
\"
.
\"
t1
\"
/* Temporary Partition
\"
p1
\"
, Subpartition
\"
sp1
\"
*/"
,
"
`test`.`t1` /* Temporary Partition `p1`, Subpartition `sp1`
*/"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
test_1
(
"test/#sql-t1#P#p1#SP#sp1#TMP#"
,
"
\"
test
\"
.
\"
#sql-t1#P#p1#SP#sp1#TMP#
\"
/* Temporary Partition
\"
p1
\"
, Subpartition
\"
sp1
\"
*/"
,
"
`test`.`#sql-t1#P#p1#SP#sp1#TMP#` /* Temporary Partition `p1`, Subpartition `sp1`
*/"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
test_1
(
"test/#sql-t1#P#p1#SP#sp1"
,
"
\"
test
\"
.
\"
#sql-t1#P#p1#SP#sp1
\"
/* Partition
\"
p1
\"
, Subpartition
\"
sp1
\"
*/"
,
"
`test`.`#sql-t1#P#p1#SP#sp1` /* Partition `p1`, Subpartition `sp1`
*/"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
test_1
(
"test/#sqlx-33"
,
"
\"
test
\"
.
\"
#sqlx-33
\"
"
,
"
`test`.`#sqlx-33`
"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
test_1
(
"test/#mysql50#t"
,
"
\"
test
\"
.
\"
#mysql50#t
\"
"
,
"
`test`.`#mysql50#t`
"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
test_1
(
"#mysql50#t"
,
"
\"
#mysql50#t
\"
"
,
"
`#mysql50#t`
"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
test_1
(
"@0023t"
,
"
\"
#t
\"
"
,
"
`#t`
"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
test_1
(
"test/t@0023"
,
"
\"
test
\"
.
\"
t#
\"
"
,
"
`test`.`t#`
"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
/*
...
...
@@ -157,7 +157,7 @@ int main(int argc __attribute__((unused)),char *argv[])
then it will not be converted to system_charset_info!
*/
test_1
(
"test/t@0023#"
,
"
\"
test
\"
.
\"
t@0023#
\"
"
,
"
`test`.`t@0023#`
"
,
EXPLAIN_PARTITIONS_AS_COMMENT
);
my_end
(
0
);
...
...
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