1. 16 Feb, 2006 13 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb-new · ba02b2e4
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
      
      
      ba02b2e4
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-ndb · 0a7677b9
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      0a7677b9
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 802afca7
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      802afca7
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1 · b6717496
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-bug8841
      
      
      b6717496
    • unknown's avatar
      Merge... · 13adc06f
      unknown authored
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/bug17411-thisisaverylongnamethatshouldbewaylongerthanthe128limitthatweprivouslyhadbutireallywantotestitandseethatitdoesreallywork.nowitshouldbeabout160charslongnonow.iwonderifanythingwillchokeornotwiththisoutrageouslylongpathname
      into  mysql.com:/home/stewart/Documents/MySQL/5.1/new
      
      
      storage/ndb/include/util/File.hpp:
        Auto merged
      storage/ndb/src/common/portlib/NdbConfig.c:
        Auto merged
      storage/ndb/src/common/util/File.cpp:
        Auto merged
      13adc06f
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main · 82f64553
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/bug17411-thisisaverylongnamethatshouldbewaylongerthanthe128limitthatweprivouslyhadbutireallywantotestitandseethatitdoesreallywork.nowitshouldbeabout160charslongnonow.iwonderifanythingwillchokeornotwiththisoutrageouslylongpathname
      
      
      82f64553
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 7141bfd0
      unknown authored
      into lmy004.:/work/mysql-5.1-bug16406
      
      
      7141bfd0
    • unknown's avatar
      small post-merge fixes for bug#16406 · 89f598ee
      unknown authored
      (pre-push)
      
      
      mysql-test/r/events.result:
        update result
      mysql-test/t/events.test:
        few more tests
      sql/event.cc:
        fix compilation failure after big merge
      sql/event.h:
        initialize s_ctx to be the context to be used.
        don't use sphead->m_security_ctx but we will copy 
        the initted ctx to there
      sql/event_timed.cc:
        -initialize s_ctx to be the context to be used.
        don't use sphead->m_security_ctx but we will copy 
        the initted ctx to there
        
        - first init the context
        - then compile the event
        - and then copy the context
        - don't use mysql_change_db() for now change_security_context() gets the
          right context info
      89f598ee
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · bd24b49e
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster_binlog.cc:
        Auto merged
      bd24b49e
    • unknown's avatar
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 51e1a5f8
      unknown authored
      into lmy004.:/work/mysql-5.1-bug16406
      
      
      51e1a5f8
    • unknown's avatar
      Small post-merge fix to partition test · a7da76f2
      unknown authored
      
      mysql-test/r/partition.result:
        Update results
      mysql-test/t/partition.test:
        Add missing drop table
      a7da76f2
    • unknown's avatar
      merge · 74b2989d
      unknown authored
      
      mysql-test/r/events.result:
        Auto merged
      mysql-test/t/events.test:
        Auto merged
      sql/event_priv.h:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/event.cc:
        manual merge
      sql/event.h:
        manual merge
      sql/event_executor.cc:
        manual merge
      sql/event_timed.cc:
        manual merge
      74b2989d
  2. 15 Feb, 2006 27 commits
    • unknown's avatar
      fix for bug#16406 (Events: DROP DATABASE doesn't automatically drop events) · fea4742d
      unknown authored
      WL#1034
      - This changeset also changes the executor so its quite more stable now.
        Stressing test case added that executes ~800 events per second and dropping
        hundreds of events at once using DROP DATABASE.
      (with fixes after review of JimW)
      (with fixes after review of Serg)
      
      
      mysql-test/r/events.result:
        update results after TRIGGER_ACL was added
      mysql-test/t/events.test:
        -redundant line
      sql/event.cc:
        Implemented evex_db_drop_events() which drops all events
        from a specific database. Needed for SQLCOM_DROP_DATABASE
      sql/event.h:
        - protect the event better (see the changes to event_executor.cc
          and event.cc). An event object could be used in a spawned thread
          before it's executed but till now the object is marked as being
          executed when the anonymous sp_head is executed. However, there are
          timeframes before and after that during which the event is not marked
          as executed and other thread may delete the object -> so we end with
          a nirvana pointer.
      sql/event_executor.cc:
        - extract some of the code executed in the main thread to a function. Too long
          functions are bad for the overview.
        - prepend all information/error messages to the console with "SCHEDULER:" for
          better overview, and easied searching in the log tables.
      sql/event_priv.h:
        - change the name, of evex_db_find_event_by_name() and don't
          used C++ features like function overloading
        - define consts for result returned from event_timed::spawn_now()
      sql/event_timed.cc:
        - add few methods related to event execution.
          now the event spawns the worker thread and
          passes itself as parameter. This way it locks itself for exectution
          first and then spawning -> no race condition. When the worker thread
          has finished working with the reference it calls back
          event_timed::spawn_thread_finish() to unlock itself.
      sql/sql_db.cc:
        - call evex_drop_db_events() on DROP DATABASE
      fea4742d
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · b87e0993
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      b87e0993
    • unknown's avatar
      build fixes · ea8a26c6
      unknown authored
      
      sql/event.cc:
        - make this not unsigned. gcc complains
      sql/event_timed.cc:
        acl_getroot_no_password() is not there in libmysqld, disable it's usage
        in this case.
      sql/set_var.cc:
        fix for the broken build of Serg. gcc seems to be pretty happy without
        the return and returns the value of the last statement
      ea8a26c6
    • unknown's avatar
      more cosmetic before push of fix for bug#17289 · 4e2b90b1
      unknown authored
      
      sql/event_timed.cc:
        - fix comment
        - use mysql_change_db() this will check for us
      4e2b90b1
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · 256d9e53
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      256d9e53
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1 · 78bec853
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-bug8841
      
      
      78bec853
    • unknown's avatar
      merging before test + push · 8fd74f31
      unknown authored
      
      mysql-test/r/events.result:
        Auto merged
      mysql-test/t/events.test:
        Auto merged
      sql/event.h:
        Auto merged
      sql/event_timed.cc:
        manual merge
      8fd74f31
    • unknown's avatar
      cosmetic post-review changes · c6e5c2bc
      unknown authored
      
      mysql-test/r/events.result:
        result fixed
      sql/event_executor.cc:
        cosmetic changes to show the definer of the event
      c6e5c2bc
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 5a888df6
      unknown authored
      into lmy004.:/work/mysql-5.1-bug16410
      
      
      5a888df6
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 700ff439
      unknown authored
      into lmy004.:/work/mysql-5.1-bug16410
      
      
      700ff439
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 007df6e0
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.1
      
      
      007df6e0
    • unknown's avatar
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-clean · 2d8e733d
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      client/mysqltest.c:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/r/mysqltest.result:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      BitKeeper/deleted/.del-ndb_load.result:
        Auto merged
      BitKeeper/deleted/.del-ndb_load.test:
        Auto merged
      mysql-test/t/disabled.def:
        Resolve conflict
      2d8e733d
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.1-16782 · 90717a3b
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      sql/ha_partition.cc:
        Auto merged
      mysql-test/r/partition.result:
        Resolve conflicts
      mysql-test/t/partition.test:
        Resolve conflicts
      90717a3b
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.1-16775 · 59f2e885
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      sql/ha_partition.cc:
        Auto merged
      mysql-test/r/partition.result:
        Resolve conflicts
      mysql-test/t/partition.test:
        Resolve conflicts
      59f2e885
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-clean · 89dced9c
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      client/mysqldump.c:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      89dced9c
    • unknown's avatar
      Bug #16782: Partitions: crash, REPLACE .. on table with PK, DUPLICATE · 44a2ccc1
      unknown authored
      KEY event. Partitioning wrongly claimed to be able to handle HA_DUPP_POS
      when it was supported by the underlying storage engine, which resulted
      in a crash when handling REPLACE statements.
      
      
      mysql-test/r/partition.result:
        Add new results
      mysql-test/t/partition.test:
        Add regression test
      sql/ha_partition.cc:
        Fix list of table flags that are not passed through for partitioned
        tables, and add HA_DUPP_POS to that list. Also, handle HA_EXTRA_FLUSH_CACHE
        in ha_partition::extra().
      44a2ccc1
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 2974245c
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      libmysql/libmysql.c:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      2974245c
    • unknown's avatar
      Fix the coding style in a few new files. · 9d5bf35d
      unknown authored
      9d5bf35d
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 751ca014
      unknown authored
      into lmy004.:/work/mysql-5.1-bug17289
      
      
      751ca014
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · 5d6985c4
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      5d6985c4
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 9849b248
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      9849b248
    • unknown's avatar
      fix 'make dist' · cbe0db42
      unknown authored
      cbe0db42
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 03a0eb63
      unknown authored
      into lmy004.:/work/mysql-5.1-bug16410
      
      
      03a0eb63
    • unknown's avatar
      fix for bug#16410 (Events: CREATE EVENT is legal in a CREATE TRIGGER statement) · 2557f80f
      unknown authored
      WL#1034 (Internal CRON)
      (post-post-review updates)
      
      
      
      mysql-test/r/events.result:
        update results file
      mysql-test/t/events.test:
        add test for Bug #16410  Events: CREATE EVENT is legal in a CREATE TRIGGER statement
      sql/sp_head.cc:
        CREATE/ALTER/DROP event mean explicit commit, so they are not allowed in
        a FUNCTION/TRIGGER. Fixes bug#16410
      sql/sql_parse.cc:
        - end active transaction for CREATE/ALTER/DROP EVENT because
          they are DDL statements.
      2557f80f
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · a7abbd91
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      a7abbd91