• unknown's avatar
    Removed compiler warnings · b96aaea7
    unknown authored
    Fixed memory leak in new filesort code
    Optimzed sub selects to use keys with outer references.
    Increased max tables in join to 62
    
    
    client/Makefile.am:
      Remve test programs
    myisam/mi_check.c:
      Remove compiler warnings
    myisam/mi_delete.c:
      Remove 'rnd' variable to make usage repeatable
    myisam/mi_open.c:
      Remove 'rnd' variable to make usage repeatable
    myisam/mi_write.c:
      Remove 'rnd' variable to make usage repeatable
    myisam/myisamdef.h:
      Remove 'rnd' variable to make usage repeatable
    myisam/myisamlog.c:
      Remove 'rnd' variable to make usage repeatable
    mysql-test/r/subselect.result:
      new test
    mysql-test/t/join.test:
      Updated test
    mysql-test/t/subselect.test:
      new test
    sql/filesort.cc:
      Added function to free buffers allocated by filesort
    sql/item.cc:
      Sub select optimization
    sql/item_cmpfunc.cc:
      Sub select optimization
    sql/item_subselect.cc:
      Sub select optimization
    sql/item_sum.cc:
      Removed compiler warnings
    sql/item_sum.h:
      Simple code cleanup
    sql/log.cc:
      Removed compiler warning
    sql/mysql_priv.h:
      Made table_map ulonglong to allow 62 tables in join
    sql/records.cc:
      Moved free of filesort buffers to own function
    sql/sql_select.cc:
      subselect optimization
      Call filesort_free_buffers() to free memory from filesort
    sql/unireg.h:
      Sub select optimization
    b96aaea7
subselect.result 39.4 KB