1. 16 Jan, 2006 12 commits
    • unknown's avatar
      A test case for Bug#7670 "Loss of precision for some integer · e1c4d6d8
      unknown authored
      values stored into DOUBLE column" (Can't repeat)
      
      
      mysql-test/r/type_decimal.result:
        Test results fixed (Bug#7670)
      mysql-test/t/type_decimal.test:
        A test case for Bug#7670
      e1c4d6d8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · a4a906b9
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug6554/my50-bug6554
      
      
      a4a906b9
    • unknown's avatar
      Merge mysql.com:/usr/local/mysql/mysql-5.x-win-test-fixes · 14add413
      unknown authored
      into  mysql.com:/usr/local/mysql/mysql-5.0-win-test-fixes
      
      
      mysql-test/mysql-test-run.pl:
        Manual merge.
      14add413
    • unknown's avatar
      Two minor fixes to be able to run tests from within a Windows Max · 3f591866
      unknown authored
      build directory.
      
      
      3f591866
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 9a598709
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug6554/my50-bug6554
      
      
      9a598709
    • unknown's avatar
      Restore fix for bug #15108 (by ramil) erroneously erased · 0564fc4e
      unknown authored
       by applying innodb-5.0-ss115 snapshot.
      
      
      0564fc4e
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · cf22d33a
      unknown authored
      into  mysql.com:/home/alexi/innodb-ss/mysql-5.0-ss115
      
      
      cf22d33a
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug6554/my41-bug6554 · 1c1612c7
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug6554/my50-bug6554
      
      
      sql/ha_berkeley.cc:
        Auto merged
      1c1612c7
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug6554/my40-bug6554 · 7e556fc1
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug6554/my41-bug6554
      
      
      sql/ha_berkeley.cc:
        Merge 4.0 -> 4.1, change is already in 4.1
      7e556fc1
    • unknown's avatar
      Changes from the innodb-5.0-ss115 snapshot. · 7bafd119
      unknown authored
       Fixed bugs:
       BUG#15991: "innodb-file-per-table + symlink database + rename = crash"
       BUG#15650: "DELETE with LEFT JOIN crashes server"
       BUG#15308: "Problem of Order with Enum Column in Primary Key"
       BUG#14189: "VARBINARY and BINARY variables: trailing space ignored"
      
      
      innobase/include/data0type.h:
        Changes from the innodb-5.0-ss115 snapshot.
      innobase/include/data0type.ic:
        Changes from the innodb-5.0-ss115 snapshot.
         Fixed bug #14189. dtype_get_pad_char(): Do not pad VARBINARY
         or BINARY cloumns.
      innobase/include/lock0lock.h:
        Changes from the innodb-5.0-ss115 snapshot.
      innobase/include/os0file.h:
        Changes from the innodb-5.0-ss115 snapshot.
         os_file_handle_error(): Map the error codes EXDEV, ENOTDIR, and
         EISDIR to the new code OS_FILE_PATH_ERROR. Treat this code as
         OS_FILE_PATH_ERROR. This fixes the crash on RENAME TABLE when
         the .ibd file is a symbolic link to a different file system
         (bug#15991).
      innobase/include/row0mysql.h:
        Changes from the innodb-5.0-ss115 snapshot.
      innobase/lock/lock0lock.c:
        Changes from the innodb-5.0-ss115 snapshot.
         lock_rec_unlock(): Initialize local variable release_lock,
         in order to avoid dereferencing an uninitialized pointer
         when no lock exists on rec.
      innobase/os/os0file.c:
        Changes from the innodb-5.0-ss115 snapshot.
         os_file_handle_error(): Map the error codes EXDEV, ENOTDIR, and
           EISDIR to the new code OS_FILE_PATH_ERROR. Treat this code as
           OS_FILE_PATH_ERROR. This fixes the crash on RENAME TABLE when
           the .ibd file is a symbolic link to a different file system
           (bug#15991).
         Protect the increment and decrement operations on the statistic
           variables os_n_pending_writes/reads with os_file_count_mutes.
      innobase/row/row0ins.c:
        Changes from the innodb-5.0-ss115 snapshot.
         Fixed bug #14189. row_ins_cascade_calc_update_vec(): Refuse
         ON UPDATE_CASCADE when trying to change the length of of a
         VARBINARY column that refers to or is referenced by a BINARY
         column. BINARY columns are no longer padded on comparison,
         and thus they cannot be padded on storage either.
      innobase/row/row0mysql.c:
        Changes from the innodb-5.0-ss115 snapshot.
         Fixed bug on unlock_row. In a unlock_row we may unlock
         only the latest lock granted to this transaction to the row.
      innobase/row/row0sel.c:
        Changes from the innodb-5.0-ss115 snapshot.
         Fixed bug #15308.
         Fixed bug #14189: innobase_init(): Assert that
           DATA_MYSQL_BINARY_CHARSET_COLL == my_charset_bin.number.
         After review fixes for unlock bug where unlock released all
           locks transaction requested for a row. Only a latest requested
           lock to a row should be released. Update function comments to
           reflect current state. Persistent cursor should be stored
           whenever select lock type != LOCK_NONE.
      innobase/trx/trx0trx.c:
        Changes from the innodb-5.0-ss115 snapshot.
         trx_commit_off_kernel(): Do not write empty trx->mysql_log_file_name.
      mysql-test/r/innodb.result:
        Changes from the innodb-5.0-ss115 snapshot.
      mysql-test/t/innodb.test:
        Changes from the innodb-5.0-ss115 snapshot.
      sql/ha_innodb.cc:
        Changes from the innodb-5.0-ss115 snapshot.
         Fixed bug #15308.
         Fixed bug #14189: innobase_init(): Assert that
           DATA_MYSQL_BINARY_CHARSET_COLL == my_charset_bin.number.
         After review fixes for unlock bug where unlock released all
           locks transaction requested for a row. Only a latest requested
           lock to a row should be released. Update function comments to
           reflect current state. Persistent cursor should be stored
           whenever select lock type != LOCK_NONE.
      mysql-test/r/innodb_unsafe_binlog.result:
        Changes from the innodb-5.0-ss115 snapshot.
      mysql-test/t/innodb_unsafe_binlog-master.opt:
        Changes from the innodb-5.0-ss115 snapshot.
      mysql-test/t/innodb_unsafe_binlog.test:
        Changes from the innodb-5.0-ss115 snapshot.
         Added testcases for bug #15650.
      7bafd119
    • unknown's avatar
      BUG#6554 Problem Building MySql on Fedora Core 3 · 549d8c3d
      unknown authored
         - Remove the local static var
      
      
      sql/ha_berkeley.cc:
        Remove local static var, make it local in file instead.
      549d8c3d
    • unknown's avatar
      Windows Visual Studio 2003 fixes. · bf38d007
      unknown authored
      
      VC++Files/client/mysqldump.vcproj:
        Add new file that was missing from .vcproj.
      VC++Files/sql/mysqld.vcproj:
        Add new file that was missing from .vcproj.
      bf38d007
  2. 15 Jan, 2006 3 commits
    • unknown's avatar
      Null-merge (innodb-4.1-ss14 is not to be applied to · fe1970d4
      unknown authored
       higher versions)
      
      
      innobase/include/os0file.h:
        Null-merge
      innobase/os/os0file.c:
        Null-merge
      mysql-test/r/innodb.result:
        Null-merge
      mysql-test/t/innodb.test:
        Null-merge
      sql/ha_innodb.cc:
        Null-merge
      fe1970d4
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-4.1 · ab30b3e0
      unknown authored
      into  mysql.com:/home/alexi/innodb-ss/mysql-4.1-ss14
      
      
      ab30b3e0
    • unknown's avatar
      Changes from innodb-4.1-ss14 snapshot · 5497a05a
      unknown authored
       Fixed BUG#14056: Column prefix index on UTF-8 primary key
       causes "Can't find record.."
       Also fixed bug 15991.
      
      
      innobase/include/os0file.h:
        Changes from innodb-4.1-ss14 snapshot
         os_file_hadle_error(): Map the error codes EXDEV, ENOTDIR, and EISDIR
         to the new code OS_FILE_PATH_ERROR. Treat this code as OS_FILE_PATH_ERROR.
         This fixes the crash on RENAME TABLE when the .ibd file is a symbolic
         link to a different file system. (Bug 15991)
      innobase/os/os0file.c:
        Changes from innodb-4.1-ss14 snapshot
         os_file_hadle_error(): Map the error codes EXDEV, ENOTDIR, and EISDIR
         to the new code OS_FILE_PATH_ERROR. Treat this code as OS_FILE_PATH_ERROR.
         This fixes the crash on RENAME TABLE when the .ibd file is a symbolic
         link to a different file system. (Bug 15991)
      mysql-test/r/innodb.result:
        Changes from innodb-4.1-ss14 snapshot
         Fixed BUG#14056: Column prefix index on UTF-8 primary key
         causes "Can't find record.."
      mysql-test/t/innodb.test:
        Changes from innodb-4.1-ss14 snapshot
         Fixed BUG#14056: Column prefix index on UTF-8 primary key
         causes "Can't find record.."
      sql/ha_innodb.cc:
        Changes from innodb-4.1-ss14 snapshot
         Fixed BUG#14056: Column prefix index on UTF-8 primary key
         causes "Can't find record.."
      5497a05a
  3. 14 Jan, 2006 3 commits
    • unknown's avatar
      A post-merge fix (Bug#12734) · 4e107f11
      unknown authored
      
      mysql-test/r/ps.result:
        A post-merge fix.
      4e107f11
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-12734 · e0c3bda7
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      mysql-test/r/ps.result:
        Manual merge
      mysql-test/t/ps.test:
        Manual merge
      sql/item_cmpfunc.h:
        Manual merge
      e0c3bda7
    • unknown's avatar
      A fix and a test case for Bug#12734 " prepared statement may · 04a78106
      unknown authored
      return incorrect result set for a select SQL request"
      
      
      mysql-test/r/ps.result:
        Test results fixed (Bug#12734)
      mysql-test/t/ps.test:
        A test case for Bug#12734
      sql/item_cmpfunc.cc:
        Reset canDoTurboBM in Item_func_like::cleanup()
      sql/item_cmpfunc.h:
        Add Item_func_like::cleanup()
      04a78106
  4. 13 Jan, 2006 18 commits
  5. 12 Jan, 2006 4 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 3bf3bb20
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-bg12198-2
      
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      3bf3bb20
    • unknown's avatar
      Fix for bug #12198 "Temporary table aliasing does not work inside stored · c12a3dfe
      unknown authored
      functions".
      
      We should ignore alias when we check if table was already marked as temporary
      when we calculate set of tables to be prelocked. Otherwise we will erroneously
      treat tables which are used in same routine and have same name but different
      alias as non-temporary.
      
      
      mysql-test/r/sp.result:
        Added test for bug #12198 "Temporary table aliasing does not work inside stored
        functions" and other tests which cover handling of temporary tables in prelocked
        mode.
      mysql-test/t/sp.test:
        Added test for bug #12198 "Temporary table aliasing does not work inside stored
        functions" and other tests which cover handling of temporary tables in prelocked
        mode.
      sql/sp_head.cc:
        sp_head::merge_table_list():
          We should ignore alias when we check if table was already marked as temporary
          when we calculate set of tables to be prelocked. Otherwise we will erroneously
          treat tables which are used in same routine and have same name but different
          alias as non-temporary.
      c12a3dfe
    • unknown's avatar
      Fixed a bug in merge. · 0f4962c3
      unknown authored
      0f4962c3
    • unknown's avatar
      Fix for Netware build. · 5c28e9c8
      unknown authored
      5c28e9c8