• unknown's avatar
    Don't count NULL values in cardinalty for MyISAM tables. · b5e37b24
    unknown authored
    Free row buffer cache after each query for MyISAM tables.
    Added table join option FORCE INDEX
    Fixed core dump bug when connecting with hostname that could not be resolved.
    
    
    include/my_base.h:
      Don't count NULL values in cardinalty
    myisam/mi_check.c:
      Don't count NULL values in cardinalty
    myisam/mi_extra.c:
      Free row buffer cache after each query
    myisam/mi_open.c:
      Avoid realloc if cache size doesn't change
    myisam/mi_search.c:
      Don't count NULL values in cardinalty
    myisam/myisamdef.h:
      Change buffer length from uint to uint32 to make it more portable/predictable
    mysql-test/r/myisam.result:
      Test case for cardinality with NULL keys and FORCE INDEX
    mysql-test/t/myisam.test:
      Test case for cardinality with NULL keys and FORCE INDEX
    sql/lex.h:
      Added table join option FORCE INDEX
    sql/mysql_priv.h:
      Added table join option FORCE INDEX
    sql/opt_range.cc:
      Added table join option FORCE INDEX
    sql/sql_base.cc:
      Added table join option FORCE INDEX
    sql/sql_lex.h:
      Added table join option FORCE INDEX
    sql/sql_parse.cc:
      Added table join option FORCE INDEX
      Don't use strlen() on hostname without first checking if it's not NULL
    sql/sql_select.cc:
      Added table join option FORCE INDEX
    sql/sql_yacc.yy:
      Added table join option FORCE INDEX
    sql/table.h:
      Added table join option FORCE INDEX
    b5e37b24
sql_select.cc 206 KB