mariadb/storage
Sven Sandberg 931ac1d781 BUG#39934: Slave stops for engine that only support row-based logging
This is a post-push fix addressing review requests and
problems with extra warnings.

Problem 1: The sub-statement where an unsafe warning was detected was
printed as part of the warning. This was ok for statements that
were unsafe due to, e.g., calls to UUID(), but did not make
sense for statements that were unsafe because there was more than
one autoincrement column (unsafeness in this case comes from the
combination of several sub-statements).
Fix 1: Instead of printing the sub-statement, print an explanation
of why the statement is unsafe.

Problem 2:
When a recursive construct (i.e., stored proceure, stored
function, trigger, view, prepared statement) contained several
sub-statements, and at least one of them was unsafe, there would be
one unsafeness warning per sub-statement - even for safe
sub-statements.
Fix 2:
Ensure that each type of warning is printed at most once, by
remembering throughout the execution of the statement which types
of warnings have been printed.
2009-07-22 18:16:17 +02:00
..
archive Bug #39802 On Windows, 32-bit time_t should be enforced 2009-05-13 15:41:24 +05:30
blackhole Added "Sun Microsystems, Inc." to copyright headers on files modified 2008-11-10 21:21:49 +01:00
csv compiler warning fix 2009-03-24 13:02:01 +04:00
example BUG#39934: Slave stops for engine that only support row-based logging 2009-07-14 21:31:19 +02:00
federated Merge from 5.0-bugteam 2009-06-17 16:56:44 +02:00
heap Bug#35111 - Truncate a MyISAM partitioned table does not reset 2009-07-08 17:41:34 +05:30
ibmdb2i Bug#45983 ibmdb2i_create_index_option=1 not working for primary key 2009-07-08 14:40:01 +05:30
innobase BUG#39934: Slave stops for engine that only support row-based logging 2009-07-22 18:16:17 +02:00
myisam Bug#35111 - Truncate a MyISAM partitioned table does not reset 2009-07-08 17:41:34 +05:30
myisammrg Bug #45796: invalid memory reads and writes when altering merge 2009-07-10 17:34:03 +06:00
ndb Add missing newline to usage message of ndb_print_backup_file (Bug #34989) 2009-04-28 11:21:47 -07:00
Makefile.am Add the IBM DB2 for i storage engine. 2009-02-15 03:18:30 +01:00