1. 05 Sep, 2007 5 commits
    • unknown's avatar
      Merge omega.weblab:/home/malff/TREE/mysql-5.1-base · 7f553f34
      unknown authored
      into  omega.weblab:/home/malff/TREE/mysql-5.1-rt-merge
      
      
      7f553f34
    • unknown's avatar
      Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 41ae90df
      unknown authored
      into  omega.weblab:/home/malff/TREE/mysql-5.1-cleanup
      
      
      41ae90df
    • unknown's avatar
      Test events_logs_tests cleanup · 712b9b00
      unknown authored
      Fixed test failure under heavy load, in case truncate table is slow.
      
      
      mysql-test/r/events_logs_tests.result:
        Fixed test failure under heavy load, in case truncate table is slow.
      mysql-test/t/events_logs_tests.test:
        Fixed test failure under heavy load, in case truncate table is slow.
      712b9b00
    • unknown's avatar
      The test case for Bug#29936 doesn't work with the embedded version, · bfbe3350
      unknown authored
      the first query is not running while we are doing wait queries on
      a second connection.
      
      
      mysql-test/r/sp.result:
        Remove test case result for Bug#29936, moving to sp_notembedded.result
      mysql-test/r/sp_notembedded.result:
        Test case result for Bug#29936, moved from sp.result
      mysql-test/t/sp.test:
        Remove test case for Bug#29936, moving to sp_notembedded.test
      mysql-test/t/sp_notembedded.test:
        Test case result for Bug#29936, moved from sp.test
      bfbe3350
    • unknown's avatar
      Discovered a bug while working with backup. Since it is possible to execute a... · 700d8b1f
      unknown authored
      Discovered a bug while working with backup. Since it is possible to execute a statement in a pre/post statment clause that can return a result, we need to test for that and free it. 
      
      
      client/mysqlslap.c:
        Cleanup resuls if rows are returned.
      700d8b1f
  2. 04 Sep, 2007 6 commits
  3. 03 Sep, 2007 11 commits
  4. 01 Sep, 2007 4 commits
  5. 31 Aug, 2007 13 commits
    • unknown's avatar
      Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · ee3c05ee
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-30712
      
      
      sql/log.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      ee3c05ee
    • unknown's avatar
      Fixed timing issues in events.test · d2f32b10
      unknown authored
      
      mysql-test/t/events.test:
        
        Wait for the select get_lock() to actually get the lock
        wait for release_lock() to actually release the lock
      d2f32b10
    • unknown's avatar
      Eliminate compile warnings. · 92262b8c
      unknown authored
      92262b8c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · d7463b5e
      unknown authored
      into  ibm.opbmk:/home/alik/Documents/MySQL/devel/5.1-rt-bug25843
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      d7463b5e
    • unknown's avatar
      Correct fix for test result. · 436cca53
      unknown authored
      436cca53
    • unknown's avatar
      Fix for BUG#25843: changing default database between PREPARE and EXECUTE · 7e0ad09e
      unknown authored
      of statement breaks binlog.
      
      There were two problems discovered by this bug:
      
        1. Default (current) database is not fixed at the creation time.
           That leads to wrong output of DATABASE() function.
      
        2. Database attributes (@@collation_database) are not fixed at
           the creation time. That leads to wrong resultset.
      
      Binlog breakage and Query Cache wrong output happened because of
      the first problem.
      
      The fix is to remember the current database at the PREPARE-time and
      set it each time at EXECUTE.
      
      
      mysql-test/include/query_cache_sql_prepare.inc:
        The first part of the test case for BUG#25843.
      mysql-test/r/query_cache_ps_no_prot.result:
        Update result file.
      mysql-test/r/query_cache_ps_ps_prot.result:
        Update result file.
      mysql-test/suite/rpl/r/rpl_ps.result:
        Update result file.
      mysql-test/suite/rpl/t/rpl_ps.test:
        The second part of the test case for BUG#25843.
      sql/mysql_priv.h:
        Added mysql_opt_change_db() prototype.
      sql/sp.cc:
        1. Polishing;
        2. sp_use_new_db() has been removed;
        3. Use mysql_opt_change_db() instead of sp_use_new_db().
      sql/sp.h:
        sp_use_new_db() has been removed.
        This function has nothing to do with a) sp and b) *new* database.
        It was merely "switch the current database if needed".
      sql/sp_head.cc:
        1. Polishing.
        2. Use mysql_opt_change_db() instead of sp_use_new_db().
      sql/sql_class.cc:
        Move THD::{db, db_length} into Statement.
      sql/sql_class.h:
        Move THD::{db, db_length} into Statement.
      sql/sql_db.cc:
        Introduce mysql_opt_change_db() as a replacement (and inspired by)
        sp_use_new_db().
      sql/sql_prepare.cc:
        1. Remember the current database in Prepared_statement::prepare().
        2. Switch/restore the current database in Prepared_statement::execute().
      7e0ad09e
    • unknown's avatar
      Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · ed9dcfb2
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-cleanup
      
      
      ed9dcfb2
    • unknown's avatar
      Test cleanup for events.test · 3d15ac95
      unknown authored
      
      mysql-test/r/events.result:
        Fixed all the select on information_schema.processlist to be more reliable.
      mysql-test/t/events.test:
        Fixed all the select on information_schema.processlist to be more reliable.
      3d15ac95
    • unknown's avatar
      Correct test result file for bug #27014 · c11de568
      unknown authored
      c11de568
    • unknown's avatar
      Fix test results for bug #27014 · 871172dd
      unknown authored
      871172dd
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · a4b0ad6c
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.1-12713-new
      
      
      sql/handler.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      a4b0ad6c
    • unknown's avatar
      Never access thd->ha_data directly, use getters/setters from the plugin · ee040ef2
      unknown authored
      API instead.
      This is a pre-requisite of the fix for Bug 12713, which changes the
      data type of thd->ha_data from void * to struct Ha_data.
      
      
      include/mysql/plugin.h:
        Provide accessors to thd->ha_data for simple and robust code.
      sql/ha_ndbcluster_binlog.h:
        Use getters/setters of thd->ha_data, instead of direct access.
      sql/handler.cc:
        Use a getter of thd->ha_data instead of direct access.
      sql/log.cc:
        Use getters/setters of thd->ha_data, instead of direct access.
      sql/rpl_utility.h:
        Fix a compilation warning (declaration order must match initialization
        order in constructor).
      storage/federated/ha_federated.cc:
        Use interface accessors to thd->ha_data, instead of direct access.
      ee040ef2
    • unknown's avatar
      Bug #27014: Imperfect error/warning message for STR_TO_DATE for invalid datetime value · 333a28bc
      unknown authored
      Fix name of function in warning message.
      
      
      sql/item_timefunc.cc:
        Fix error message in extract_date_time(); ("str_to_time" -> "str_to_date")
      333a28bc
  6. 30 Aug, 2007 1 commit