1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-30 11:22:14 +03:00
Files
mariadb/mysql-test/t
Ramil Kalimullin cf6c7262d0 Fix for bug#35383: binlog playback and replication breaks
due to name_const substitution

Problem:
"In general, statements executed within a stored procedure
are written to the binary log using the same rules that
would apply were the statements to be executed in standalone
fashion. Some special care is taken when logging procedure
statements because statement execution within procedures
is not quite the same as in non-procedure context".

For example, each reference to a local variable in SP's
statements is replaced by NAME_CONST(var_name, var_value).
Queries like
"CREATE TABLE ... SELECT FUNC(local_var ..."
are logged as
"CREATE TABLE ... SELECT FUNC(NAME_CONST("local_var", var_value) ..."
that leads to differrent field names and
might result in "Incorrect column name" if var_value is long enough.

Fix: in 5.x we'll issue a warning in such a case.
In 6.0 we should get rid of NAME_CONST().

Note: this issue and change should be described in the documentation
("Binary Logging of Stored Programs").
2009-03-25 20:48:10 +04:00
..
2008-01-27 16:41:29 +01:00
2007-11-06 20:31:40 +02:00
2007-08-07 05:35:20 -04: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
2009-02-06 18:25:08 +01:00
2009-02-09 21:52:40 +01:00
2009-02-20 11:12:06 +02:00
2007-07-11 18:45:35 -07:00
2007-06-21 21:39:52 -04:00
2007-11-02 13:40:34 +03:00
2007-11-02 13:40:34 +03:00
2009-03-24 23:50:59 +03:00
2007-08-31 16:59:07 +05:00
2009-03-10 12:53:43 -04:00
2007-11-05 20:18:22 +01:00
2007-10-26 08:42:33 +02:00
2008-01-27 16:41:29 +01:00
2007-11-05 20:18:22 +01:00
2008-01-22 14:18:47 +01:00
2007-11-20 20:15:20 +04:00
2009-02-25 11:37:30 +01:00
2007-11-30 18:06:28 +01:00
2008-08-22 19:49:51 +02:00
2008-04-04 01:16:55 +04:00
2008-04-04 01:16:55 +04:00
2007-09-24 12:42:44 +02:00
2007-08-22 15:43:16 +03:00
2007-06-06 18:55:21 +05:00
2009-02-09 21:52:40 +01:00
2007-07-22 18:26:16 -07:00
2008-03-14 20:51:32 +01:00
2007-07-15 21:51:36 +04:00
2007-06-03 14:46:09 +04:00
2008-06-27 20:56:41 +05:00
2008-02-07 02:33:21 +04:00