mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 15:15:34 +02:00
Bug#32430: 'show innodb status' causes errors
Invalid (old?) table or database name in logs Problem was still not completely fixed, due to qouting. This is the server side only fix (in explain_filename), the change from filename_to_tablename to use explain_filename in the InnoDB code must be done before the bug is fixed. mysql-test/include/have_not_innodb_plugin.inc: Bug#32430: 'show innodb status' causes errors Invalid (old?) table or database name in logs Added include file to allow test for only the 'old' built-in innodb engine mysql-test/r/not_true.require: Bug#32430: 'show innodb status' causes errors Invalid (old?) table or database name in logs Added require to match 'not' TRUE mysql-test/r/partition_innodb_builtin.result: Bug#32430: 'show innodb status' causes errors Invalid (old?) table or database name in logs New result file for partitioning specific to the 'old' built-in innodb engine mysql-test/r/partition_innodb_plugin.result: Bug#32430: 'show innodb status' causes errors Invalid (old?) table or database name in logs New result file for partitioning specific to the new plugin innodb engine mysql-test/t/disabled.def: Bug#32430: 'show innodb status' causes errors Invalid (old?) table or database name in logs Disabling the new test until the fix is included in the InnoDB source too. mysql-test/t/partition_innodb_builtin.test: Bug#32430: 'show innodb status' causes errors Invalid (old?) table or database name in logs New test file for partitioning specific to the 'old' built-in innodb engine mysql-test/t/partition_innodb_plugin.test: Bug#32430: 'show innodb status' causes errors Invalid (old?) table or database name in logs New test file for partitioning specific to the new plugin innodb engine sql/mysql_priv.h: Bug#32430: 'show innodb status' causes errors Invalid (old?) table or database name in logs Added thd as a parameter to explain_filename to be able to use the correct quote character sql/sql_table.cc: Bug#32430: 'show innodb status' causes errors Invalid (old?) table or database name in logs Changed explain_filename, so that it does qouting correctly according to the sessions qoute char.
This commit is contained in:
parent
63a81c0994
commit
43e6919d56
9 changed files with 271 additions and 32 deletions
|
|
@ -2277,10 +2277,9 @@ enum enum_explain_filename_mode
|
|||
{
|
||||
EXPLAIN_ALL_VERBOSE= 0,
|
||||
EXPLAIN_PARTITIONS_VERBOSE,
|
||||
EXPLAIN_PARTITIONS_AS_COMMENT,
|
||||
EXPLAIN_PARTITIONS_AS_COMMENT_NO_QUOTING
|
||||
EXPLAIN_PARTITIONS_AS_COMMENT
|
||||
};
|
||||
uint explain_filename(const char *from, char *to, uint to_length,
|
||||
uint explain_filename(THD* thd, const char *from, char *to, uint to_length,
|
||||
enum_explain_filename_mode explain_mode);
|
||||
uint filename_to_tablename(const char *from, char *to, uint to_length);
|
||||
uint tablename_to_filename(const char *from, char *to, uint to_length);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue