1. 04 May, 2006 7 commits
  2. 03 May, 2006 22 commits
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 82debf53
      unknown authored
      into  production.mysql.com:/usersnfs/svojtovich/mysql-5.0
      
      82debf53
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0 · 288aaf1a
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.0.mrg
      
      
      sql/sql_table.cc:
        Auto merged
      288aaf1a
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9bf3234c
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my50
      
      
      mysql-test/r/ndb_blob.result:
        Auto merged
      mysql-test/t/ndb_blob.test:
        Auto merged
      ndb/include/kernel/signaldata/TcKeyReq.hpp:
        Auto merged
      ndb/include/ndbapi/NdbBlob.hpp:
        Auto merged
      ndb/src/ndbapi/NdbBlob.cpp:
        Auto merged
      ndb/test/ndbapi/testBlobs.cpp:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      ndb/tools/delete_all.cpp:
        nuts
      9bf3234c
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 644d0b9d
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-ss521
      
      644d0b9d
    • unknown's avatar
      Applied innodb-5.0-ss521 snapshot. · b055c169
      unknown authored
       Fixed BUG#19366: "consistent_snapshot.test fails".
      
      
      innobase/include/dict0dict.ic:
        Applied innodb-5.0-ss521 snapshot.
         Remove too strict assertions from some dict_table_t
         accessor functions (bug #19366).
      b055c169
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-4.1 · 3d57e628
      unknown authored
      into mysql.com:/home/hf/work/mysql-4.1.mrg
      
      3d57e628
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4581901b
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-4.1-ss26
      
      4581901b
    • unknown's avatar
      Merge mysql.com:/home/alexi/innodb/mysql-4.1-ss26-work · e5dc6c7f
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-ss521-work
       Null-merge.
      
      
      innobase/include/dict0dict.ic:
        Null-merge.
      e5dc6c7f
    • unknown's avatar
      Applied innodb-4.1-ss26 snapshot. · 6d74e0ee
      unknown authored
       Fixed BUG#19366: "consistent_snapshot.test fails".
      
      
      innobase/include/dict0dict.ic:
        Applied innodb-4.1-ss26 snapshot.
         Remove too strict assertions from some dict_table_t
         accessor functions (Bug#19366).
      6d74e0ee
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-4.1 · 5fe0c00d
      unknown authored
      into mysql.com:/home/hf/work/mysql-4.1.mrg
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      5fe0c00d
    • unknown's avatar
      merging fix · 44832fa7
      unknown authored
      44832fa7
    • unknown's avatar
      merging fix · 2614a125
      unknown authored
      2614a125
    • unknown's avatar
      Merge mysql.com:/home/hf/work/mysql-5.0.18455 · 672ec2e8
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.0.mrg
      
      672ec2e8
    • unknown's avatar
      merging · dc52a279
      unknown authored
      
      mysql-test/t/sp_notembedded.test:
        Auto merged
      dc52a279
    • unknown's avatar
      merging · 22482ca0
      unknown authored
      
      sql/handler.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      22482ca0
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · f586163f
      unknown authored
      into  april.(none):/home/svoj/devel/mysql/BUG17810/mysql-5.0
      
      f586163f
    • unknown's avatar
      Merge april.(none):/home/svoj/devel/mysql/BUG18160/mysql-5.0 · d424fe72
      unknown authored
      into  april.(none):/home/svoj/devel/mysql/BUG17810/mysql-5.0
      
      d424fe72
    • unknown's avatar
      merging · 1dfc1e03
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/analyze.result:
        Auto merged
      mysql-test/t/analyze.test:
        Auto merged
      mysql-test/t/mysql_client_test.test:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      1dfc1e03
    • unknown's avatar
      Merge hf@192.168.21.28:work/mysql-4.1.16892 · 010cd169
      unknown authored
      into mysql.com:/home/hf/work/mysql-4.1.mrg
      
      010cd169
    • unknown's avatar
      Merge mysql.com:/home/hf/work/mysql-4.1.15442 · 5267bc2b
      unknown authored
      into mysql.com:/home/hf/work/mysql-4.1.mrg
      
      5267bc2b
    • unknown's avatar
      Merge mysql.com:/home/hf/work/mysql-4.1.15225 · 864d8312
      unknown authored
      into mysql.com:/home/hf/work/mysql-4.1.mrg
      
      
      sql/sql_table.cc:
        Auto merged
      864d8312
    • unknown's avatar
      Fixed bug #14292: performance degradation for a benchmark query. · 80ab59b4
      unknown authored
      This performance degradation was due to the fact that some
      cost evaluation code added into 4.1 in the function find_best was
      not merged into the code of the function best_access_path added
      together with other code for greedy optimizer.
      Added a parameter to the function print_plan. The parameter contains
      accumulated cost for a given partial join.
       
      The patch does not include a special test case since this performance
      degradation is hard to reproduse with a simple example.
      
      TODO: make the function find_best use the function best_access_path
      in order to remove duplication of code which might result in incomplete
      merges in the future.
      
      
      mysql-test/r/delete.result:
        Fixed bug #14292: performance degradation for a benchmark query.
        Adjusted test results.
      mysql-test/r/subselect.result:
        Fixed bug #14292: performance degradation for a benchmark query.
        Adjusted test results.
      sql/mysql_priv.h:
        Fixed bug #14292: performance degradation for a benchmark query.
        Added a parameter to the function print_plan. The parameter contains
        accumulated cost for a given partial join.
      sql/sql_select.cc:
        Fixed bug #14292: performance degradation for a benchmark query.
        This performance degradation was due to the fact that some
        cost evaluation code added into 4.1 in the function find_best was
        not merged into the code of the function best_access_path added
        together with other code for greedy optimizer.
      sql/sql_test.cc:
        Fixed bug #14292: performance degradation for a benchmark query.
        Added a parameter to the function print_plan. The parameter contains
        accumulated cost for a given partial join.
      80ab59b4
  3. 02 May, 2006 11 commits
    • unknown's avatar
      pekka:get - push push push · 435f3396
      unknown authored
      
      BitKeeper/etc/config:
        pekka:get
      435f3396
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 1061384b
      unknown authored
      into  zippy.(none):/home/cmiller/work/mysql/mysql-5.0__bug17667
      
      1061384b
    • unknown's avatar
      An update to as-yet unused new feature of snprintf, which was added to bring · 8106f47f
      unknown authored
      our sprintf()-alike in sync with our fprintf()-alike features.
      
      
      strings/my_vsnprintf.c:
        Advance the destination pointer properly.
        
        Also, pay attention to the "n" in snprintf() -- never write too much.
      8106f47f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · e4aa059f
      unknown authored
      into  mysql.com:/home/dlenev/mysql-5.0-bg11081
      
      e4aa059f
    • unknown's avatar
      ndb - bug#19201 (4.1), see comment in NdbBlob.cpp · 9c1067c1
      unknown authored
      
      ndb/test/ndbapi/testBlobs.cpp:
        option -fac (fetch across commit)
      ndb/tools/delete_all.cpp:
        option --transactional (default remains truncate)
      mysql-test/r/ndb_blob.result:
        bug#19201
      mysql-test/t/ndb_blob.test:
        bug#19201
      ndb/include/kernel/signaldata/TcKeyReq.hpp:
        bug#19201
      ndb/include/ndbapi/NdbBlob.hpp:
        bug#19201
      ndb/src/ndbapi/NdbBlob.cpp:
        bug#19201
      9c1067c1
    • unknown's avatar
      Fix a bunch of non-Linux compile failures. · f3263ebf
      unknown authored
      
      VC++Files/mysql.sln:
        mysql_client_test depends on mysys.
      VC++Files/mysys/mysys.vcproj:
        Add new file missing in previous push.
      mysys/my_memmem.c:
        Fix illegal pointer arithmetics on void *.
      tests/Makefile.am:
        -L must go before -l
      tests/mysql_client_test.c:
        No declarations after statement in C code.
      f3263ebf
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 7d00f8eb
      unknown authored
      into  mysql.com:/usr/home/ram/work/4.1.b7643
      
      
      sql/sql_table.cc:
        Auto merged
      7d00f8eb
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 32700147
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.0.clean
      
      32700147
    • unknown's avatar
      Win build fix · e815532b
      unknown authored
      e815532b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 3a284d5d
      unknown authored
      into  zippy.(none):/home/cmiller/work/mysql/mysql-5.0__bug17667
      
      
      mysys/Makefile.am:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      3a284d5d
    • unknown's avatar
      SECURITY FIX · f57754d7
      unknown authored
      Bug#17667: An attacker has the opportunity to bypass query logging.
      
      This adds a new, local-only printf format specifier to our *printf functions
      that allows us to print known-size buffers that must not be interpreted as 
      NUL-terminated "strings."
      
      It uses this format-specifier to print to the log, thus fixing this 
      problem.
      
      
      include/my_sys.h:
        Add prototype for my_memmem() .
      mysys/Makefile.am:
        Add reference to new file, my_memmem.c
      mysys/mf_iocache2.c:
        Add a "%.1234b" and "%.*b" percent-code.  It takes a width, just like "%s", 
        but unlike the string-indicator, it requires the width and doesn't stop printing
        at NUL characters.
        
        Also, simplify the code a bit.
        
        TODO:  This code should be unified with the strings/my_vnsprintf.c code in 
        the future.
      sql/sql_parse.cc:
        The query is not a C-string, but is a sized buffer, containing any character 
        at all, which may include NUL characters.
      strings/my_vsnprintf.c:
        Add a "%.1234b" and "%.*b" percent-code.  It takes a width, just like "%s", 
        but unlike the string-indicator, it requires the width and doesn't stop printing
        at NUL characters.
      tests/Makefile.am:
        We may need some of our local functions.
      tests/mysql_client_test.c:
        Add a "%.1234b" and "%.*b" percent-code.  It takes a width, just like "%s", 
        but unlike the string-indicator, it requires the width and doesn't stop printing
        at NUL characters.
      mysql-test/t/mysql_client_test.opt:
        New BitKeeper file ``mysql-test/t/mysql_client_test.opt''
        
        Add '--log' server parameter.
      mysys/my_memmem.c:
        New BitKeeper file ``mysys/my_memmem.c''
        
        Implement memmem, a black-box work-alike of the GNU memmem(), which functions
        like strstr() but for arbitrary blocks of memory.
      f57754d7