1. 25 Aug, 2005 29 commits
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · caca494f
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug12335-release2
      
      caca494f
    • unknown's avatar
      BUG#12335: merging: temporarily removed a test case that demonstrates wrong... · 14c9716c
      unknown authored
      BUG#12335: merging: temporarily removed a test case that demonstrates wrong behaviour and does it in non-deterministic way.
      
      
      14c9716c
    • unknown's avatar
      ha_innodb.cc: · 01436d5a
      unknown authored
        Fix typo
      
      
      sql/ha_innodb.cc:
        Fix typo
      01436d5a
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 87c80f5d
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug12335-release2
      
      
      sql/lex.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      87c80f5d
    • unknown's avatar
      Fix for BUG#12335 (SP replication) : New binlogging strategy for stored PROCEDUREs/FUNCTIONs. · b45f0cd0
      unknown authored
      "Interleaved SPs execution is now binlogged properly, "SELECT spfunc()" is binlogged too.
      The known remaining issue is binlogging/replication of "a routine is deleted while it is executed" scenario.
      
      
      mysql-test/r/rpl_sp.result:
        Fix for BUG#12335: updated test cases/results
      mysql-test/t/rpl_sp.test:
        Fix for BUG#12335: updated test cases/results
      sql/item.cc:
        Fix for BUG#12335 (SP replication): 
         - Added Item_name_const 'function'
         - Addede 'delete reuse' to call dtor on item reuse
      sql/item.h:
        Fix for BUG#12335 (SP replication) : Added Item_name_const 'function' + code cleanup
      sql/item_create.cc:
         Fix for BUG#12335 (SP replication) : Added Item_name_const 'function'
      sql/item_create.h:
         Fix for BUG#12335 (SP replication) : Added Item_name_const 'function'
      sql/item_func.cc:
        Fix for BUG#12335 (SP replication) : binary log is now constrolled from within execute_function.
      sql/lex.h:
        Fix for BUG#12335 (SP replication) : Added Item_name_const 'function'
      sql/log.cc:
        Fix for BUG#12335 (SP replication) : Added MYSQL_LOG::{start|stop}_union_events to allow
        one to temporary disable binlogging but collect a 'union' information about binlog write
        calls.
      sql/mysql_priv.h:
        Fix for BUG#12335 (SP replication)
      sql/sp_head.cc:
        Fix for BUG#12335 (SP replication) : Now we use different SP binlogging strategy, grep for 
        StoredRoutinesBinlogging for details
      sql/sp_head.h:
        Comments added
      sql/sp_pcontext.h:
        Comments added
      sql/sp_rcontext.h:
        Comments added
      sql/sql_class.cc:
        Fix for BUG#12335 (SP replication) : Now we use different SP binlogging strategy, grep for 
        StoredRoutinesBinlogging for details
      sql/sql_class.h:
        Fix for BUG#12335 (SP replication) : Added MYSQL_LOG::{start|stop}_union_events to allow
        one to temporary disable binlogging but collect a 'union' information about binlog write
        calls.
      sql/sql_delete.cc:
        Fix for BUG#12335: check THD::query_str_binlog_unsuitable when writing to binlog.
      sql/sql_insert.cc:
        Fix for BUG#12335: check THD::query_str_binlog_unsuitable when writing to binlog.
      sql/sql_lex.cc:
        Fix for BUG#12335 (SP replication): Add ability to extract previous returned token from
        the tokenizer.
      sql/sql_lex.h:
        Fix for BUG#12335 (SP replication): Add ability to extract previous returned token from
        the tokenizer.
      sql/sql_parse.cc:
        Fix for BUG#12335 (SP replication) : Now we use different SP binlogging strategy, grep for 
        StoredRoutinesBinlogging for details
      sql/sql_update.cc:
        Fix for BUG#12335: check THD::query_str_binlog_unsuitable when writing to binlog.
      sql/sql_yacc.yy:
        Fix for BUG#12335 (SP replication) : When creating Item_splocal, remember where it is located
        in the query.
      b45f0cd0
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6206b227
      unknown authored
      into mysql.com:/M50/mysql-5.0
      
      6206b227
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0 · b42fc545
      unknown authored
      into mysql.com:/M50/mysql-5.0
      
      b42fc545
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6d9592e5
      unknown authored
      into  eel.(none):/home/jonas/src/mysql-5.0-push
      
      6d9592e5
    • unknown's avatar
      Merge eel.(none):/home/jonas/src/mysql-5.0 · 0b99cd92
      unknown authored
      into  eel.(none):/home/jonas/src/mysql-5.0-push
      
      0b99cd92
    • unknown's avatar
      Merge eel.(none):/home/jonas/src/mysql-4.1 · b97eb22c
      unknown authored
      into  eel.(none):/home/jonas/src/mysql-5.0
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        merge
      b97eb22c
    • unknown's avatar
      bug#12027 - ndb · 7ea7e108
      unknown authored
        When detecting corrupt schema file.
        Make sure to close it (as it will be opened later when rewriting a clean copy)
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        bug#12027 
          When detecting corrupt schema file.
          Make sure to close it (as it will be opened later when rewriting a clean copy)
      7ea7e108
    • unknown's avatar
      Merge osalerma@bk-internal.mysql.com:/home/bk/mysql-5.0 · c2a06813
      unknown authored
      into  127.(none):/home/osku/mysql-5.0-2
      
      c2a06813
    • unknown's avatar
      config: · 0ea30b1d
      unknown authored
        updated tomas default checkout
      
      
      BitKeeper/etc/config:
        updated tomas default checkout
      0ea30b1d
    • unknown's avatar
      219d3169
    • unknown's avatar
      Manual merge - no change. · 1460c027
      unknown authored
      1460c027
    • unknown's avatar
      28cd7c79
    • unknown's avatar
      Manual merge - no change. · 8ee17cd6
      unknown authored
      
      Makefile.am:
        Manual merge from 4.1 - change is already present, as 4.1 had a backport.
      8ee17cd6
    • unknown's avatar
      Make test predictable · 2f4a043c
      unknown authored
      
      mysql-test/r/information_schema.result:
        Ensure that rows are in given order
      mysql-test/t/information_schema.test:
        Ensure that rows are in given order
      2f4a043c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 60f7dc0d
      unknown authored
      into  mishka.mysql.com:/home/my/mysql-5.0
      
      60f7dc0d
    • unknown's avatar
      Merge lmy004.:/work/mysql-5.0-clean · daae50c0
      unknown authored
      into lmy004.:/work/mysql-5.0-bug12533-2
      
      
      mysql-test/r/view.result:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      daae50c0
    • unknown's avatar
      fix for bug #12533 (crash on DESCRIBE <view> after renaming base table column) · 1562879b
      unknown authored
      
      mysql-test/r/view.result:
        result of test for bug #12533
      mysql-test/t/view.test:
        test for bug #12533 (crash on DESCRIBE <view> after renaming base table column)
      sql/sql_show.cc:
        close thread tables even if process_table bails out
      1562879b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 9956f3e4
      unknown authored
      into  mishka.local:/home/my/mysql-5.0
      
      
      configure.in:
        Auto merged
      9956f3e4
    • unknown's avatar
      After merge fixes · a97968a9
      unknown authored
      
      mysql-test/r/subselect2.result:
        After merge fix
      sql/handler.cc:
        Remove compiler warning
      sql/sql_acl.cc:
        After merge fix
      sql/sql_db.cc:
        After merge fix
      a97968a9
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 995603bb
      unknown authored
      into lmy004.:/work/mysql-5.0-clean
      
      995603bb
    • unknown's avatar
      Merge lmy002.wdf.sap.corp:/home/georg/work/mysql/bugs/mysql-5.0-master · 92fb1b51
      unknown authored
      into lmy002.wdf.sap.corp:/home/georg/work/mysql/bugs/mysql-5.0_5501
      
      
      mysql-test/r/information_schema.result:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      92fb1b51
    • unknown's avatar
      Merge mishka.local:/home/my/mysql-4.1 · 774e36fd
      unknown authored
      into  mishka.local:/home/my/mysql-5.0
      
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/deleted/.del-Grep.cpp~ad798e9ae519d667:
        Auto merged
      BitKeeper/deleted/.del-Grep.hpp~b05e3af6cfabe387:
        Auto merged
      BitKeeper/deleted/.del-ctype_cp932.result:
        Auto merged
      BitKeeper/deleted/.del-ctype_cp932.test:
        Auto merged
      BitKeeper/deleted/.del-have_lowercase0.inc:
        Delete: mysql-test/include/have_lowercase0.inc
      VC++Files/mysql-test/mysql_test_run_new.dsp:
        Auto merged
      configure.in:
        Auto merged
      mysql-test/include/ps_conv.inc:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/examples/ha_archive.cc:
        Auto merged
      sql/examples/ha_example.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      VC++Files/client/mysqltest.dsp:
        manual merge
      VC++Files/sql/mysqld.dsp:
        manual merge
      mysql-test/r/grant2.result:
        patch merge
      mysql-test/r/subselect2.result:
        manual merge
      mysql-test/t/grant2.test:
        patch merge
      mysys/charset.c:
        Remove already deleted function
      sql/examples/ha_archive.h:
        Manual merge
      sql/sql_acl.cc:
        manual merge
      sql/sql_db.cc:
        merge (no differences)
      sql/sql_select.cc:
        manual merge
      sql/table.h:
        merge (no differences)
      tests/mysql_client_test.c:
        patch merge
      774e36fd
    • unknown's avatar
      disabled.def: · c36900a8
      unknown authored
        Disabled unstable tests, bugs filed
      
      
      mysql-test/t/disabled.def:
        Disabled unstable tests, bugs filed
      c36900a8
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 11fe36f8
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      11fe36f8
    • unknown's avatar
      Fix for building without --without-server, which was broken by fix · 7aecc12a
      unknown authored
      for building with --without-server.
      
      
      configure.in:
        Re-add mysys to sql_server_dirs, so it is built before dbug.
      7aecc12a
  2. 24 Aug, 2005 11 commits
    • unknown's avatar
      ha_tina.cc: · 49641c49
      unknown authored
        Some lack madvice()
      
      
      sql/examples/ha_tina.cc:
        Some lack madvice()
      49641c49
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-11680 · 0cd3d729
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      configure.in:
        Auto merged
      sql/hostname.cc:
        Resolve conflict
      0cd3d729
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-12562 · 31069fb0
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      31069fb0
    • unknown's avatar
      Make SYSDATE() behave as in Oracle: always the current datetime, not the · 5ca3dfe7
      unknown authored
      datetime of when the current statement began. This also makes SYSDATE()
      not safe in replication. (Bug #12562)
      
      
      mysql-test/r/func_time.result:
        Add new results
      mysql-test/t/func_time.test:
        Add tests for new SYSDATE() behavior
      sql/item_timefunc.cc:
        Add Item_func_sysdate_local implementation
      sql/item_timefunc.h:
        Add Item_func_sysdate_local, so SYSDATE() can behave differently
        than NOW().
      sql/lex.h:
        SYSDATE() is no longer an alias for NOW().
      sql/sql_yacc.yy:
        Handle SYSDATE()
      5ca3dfe7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 9156c654
      unknown authored
      into  mishka.local:/home/my/mysql-5.0
      
      
      sql/sql_base.cc:
        Auto merged
      9156c654
    • unknown's avatar
      Cleanups during review of new code · 9fbd86a2
      unknown authored
      Removed ASSERT that can obviously never be wrong
      
      9fbd86a2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · f02c1c2b
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0.12
      
      f02c1c2b
    • unknown's avatar
      Correction of fix for bug #12280 "Triggers: crash if flush tables". · 13b9e4c9
      unknown authored
      We should not assume that "thd" argument of reload_acl_and_cache() is
      non-zero. Failure to do so will cause server to crash when one sends
      SIGHUP to it.
      
      
      sql/sql_parse.cc:
        reload_acl_and_cache():
          When we call this function from SIGHUP handler we pass 0 as "thd" argument
          to it. So we should not assume that thd is non-zero in it.
      13b9e4c9
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 9ced1d5c
      unknown authored
      into  mishka.local:/home/my/mysql-4.1
      
      9ced1d5c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 30e6e0e6
      unknown authored
      into  mishka.local:/home/my/mysql-4.1
      
      30e6e0e6
    • unknown's avatar
      Review fixes · e497d7fc
      unknown authored
      
      mysql-test/r/ctype_cp932.result:
        Remove first event to make things portable
      mysql-test/r/rpl_drop_db.result:
        Use 'mysqltest' as database instead of 'd1'
        Made test faster by using longer table names instead of lots of tables
      mysql-test/t/ctype_cp932.test:
        Remove first event to make things portable
      mysql-test/t/rpl_drop_db.test:
        Use 'mysqltest' as database instead of 'd1'
        Made test faster by using longer table names instead of lots of tables
      sql/sql_db.cc:
        Indentation & style fixes
        Simple optimization (remove constant and boolean variable)
      e497d7fc