1. 01 May, 2005 2 commits
  2. 30 Apr, 2005 7 commits
    • unknown's avatar
      After merge fixes · 8d06dc45
      unknown authored
      
      Makefile.am:
        Added target test-force
      mysql-test/r/cast.result:
        Updated results after merge
      8d06dc45
    • unknown's avatar
      Merge with 4.1 · 37613385
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      configure.in:
        Auto merged
      include/config-win.h:
        Auto merged
      include/my_global.h:
        Auto merged
      mysql-test/r/drop.result:
        Auto merged
      mysys/default.c:
        Auto merged
      mysys/mf_keycache.c:
        Auto merged
      sql/field.h:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      BitKeeper/deleted/.del-errmsg.txt~f96b7055cac394e:
        Auto merged
      mysql-test/r/cast.result:
        Merge
      mysql-test/t/cast.test:
        Merge
      sql/sql_insert.cc:
        Merge
      sql/sql_select.cc:
        Merge
      37613385
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · b6b13d73
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      tests/mysql_client_test.c:
        Auto merged
      b6b13d73
    • unknown's avatar
      A fix and a test case for Bug#9520 "SELECT DISTINCT crashes server · d20d0013
      unknown authored
      with cursor". The patch refactors do_select/sub_select
      functions, which implement the nested loop algorithm, and reuses them to
      fetch rows for cursors as well.
      Pushing with view.test failing (--ps-protocol).
      
      
      sql/sql_prepare.cc:
         Cursor::fetch() now returns void
      sql/sql_select.cc:
        A fix for Bug#9520 "SELECT DISTINCT crashes server with cursor":
        * rename sub_select returns codes to be able to track down what's going
          on in which case.
        * move record processing and outer join record processing to a separate
          function, out of sub_select read-record loop.
        * use generalized sub_select() nested loop function for
        cursors instead of own loop implementation used in Cursor::fetch() before
      sql/sql_select.h:
        Replace all return values of sub_select family with enum.
        Add JOIN::resume_nested_loop flag to indicate we are restarting the nested loop
        for execution of next chunk of cursor's rows.
      tests/mysql_client_test.c:
        A test case for Bug#9520 "SELECT DISTINCT crashes server with cursor"
      d20d0013
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 906cace6
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      sql/handler.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      906cace6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 67c13e87
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/sql_select.cc:
        Auto merged
      67c13e87
    • unknown's avatar
      Setting a variable to CAST(NULL as X) set the result type of the variable to X. (Bug #6598) · de3d34b7
      unknown authored
      
      mysql-test/r/bigint.result:
        Test to show show that the parser threats big longlong values as unsigned
      mysql-test/r/user_var.result:
        Test of CAST(NULL as SIGNED/UNSIGNED)
      mysql-test/t/bigint.test:
        Test to show show that the parser threats big longlong values as unsigned
      mysql-test/t/user_var.test:
        Test of CAST(NULL as SIGNED/UNSIGNED)
      sql/item_func.cc:
        Setting a variable to CAST(NULL as X) set the result type of the variable to X. (Bug #6598)
        Setting a variable to NULL doesn't change the old result type.
      sql/item_func.h:
        Detect setting a variable to NULL
      sql/unireg.cc:
        Safety fix
      de3d34b7
  3. 29 Apr, 2005 19 commits
  4. 28 Apr, 2005 12 commits
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 5b4a2439
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug9821
      
      
      sql/sql_parse.cc:
        Auto merged
      5b4a2439
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1-4100 · 91f6ad72
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-5000
      
      
      include/my_sys.h:
        Auto merged
      myisam/myisampack.c:
        Auto merged
      sql/ha_myisammrg.cc:
        Auto merged
      91f6ad72
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 52d79dbf
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug9298-merge
      
      52d79dbf
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1-bug5964 · 9d9a1a9c
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-4100
      
      9d9a1a9c
    • unknown's avatar
      BUG#5964 - 4.1 MERGE tables regression from 4.0 · d9533bf6
      unknown authored
      Changed the creation of the .MRG file so that only the table  name
      is written when the MyISAM table is in the same database as the
      MERGE table, a relative path is used in other cases in mysqld,
      and possibly an absolute path is used in an embedded server.
      No test case is added as the external behaviour is unchanged.
      Only the file names within the .MRG file are changed.
      
      
      include/my_sys.h:
        BUG#5964 - 4.1 MERGE tables regression from 4.0
        Added declaration for a new function.
      myisammrg/myrg_open.c:
        BUG#5964 - 4.1 MERGE tables regression from 4.0
        Changed check for absolute path to check for any path.
      mysys/my_getwd.c:
        BUG#5964 - 4.1 MERGE tables regression from 4.0
        Added a new functions which checks for absolute _or_
        relative paths.
      sql/ha_myisammrg.cc:
        BUG#5964 - 4.1 MERGE tables regression from 4.0
        Changed the creation of the .MRG file so that only the table  name
        is written when the MyISAM table is in the same database as the
        MERGE table, a relative path is used in other cases in mysqld,
        and possibly an absolute path is used in an embedded server.
      d9533bf6
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · b4a024ea
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-bug9298
      
      b4a024ea
    • unknown's avatar
      Fix tiny typo in configure.in · 3b457f0c
      unknown authored
      
      configure.in:
        Fix typo
      3b457f0c
    • unknown's avatar
      Bug#8321 - myisampack bug in compression algorithm · 6aab4f49
      unknown authored
      Merge from 4.0.
      
      6aab4f49
    • unknown's avatar
      Bug#8321 - myisampack bug in compression algorithm · 0cb74803
      unknown authored
      This is the second of three changesets. It contains the pure bug fix.
      It also contains the second after-review fixes.
      The problem was that with gcc on x86, shifts are done modulo word size. 
      'value' is 32 bits wide and shifting it by 32 bits is a no-op.
      This was triggered by an evil distribution of character incidences. 
      A distribution of 2917027827 characters made of 202 distinct values led to
      34 occurrences of 32-bit Huffman codes.
      This might have been the first time ever that write_bits() had to write
      32-bit values. Since it can be expected that one day even 32 bits might
      be insufficient, the third changeset suggests to enlarge some variables
      to 64 bits.
      
      0cb74803
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 3e090cba
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      3e090cba
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 · fbbdc900
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      configure.in:
        Auto merged
      fbbdc900
    • unknown's avatar
      Removing duplicate AC_PREREQ macros · 9d0f5ac0
      unknown authored
      Setting AC_PREREQ required version to 2.50 until we have sorted out what is required. The manual says 2.58.
      
      
      configure.in:
        Removing duplicate AC_PREREQ macros
      9d0f5ac0