• Sergey Glukhov's avatar
    Bug#37284 Crash in Field_string::type() · 1182c097
    Sergey Glukhov authored
    The bug is repeatable with latest(1.0.1) InnoDB plugin on Linux, Win,
    If MySQL is compiled with valgrind there are errors about
    using of uninitialized variable(orig_table).
    The fix is to set field->orig_table correct value.
    
    
    mysql-test/r/innodb_mysql.result:
      test result
    mysql-test/t/innodb_mysql.test:
      test case
    sql/sql_base.cc:
      set field->orig_table to 'table' value because it may be bogus and
      it leads to crash on Field_string::type() function.
    1182c097
innodb_mysql.result 34.2 KB