• unknown's avatar
    Cleanup during review of new pushed code · 72340a48
    unknown authored
    
    include/my_global.h:
      Safer macros to avoid possible overflows
    sql/item_cmpfunc.cc:
      Simple optimization
    sql/sp_head.cc:
      Indentation fixes
      Remove not needed "else" levels
      Added error checking for 'new'
      Simpler reseting of thd->spcont in execute_procedure
    sql/sql_base.cc:
      Faster new
    sql/sql_lex.cc:
      Use 'TRUE' instead of 'true'
    sql/sql_parse.cc:
      Faster new
    sql/sql_view.cc:
      No need to set 'tables' as it's not used
    sql/table.cc:
      Simpler DBUG_ASSERT()
    72340a48
sql_lex.cc 52.6 KB