• unknown's avatar
    Fix for bug #32676: insert delayed crash with wrong column and function specified · 50375525
    unknown authored
    Problem: using wrong local lock type value in the mysql_insert() results in a crash. 
    
    Fix: use a proper value.
    
    
    mysql-test/r/delayed.result:
      Fix for bug #32676: insert delayed crash with wrong column and function specified
        - test result.
    mysql-test/t/delayed.test:
      Fix for bug #32676: insert delayed crash with wrong column and function specified
        - test case.
    sql/sql_insert.cc:
      Fix for bug #32676: insert delayed crash with wrong column and function specified
        - the local lock_type var assigment displaced just after the line 
          where the table_list->lock_type is filnally defined in the mysql_insert() 
          to avoid using its old value.
    50375525
delayed.result 6.29 KB