1. 21 Feb, 2006 1 commit
    • unknown's avatar
      Fix race condition: instance map wasn't locked for the · 21aa5867
      unknown authored
      duration of the whole 'flush instances'. As a consequence,
      it was possible to query instance map, while it is in the
      inconsistent state. The patch was reworked after review.
      
      
      server-tools/instance-manager/guardian.cc:
        do not lock instance map in Guardian_thread::init()
      server-tools/instance-manager/instance_map.cc:
        Eliminate race condition: lock instance map and guardian
        for the duration of the whole "FLUSH INSTANCES" execution.
      server-tools/instance-manager/instance_map.h:
        add new method. cleanup interface. add comments.
      server-tools/instance-manager/manager.cc:
        use instance_map.flush_instances instead of instance_map.load() and guardian_thread.init()
      21aa5867
  2. 22 Jan, 2006 1 commit
  3. 21 Jan, 2006 6 commits
    • unknown's avatar
      Merging · 49a09cc3
      unknown authored
      
      mysql-test/r/func_gconcat.result:
        merging
      mysql-test/r/type_float.result:
        merging
      49a09cc3
    • unknown's avatar
      Merging · 494bccf0
      unknown authored
      
      mysql-test/ndb/ndbcluster.sh:
        Auto merged
      mysql-test/r/func_gconcat.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/t/func_math.test:
        Auto merged
      mysql-test/t/type_float.test:
        Auto merged
      sql/spatial.h:
        Auto merged
      mysql-test/r/type_float.result:
        merging
      sql/item_func.cc:
        merging
      494bccf0
    • unknown's avatar
      Merge hf@192.168.21.12:work/mysql-4.1.15429 · ffe11393
      unknown authored
      into eagle.intranet.mysql.r18.ru:/home/hf/work/mysql-4.1.mrg
      
      
      ffe11393
    • unknown's avatar
      Merge hf@192.168.21.12:work/mysql-4.1.14320 · a8e1b468
      unknown authored
      into eagle.intranet.mysql.r18.ru:/home/hf/work/mysql-4.1.mrg
      
      
      a8e1b468
    • unknown's avatar
      Merge hf@192.168.21.12:work/mysql-4.1.9855 · 32fc6800
      unknown authored
      into eagle.intranet.mysql.r18.ru:/home/hf/work/mysql-4.1.mrg
      
      
      sql/item_func.cc:
        Auto merged
      32fc6800
    • unknown's avatar
      Turns out that the bulk interface was not well documented. I fixed the issue... · a207c820
      unknown authored
      Turns out that the bulk interface was not well documented. I fixed the issue in archive and I will go and update the comments in handler next. I should probably also look through the other engines and see if this an issue elsewhere as well. 
      
      
      sql/ha_archive.cc:
        Fixed for bulk_insert
      a207c820
  4. 20 Jan, 2006 3 commits
    • unknown's avatar
      Test case for BUG#16621: INSERTs in Stored Procedures causes data corruption · ff3079c8
      unknown authored
      in the Binary Log.
      
      
      mysql-test/r/rpl_sp.result:
        Update result file.
      mysql-test/t/rpl_sp.test:
        Add test case for BUG#16621: INSERTs in Stored Procedures causes data corruption
        in the Binary Log.
      ff3079c8
    • unknown's avatar
      Fix for BUG#15588: String overrun during sp-vars.test · b688b196
      unknown authored
      The bug appears after implementation of WL#2984
      (Make stored routine variables work according to the standard).
      
      
      mysql-test/r/type_varchar.result:
        Update result file.
      mysql-test/t/type_varchar.test:
        Add a test for BUG#15588.
      sql/field.cc:
        - use memmove() instead of memcpy() -- after implementation of WL#2984
          (Make stored routine variables work according to the standard) it is
          possible to store in the field the value from this field. For instance,
          this can happen for the following statement:
            SET sp_var = SUBSTR(sp_var, 1, 3);
      sql/sp_head.cc:
        - Work correctly with String:
          - String length has to be be reset before use;
          - qs_append() does not allocate memory, so the memory should
            be reserved beforehand.
      sql/sql_select.cc:
        Polishing: should have been done in WL#2984.
      b688b196
    • unknown's avatar
      Fix of fix for BUG#15866. (Actually change the fib() call in sp.test) · 1fe12884
      unknown authored
      
      mysql-test/r/sp.result:
        Updated results.
      mysql-test/t/sp.test:
        Actually change the fib(20) into fib(10).  (Doh!)
      1fe12884
  5. 19 Jan, 2006 19 commits
  6. 18 Jan, 2006 10 commits
    • unknown's avatar
      A fix and a test case for Bug#15613 "libmysqlclient API function · 1e8e302e
      unknown authored
       mysql_stmt_prepare returns wrong field length"
      
      
      sql/protocol.cc:
        A fix for Bug#15613: make sure that result set column length
        is evaluated correctly for BLOB/TEXT columns.
      tests/mysql_client_test.c:
        A test case for Bug#15613
      1e8e302e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · aff3affa
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      aff3affa
    • unknown's avatar
      Merge mysql.com:/extern/mysql/bk/mysql-5.0 · f0fe29f1
      unknown authored
      into  mysql.com:/extern/mysql/work/bug14834/mysql-5.0
      
      
      f0fe29f1
    • unknown's avatar
      Merge mysql.com:/extern/mysql/bk/mysql-5.0 · ccd0ae3c
      unknown authored
      into  mysql.com:/extern/mysql/work/bug14834/mysql-5.0
      
      
      sql/sql_acl.cc:
        Auto merged
      ccd0ae3c
    • unknown's avatar
      Applied patch recieved from Marko: · e3f0690d
      unknown authored
       Make innodb_thread_concurrency 0 by default, and extend the usable
       range from 0 to 1000 (0 disables the thread throttling).
      
      
      innobase/include/srv0srv.h:
        Remove SRV_CONCURRENCY_THRESHOLD. The magic value is 0 from now on.
      innobase/srv/srv0srv.c:
        Remove SRV_CONCURRENCY_THRESHOLD. The magic value is 0 from now on.
      mysql-test/r/innodb.result:
        innodb_thread_concurrency is 0..1000 now, and the default is 0.
      mysql-test/t/innodb.test:
        innodb_thread_concurrency is 0..1000 now.
      sql/ha_innodb.cc:
        Remove SRV_CONCURRENCY_THRESHOLD. The magic value is 0 from now on.
      sql/mysqld.cc:
        innodb_thread_concurrency is 0..1000 now, and 0 (the default)
         disables the thread throttling.
      e3f0690d
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-root · f9bef505
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      BitKeeper/etc/ignore:
        auto-union
      libmysql/Makefile.shared:
        Auto merged
      configure.in:
        Manual merge.
      libmysql/libmysql.c:
        Manual merge.
      tests/mysql_client_test.c:
        Manual merge.
      f9bef505
    • unknown's avatar
      Applied patch recieved from Marko: · 74f499fa
      unknown authored
       Make innodb_flush_log_at_trx_commit a settable global variable.
      
      
      innobase/include/srv0srv.h:
        Change the type of srv_flush_log_at_trx_commit.
      innobase/srv/srv0srv.c:
        Change the type of srv_flush_log_at_trx_commit.
      sql/ha_innodb.cc:
        Remove innobase_flush_log_at_trx_commit.
         (Set srv_flush_log_at_trx_commit directly).
      sql/ha_innodb.h:
        Remove innobase_flush_log_at_trx_commit.
         (Set srv_flush_log_at_trx_commit directly).
      sql/mysqld.cc:
        Bypass the variable innobase innobase_flush_log_at_trx_commit.
      sql/set_var.cc:
        Make innodb_flush_log_at_trx_commit a settable global variable.
      74f499fa
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0 · 596666f7
      unknown authored
      into mysql.com:/M50/merge-5.0
      
      
      596666f7
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0 · ec6ce9a7
      unknown authored
      into mysql.com:/M50/merge-5.0
      
      
      ec6ce9a7
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main · 5755c787
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/bug12124
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      5755c787