• unknown's avatar
    store/restore sql_mode which was in force during ctrigger creation (BUG#5891) · a66928bb
    unknown authored
    other sql_mode fixes
    
    
    mysql-test/r/information_schema.result:
      changes in information schema
    mysql-test/r/trigger.result:
      storing and restoring sql modes for triggers
    mysql-test/t/trigger.test:
      storing and restoring parsing modes for triggers
    sql/mysqld.cc:
      add length of mode names
    sql/parse_file.cc:
      new type of list (ulonglong)
    sql/parse_file.h:
      new type of list (ulonglong)
    sql/set_var.cc:
      mode output made as static method
    sql/set_var.h:
      mode output made as static method
    sql/sp_head.cc:
      added sql_mode storing/restoring during SP execution
      optimised sql_mode printing
    sql/sp_head.h:
      comment fixed according this changes
    sql/sql_show.cc:
      added sql_mode field
    sql/sql_trigger.cc:
      store/restore sql_mode which was in force during ctrigger creation
    sql/sql_trigger.h:
      store/restore sql_mode which was in force during ctrigger creation
    sql/sql_view.cc:
      fixed sql_mode
    a66928bb
sql_view.cc 36.5 KB