1. 10 Jul, 2006 1 commit
  2. 08 Jul, 2006 4 commits
  3. 07 Jul, 2006 1 commit
  4. 06 Jul, 2006 9 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 26a30ece
      unknown authored
      into  bodhi.netgear:/opt/local/work/mysql-4.1-19399
      
      
      sql/table.cc:
        Auto merged
      26a30ece
    • unknown's avatar
      A fix and a test case for Bug#19399 "res 'Lost Connection' when · 6f73fca1
      unknown authored
      dropping/creating tables".
      
      The bug could lead to a crash when multi-delete statements were
      prepared and used with temporary tables.
      
      The bug was caused by lack of clean-up of multi-delete tables before
      re-execution of a prepared statement. In a statement like
      DELETE t1 FROM t1, t2 WHERE ... the first table list (t1) is
      moved to lex->auxilliary_table_list and excluded from lex->query_tables
      or select_lex->tables. Thus it was unaccessible to reinit_stmt_before_use
      and not cleaned up before re-execution of a prepared statement. 
      
      
      mysql-test/r/ps.result:
        Updated test results (Bug#19399)
      mysql-test/t/ps.test:
        A test case for Bug#19399 "Stored Procedures 'Lost Connection' when 
        dropping/creating tables": test that multi-delete
        tables are cleaned up properly before re-execution.
      sql/sql_lex.cc:
        Always initialize auxilliary_table_list when we initialize the lex:
        this way we don't have to check that lex->sql_command equals to
        SQLCOM_DELETE_MULTI whenever we need to access auxilliary_table_list.
        In particular, in reinit_stmt_before_use we can simply check that
        auxilliary_table_list is not NULL and clean it up if the check returns
        a true value.
      sql/sql_prepare.cc:
        Move the one table clean-up functionality to a method of st_table_list.
        Clean up auxiliary_table_list if it's not empty.
      sql/table.cc:
        Implement st_table_list::reinit_before_use().
      sql/table.h:
        Declare st_table_list::reinit_before_use().
      6f73fca1
    • unknown's avatar
      Merge jonas@perch:src/mysql-4.1 · 2b3165b7
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-main
      
      2b3165b7
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4e38778c
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-main
      
      4e38778c
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · 3c11f80c
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-main
      
      3c11f80c
    • unknown's avatar
      backport of ndb DictCache fix · 2533ff11
      unknown authored
      - don't invalidate tables that are in state RETRIEVING
      
      2533ff11
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · b852f894
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1
      
      b852f894
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · ff28a9f1
      unknown authored
      into  mysql.com:/space_old/pekka/ndb/version/my41
      
      ff28a9f1
    • unknown's avatar
      Bug#8706 · f8d57735
      unknown authored
        "temporary table with data directory option fails"
        myisam should not use user-specified table name when creating
        temporary tables and use generated connection specific real name.
        Test included.
      
      
      myisam/mi_create.c:
        Bug#8706
          When creating a temporary table with directory override, ensure that
          the real filename is using the hidden temporary name otherwise
          multiple clients cannot have same named temporary tables without
          conflict.
      mysql-test/r/myisam.result:
        Bug#8706
          Test for bug
      mysql-test/t/myisam.test:
        Bug#8706
          Test for bug
      f8d57735
  5. 05 Jul, 2006 2 commits
  6. 04 Jul, 2006 3 commits
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.0-bug14400 · 7bdf9e57
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.1-bug14400
      
      
      myisam/mi_rkey.c:
        Bug#14400 - Query joins wrong rows from table which is subject of "concurrent insert"
        Manual merge
      sql/sql_class.cc:
        Bug#14400 - Query joins wrong rows from table which is subject of "concurrent insert"
        Manual merge
      7bdf9e57
    • unknown's avatar
      WL#2928 Date Translation NRE · 2b74bf06
      unknown authored
      (implemented by by Josh Chamas)
      
      
      libmysqld/Makefile.am:
        Adding new source file
      mysql-test/r/date_formats.result:
        Adding test case
      mysql-test/t/date_formats.test:
        Adding test case
      sql/Makefile.am:
        Adding new source file
      BitKeeper/etc/ignore:
        Added libmysqld/sql_locale.cc to the ignore list
      sql/item_timefunc.cc:
        Using current locale data, instead of hard coded English names.
      sql/mysql_priv.h:
        Adding new type MY_LOCALE, and declaring new global variables.
      sql/set_var.cc:
        Adding "lc_time_names" system variable.
      sql/set_var.h:
        Adding "lc_time_names" system variable.
      sql/sql_cache.cc:
        Adding lc_time_names as a query cache flag.
      sql/sql_class.cc:
        Setting default locale to en_US
      sql/sql_class.h:
        Adding locale variable into system_variables.
      sql/sql_locale.cc:
        Adding new file with locale data for various languages
      2b74bf06
    • unknown's avatar
      pekka - checkout:get (4.1) · 8e4ee872
      unknown authored
      
      BitKeeper/etc/config:
        checkout:get
      8e4ee872
  7. 30 Jun, 2006 17 commits
  8. 29 Jun, 2006 3 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · cded8736
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      cded8736
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · b9def2da
      unknown authored
      into sunlight.local:/local_work/autopush/merge-4.1
      
      b9def2da
    • unknown's avatar
      Fixed include file usage · d7219467
      unknown authored
      hp_test2 now works again
      Fixed wrong cast, which caused problems with gcc 4.0 and floats in prepared statements (Bug #19694)
      
      
      heap/hp_test1.c:
        Portability fix
      heap/hp_test2.c:
        Added max_table_size (fixes that hp_test2 works again)
      include/my_global.h:
        Fixed wrong cast, which caused problems with gcc 4.0 (Bug #19694)
      mysys/my_handler.c:
        Added missing include file
      strings/strtod.c:
        Fixed include files
      d7219467