Loading mysql-test/r/rpl_stm_until.result +9 −9 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ Master_User root Master_Port MASTER_MYPORT Connect_Retry 1 Master_Log_File master-bin.000001 Read_Master_Log_Pos 776 Read_Master_Log_Pos 780 Relay_Log_File slave-relay-bin.000004 Relay_Log_Pos # Relay_Master_Log_File master-bin.000001 Loading @@ -41,11 +41,11 @@ Replicate_Wild_Ignore_Table Last_Errno 0 Last_Error Skip_Counter 0 Exec_Master_Log_Pos 319 Exec_Master_Log_Pos 323 Relay_Log_Space # Until_Condition Master Until_Log_File master-bin.000001 Until_Log_Pos 319 Until_Log_Pos 323 Master_SSL_Allowed No Master_SSL_CA_File Master_SSL_CA_Path Loading @@ -67,7 +67,7 @@ Master_User root Master_Port MASTER_MYPORT Connect_Retry 1 Master_Log_File master-bin.000001 Read_Master_Log_Pos 776 Read_Master_Log_Pos 780 Relay_Log_File slave-relay-bin.000004 Relay_Log_Pos # Relay_Master_Log_File master-bin.000001 Loading @@ -82,7 +82,7 @@ Replicate_Wild_Ignore_Table Last_Errno 0 Last_Error Skip_Counter 0 Exec_Master_Log_Pos 319 Exec_Master_Log_Pos 323 Relay_Log_Space # Until_Condition Master Until_Log_File master-no-such-bin.000001 Loading @@ -106,7 +106,7 @@ Master_User root Master_Port MASTER_MYPORT Connect_Retry 1 Master_Log_File master-bin.000001 Read_Master_Log_Pos 776 Read_Master_Log_Pos 780 Relay_Log_File slave-relay-bin.000004 Relay_Log_Pos # Relay_Master_Log_File master-bin.000001 Loading @@ -121,7 +121,7 @@ Replicate_Wild_Ignore_Table Last_Errno 0 Last_Error Skip_Counter 0 Exec_Master_Log_Pos 608 Exec_Master_Log_Pos 612 Relay_Log_Space # Until_Condition Relay Until_Log_File slave-relay-bin.000004 Loading @@ -143,7 +143,7 @@ Master_User root Master_Port MASTER_MYPORT Connect_Retry 1 Master_Log_File master-bin.000001 Read_Master_Log_Pos 776 Read_Master_Log_Pos 780 Relay_Log_File slave-relay-bin.000004 Relay_Log_Pos # Relay_Master_Log_File master-bin.000001 Loading @@ -158,7 +158,7 @@ Replicate_Wild_Ignore_Table Last_Errno 0 Last_Error Skip_Counter 0 Exec_Master_Log_Pos 776 Exec_Master_Log_Pos 780 Relay_Log_Space # Until_Condition Master Until_Log_File master-bin.000001 Loading mysql-test/r/rpl_temporary.result +0 −1 Original line number Diff line number Diff line Loading @@ -93,7 +93,6 @@ create temporary table t101 (id int); create temporary table t102 (id int); set @@session.pseudo_thread_id=200; create temporary table t201 (id int); create temporary table `t``201` (id int); create temporary table `#sql_not_user_table202` (id int); set @@session.pseudo_thread_id=300; create temporary table t301 (id int); Loading mysql-test/t/rpl_temporary.test +1 −1 Original line number Diff line number Diff line Loading @@ -170,7 +170,7 @@ create temporary table t101 (id int); create temporary table t102 (id int); set @@session.pseudo_thread_id=200; create temporary table t201 (id int); create temporary table `t``201` (id int); #create temporary table `t``201` (id int); # emulate internal temp table not to come to binlog create temporary table `#sql_not_user_table202` (id int); set @@session.pseudo_thread_id=300; Loading sql/mysql_priv.h +0 −11 Original line number Diff line number Diff line Loading @@ -1936,17 +1936,6 @@ inline int hexchar_to_int(char c) return -1; } /* is_user_table() return true if the table was created explicitly */ inline bool is_user_table(TABLE * table) { const char *name= table->s->table_name; return strncmp(name, tmp_file_prefix, tmp_file_prefix_length); } /* Some functions that are different in the embedded library and the normal server Loading sql/sql_base.cc +8 −3 Original line number Diff line number Diff line Loading @@ -1183,7 +1183,13 @@ static inline uint tmpkeyval(THD *thd, TABLE *table) void close_temporary_tables(THD *thd) { TABLE *table; TABLE *next, *prev_table /* prev link is not maintained in TABLE's double-linked list */, *table; char *query= (gptr) 0, *end; uint query_buf_size, max_names_len; bool found_user_tables; if (!thd->temporary_tables) return; Loading Loading @@ -1311,7 +1317,6 @@ void close_temporary_tables(THD *thd) thd->temporary_tables=0; } /* Find table in list. Loading Loading
mysql-test/r/rpl_stm_until.result +9 −9 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ Master_User root Master_Port MASTER_MYPORT Connect_Retry 1 Master_Log_File master-bin.000001 Read_Master_Log_Pos 776 Read_Master_Log_Pos 780 Relay_Log_File slave-relay-bin.000004 Relay_Log_Pos # Relay_Master_Log_File master-bin.000001 Loading @@ -41,11 +41,11 @@ Replicate_Wild_Ignore_Table Last_Errno 0 Last_Error Skip_Counter 0 Exec_Master_Log_Pos 319 Exec_Master_Log_Pos 323 Relay_Log_Space # Until_Condition Master Until_Log_File master-bin.000001 Until_Log_Pos 319 Until_Log_Pos 323 Master_SSL_Allowed No Master_SSL_CA_File Master_SSL_CA_Path Loading @@ -67,7 +67,7 @@ Master_User root Master_Port MASTER_MYPORT Connect_Retry 1 Master_Log_File master-bin.000001 Read_Master_Log_Pos 776 Read_Master_Log_Pos 780 Relay_Log_File slave-relay-bin.000004 Relay_Log_Pos # Relay_Master_Log_File master-bin.000001 Loading @@ -82,7 +82,7 @@ Replicate_Wild_Ignore_Table Last_Errno 0 Last_Error Skip_Counter 0 Exec_Master_Log_Pos 319 Exec_Master_Log_Pos 323 Relay_Log_Space # Until_Condition Master Until_Log_File master-no-such-bin.000001 Loading @@ -106,7 +106,7 @@ Master_User root Master_Port MASTER_MYPORT Connect_Retry 1 Master_Log_File master-bin.000001 Read_Master_Log_Pos 776 Read_Master_Log_Pos 780 Relay_Log_File slave-relay-bin.000004 Relay_Log_Pos # Relay_Master_Log_File master-bin.000001 Loading @@ -121,7 +121,7 @@ Replicate_Wild_Ignore_Table Last_Errno 0 Last_Error Skip_Counter 0 Exec_Master_Log_Pos 608 Exec_Master_Log_Pos 612 Relay_Log_Space # Until_Condition Relay Until_Log_File slave-relay-bin.000004 Loading @@ -143,7 +143,7 @@ Master_User root Master_Port MASTER_MYPORT Connect_Retry 1 Master_Log_File master-bin.000001 Read_Master_Log_Pos 776 Read_Master_Log_Pos 780 Relay_Log_File slave-relay-bin.000004 Relay_Log_Pos # Relay_Master_Log_File master-bin.000001 Loading @@ -158,7 +158,7 @@ Replicate_Wild_Ignore_Table Last_Errno 0 Last_Error Skip_Counter 0 Exec_Master_Log_Pos 776 Exec_Master_Log_Pos 780 Relay_Log_Space # Until_Condition Master Until_Log_File master-bin.000001 Loading
mysql-test/r/rpl_temporary.result +0 −1 Original line number Diff line number Diff line Loading @@ -93,7 +93,6 @@ create temporary table t101 (id int); create temporary table t102 (id int); set @@session.pseudo_thread_id=200; create temporary table t201 (id int); create temporary table `t``201` (id int); create temporary table `#sql_not_user_table202` (id int); set @@session.pseudo_thread_id=300; create temporary table t301 (id int); Loading
mysql-test/t/rpl_temporary.test +1 −1 Original line number Diff line number Diff line Loading @@ -170,7 +170,7 @@ create temporary table t101 (id int); create temporary table t102 (id int); set @@session.pseudo_thread_id=200; create temporary table t201 (id int); create temporary table `t``201` (id int); #create temporary table `t``201` (id int); # emulate internal temp table not to come to binlog create temporary table `#sql_not_user_table202` (id int); set @@session.pseudo_thread_id=300; Loading
sql/mysql_priv.h +0 −11 Original line number Diff line number Diff line Loading @@ -1936,17 +1936,6 @@ inline int hexchar_to_int(char c) return -1; } /* is_user_table() return true if the table was created explicitly */ inline bool is_user_table(TABLE * table) { const char *name= table->s->table_name; return strncmp(name, tmp_file_prefix, tmp_file_prefix_length); } /* Some functions that are different in the embedded library and the normal server Loading
sql/sql_base.cc +8 −3 Original line number Diff line number Diff line Loading @@ -1183,7 +1183,13 @@ static inline uint tmpkeyval(THD *thd, TABLE *table) void close_temporary_tables(THD *thd) { TABLE *table; TABLE *next, *prev_table /* prev link is not maintained in TABLE's double-linked list */, *table; char *query= (gptr) 0, *end; uint query_buf_size, max_names_len; bool found_user_tables; if (!thd->temporary_tables) return; Loading Loading @@ -1311,7 +1317,6 @@ void close_temporary_tables(THD *thd) thd->temporary_tables=0; } /* Find table in list. Loading