1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-29 00:08:14 +03:00
Files
mariadb/mysql-test/t
unknown f87acb594a Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect
restores from mysqlbinlog out

Problem: using "mysqlbinlog | mysql" for recoveries the connection_id() 
result may differ from what was used when issuing the statement.

Fix: if there is a connection_id() in a statement, write to binlog
SET pseudo_thread_id= XXX; before it and use the value later on.


mysql-test/r/mysqlbinlog.result:
  Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
  restores from mysqlbinlog out
    - test result.
mysql-test/t/mysqlbinlog.test:
  Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
  restores from mysqlbinlog out
    - test case.
sql/item_create.cc:
  Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
  restores from mysqlbinlog out
    - set thread_specific_used flag for the connection_id() function.
sql/item_func.cc:
  Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
  restores from mysqlbinlog out
    - always return thd->variables.pseudo_thread_id as a connection_id() 
  result, as it contains a proper value for both master and slave.
sql/log_event.cc:
  Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
  restores from mysqlbinlog out
    - set LOG_EVENT_THREAD_SPECIFIC_F event flag if thread_specific_used
  is set.
sql/sql_class.cc:
  Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
  restores from mysqlbinlog out
    - thd->thread_specific_used introduced, which is set if thread specific 
  value(s) used in a statement.
sql/sql_class.h:
  Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
  restores from mysqlbinlog out
    - thd->thread_specific_used introduced, which is set if thread specific 
  value(s) used in a statement.
2007-08-01 15:27:03 +05:00
..
2007-05-17 19:38:34 +03:00
2007-06-16 17:00:29 +05:00
2007-06-07 20:25:22 +02:00
2006-11-20 22:42:06 +02:00
2007-06-30 02:09:50 +05:00
2007-02-23 18:49:41 +02:00
2007-04-10 16:55:48 +03:00
2007-03-08 00:27:42 +03:00
2007-06-28 16:03:01 -07:00
2007-06-28 16:03:01 -07:00
2007-07-06 11:35:10 -07:00
2007-07-06 11:35:10 -07:00
2007-07-05 18:24:48 +03:00
2007-03-28 12:11:44 +02:00
2007-03-20 19:36:11 +01:00
2007-06-24 01:20:14 +05:00
2007-05-16 09:51:05 +04:00
2007-07-11 18:45:35 -07:00
2007-02-07 14:22:19 -08:00
2007-02-24 13:12:20 +03:00
2007-06-21 21:39:52 -04:00
2007-07-06 03:43:23 +05:00
2007-02-24 13:12:20 +03:00
2007-06-20 14:21:48 +05:00
2007-06-01 17:49:01 +04:00
2007-07-18 19:14:48 +05:00
2007-03-21 09:13:05 +01:00
2007-06-17 22:04:01 +02:00
2006-11-20 22:42:06 +02:00
2007-06-01 17:49:01 +04:00
2007-06-01 17:49:01 +04:00
2006-11-15 10:23:27 +01:00
2007-06-21 16:55:52 +02:00
2006-11-15 10:23:27 +01:00
2007-02-08 15:53:14 +01:00
2007-06-01 18:04:25 +04:00
2007-06-22 09:28:38 +05:00
2006-11-15 10:23:27 +01:00
2007-05-24 15:35:43 +05:00
2006-11-15 10:23:27 +01:00
2007-05-31 17:30:56 +05:00
2007-04-10 19:08:08 +03:00
2006-12-11 18:52:24 -07:00
2007-06-06 18:55:21 +05:00
2007-04-17 12:32:01 +02:00
2007-07-12 00:03:08 +05:00
2007-07-15 21:51:36 +04:00
2007-03-29 09:08:30 +05:00
2007-06-03 14:46:09 +04:00
2007-07-04 21:12:07 -07:00
2007-02-24 13:12:20 +03:00
2007-04-23 17:15:51 +03:00