Commit d5aa9077 authored by Kent Boortz's avatar Kent Boortz

Merge

parents 9d5c761d 7e015f5e
...@@ -139,6 +139,9 @@ INSERT INTO bug_53756 VALUES (666,666); ...@@ -139,6 +139,9 @@ INSERT INTO bug_53756 VALUES (666,666);
# Request a crash on next execution of commit. # Request a crash on next execution of commit.
SET SESSION debug="+d,crash_commit_before"; SET SESSION debug="+d,crash_commit_before";
# #
# Write file to make mysql-test-run.pl start up the server again
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
#
# Execute the statement that causes the crash. # Execute the statement that causes the crash.
--error 2013 --error 2013
COMMIT; COMMIT;
...@@ -154,9 +157,6 @@ COMMIT; ...@@ -154,9 +157,6 @@ COMMIT;
--echo # --echo #
--echo # Restart server. --echo # Restart server.
# #
# Write file to make mysql-test-run.pl start up the server again
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
#
# Turn on reconnect # Turn on reconnect
--enable_reconnect --enable_reconnect
# #
......
...@@ -139,6 +139,9 @@ INSERT INTO bug_53756 VALUES (666,666); ...@@ -139,6 +139,9 @@ INSERT INTO bug_53756 VALUES (666,666);
# Request a crash on next execution of commit. # Request a crash on next execution of commit.
SET SESSION debug="+d,crash_commit_before"; SET SESSION debug="+d,crash_commit_before";
# #
# Write file to make mysql-test-run.pl start up the server again
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
#
# Execute the statement that causes the crash. # Execute the statement that causes the crash.
--error 2013 --error 2013
COMMIT; COMMIT;
...@@ -154,9 +157,6 @@ COMMIT; ...@@ -154,9 +157,6 @@ COMMIT;
--echo # --echo #
--echo # Restart server. --echo # Restart server.
# #
# Write file to make mysql-test-run.pl start up the server again
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
#
# Turn on reconnect # Turn on reconnect
--enable_reconnect --enable_reconnect
# #
......
...@@ -1214,7 +1214,9 @@ int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet, ...@@ -1214,7 +1214,9 @@ int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
handler *file= table->file; handler *file= table->file;
TABLE_SHARE *share= table->s; TABLE_SHARE *share= table->s;
HA_CREATE_INFO create_info; HA_CREATE_INFO create_info;
#ifdef WITH_PARTITION_STORAGE_ENGINE
bool show_table_options= FALSE; bool show_table_options= FALSE;
#endif /* WITH_PARTITION_STORAGE_ENGINE */
bool foreign_db_mode= (thd->variables.sql_mode & (MODE_POSTGRESQL | bool foreign_db_mode= (thd->variables.sql_mode & (MODE_POSTGRESQL |
MODE_ORACLE | MODE_ORACLE |
MODE_MSSQL | MODE_MSSQL |
...@@ -1429,7 +1431,9 @@ int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet, ...@@ -1429,7 +1431,9 @@ int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
packet->append(STRING_WITH_LEN("\n)")); packet->append(STRING_WITH_LEN("\n)"));
if (!(thd->variables.sql_mode & MODE_NO_TABLE_OPTIONS) && !foreign_db_mode) if (!(thd->variables.sql_mode & MODE_NO_TABLE_OPTIONS) && !foreign_db_mode)
{ {
#ifdef WITH_PARTITION_STORAGE_ENGINE
show_table_options= TRUE; show_table_options= TRUE;
#endif /* WITH_PARTITION_STORAGE_ENGINE */
/* /*
Get possible table space definitions and append them Get possible table space definitions and append them
to the CREATE TABLE statement to the CREATE TABLE statement
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment