MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Martin Hansson Date:June 21 2009 10:49am
Subject:bzr commit into mysql-5.1-bugteam branch (martin.hansson:2937) Bug#44653
View as plain text  
#At file:///data0/martin/bzr/bug44653/5.1bt-gca-commit/ based on revid:martin.hansson@stripped

 2937 Martin Hansson	2009-06-21
      Bug#44653: Server crash noticed when executing random queries with partitions.
      
      When opening a table, it is imperative that the flag
      TABLE::auto_increment_field_not_null be false. But if an error occured during
      the creation of a table (e.g. the table exists already) with an auto_increment
      column and a BEFORE trigger that used the INSERT ... SELECT construct, the
      flag was not reset until after error checking. Thus if an error occured, the
      function returned immediately and it was not done. Crash happened if the table
      was opened again. Fixed by resetting the flag after error checking.
      ******
      Bug#44653: Server crash noticed when executing random queries with partitions.
      
      When opening a table, it is imperative that the flag
      TABLE::auto_increment_field_not_null be false. But if an error occured during
      the creation of a table (e.g. the table exists already) with an auto_increment
      column and a BEFORE trigger that used the INSERT ... SELECT construct, the
      flag was not reset until after error checking. Thus if an error occured, the
      function returned immediately and it was not done. Crash happened if the table
      was opened again. Fixed by resetting the flag after error checking.
     @ mysql-test/r/trigger.result
        Bug#44653: Test result
     @ mysql-test/t/trigger.test
        Bug#44653: Test case
     @ sql/sql_insert.cc
        Bug#44653: Fix: Make sure to unset this field before returning in case of error


Attachment: [text/bzr-bundle] bzr/martin.hansson@sun.com-20090621104857-g8ljd074uh1kxis2.bundle
Thread
bzr commit into mysql-5.1-bugteam branch (martin.hansson:2937) Bug#44653Martin Hansson21 Jun