1. 16 Jan, 2006 3 commits
    • 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
      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
      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 13 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
    • unknown's avatar
      Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 · a48380cd
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
      
      
      client/mysqlimport.c:
        Auto merged
      include/config-netware.h:
        Auto merged
      innobase/os/os0thread.c:
        Auto merged
      netware/mysqld_safe.c:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/mysqld.cc:
        Merged from 4.1.
      sql/sql_base.cc:
        Merged from 4.1.
      sql/sql_handler.cc:
        Merged from 4.1.
      sql/sql_select.cc:
        Merged from 4.1.
      a48380cd
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 26252fa2
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      26252fa2
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/wl2930_fixup/my50-wl2930_fixup · 9e49c77c
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      9e49c77c
    • unknown's avatar
      7b77b4c7
    • unknown's avatar
      Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.0 · 1665d237
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1
      
      
      include/config-netware.h:
        Auto merged
      innobase/os/os0thread.c:
        Auto merged
      netware/mysqld_safe.c:
        Merge from 4.0 to 4.1
      sql/mysqld.cc:
        Merge from 4.0 to 4.1
      1665d237
    • unknown's avatar
      NetWare specific change to increase thread stack size. · 2946f9a6
      unknown authored
      Changes to Netware specific mysqld_safe.c
      
      
      include/config-netware.h:
        NetWare specific change to increase thread stack size.
      innobase/os/os0thread.c:
        NetWare specific change to increase thread stack size.
      netware/mysqld_safe.c:
        NetWare specific change to make multiple mysqld_safe instances
        work when called through a NCF file.
      sql/mysqld.cc:
        NetWare specific change to increase thread stack size.
      2946f9a6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 0fa2fdb9
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      
      0fa2fdb9
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 35d46cee
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      35d46cee
    • unknown's avatar
      sql_show.cc: · 46fdcba4
      unknown authored
        after-merge fix for
        bug#15581 COALESCE function truncates mutli-byte TINYTEXT values
      
      
      sql/sql_show.cc:
        after-merge fix for bug#15581 COALESCE function truncates mutli-byte TINYTEXT values
        ,
      46fdcba4