~maria-captains/maria/5.1

Viewing all changes in revision 2502.1137.175.

  • Committer: Andrei Elkin
  • Date: 2012-04-20 16:41:20 UTC
  • mto: (2502.1194.1 mysql-5.1.64-release)
  • mto: This revision was merged to the branch mainline in revision 3152.
  • Revision ID: andrei.elkin@oracle.com-20120420164120-9puh1st1u5apc3b2
BUG#11754117 incorrect logging of INSERT into auto-increment 
BUG#11761686 insert_id event is not filtered.
  
Two issues are covered.
  
INSERT into autoincrement field which is not the first part in the composed primary key 
is unsafe by autoincrement logging design. The case is specific to MyISAM engine
because Innodb does not allow such table definition.
  
However no warnings and row-format logging in the MIXED mode was done, and
that is fixed.
  
Int-, Rand-, User-var log-events were not filtered along with their parent
query that made possible them to screw up execution context of the following
query.
  
Fixed with deferring their execution until the parent query.

******
Bug#11754117 

Post review fixes.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: