• unknown's avatar
    Fixed memory reference errors found by valgrind · b90a9b32
    unknown authored
    
    sql/ha_federated.cc:
      Change mode to -rw-rw-r--
    myisam/mi_create.c:
      Ensure that all referenced memory is reset
    mysql-test/r/type_timestamp.result:
      More tests
    mysql-test/t/func_compress.test:
      Added comment
    mysql-test/t/type_timestamp.test:
      More tests
    sql/field.h:
      Count number of varchars in table
    sql/item_cmpfunc.cc:
      Safety fix (to avoid warning from valgrind)
    sql/opt_range.cc:
      Simple optimzation
    sql/sql_acl.cc:
      Safety fix (to avoid warning from valgrind)
    sql/sql_parse.cc:
      Safety fix for prepared statements
    sql/sql_show.cc:
      Move variable declarations first in function
      Remove hidden variable (it)
      Remove accessing freed memory (table_list->table_name)
    sql/sql_update.cc:
      Compare records with varchars correctly
    sql/table.cc:
      Safety fix when running with purify/valgrind
      Fix wrong memory reference in case of errors
    sql/table.h:
      Added counting of varchar fields
    strings/ctype-mb.c:
      Fill max_str properly
    b90a9b32
table.cc 57.2 KB