1. 16 Jan, 2006 3 commits
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · b10b785e
      unknown authored
      into  mysql.com:/home/alexi/innodb-ss/mysql-5.0-ss115
      
      b10b785e
    • unknown's avatar
      Changes from the innodb-5.0-ss115 snapshot. · d61394cf
      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.
      d61394cf
    • unknown's avatar
      Windows Visual Studio 2003 fixes. · 8a2bc69f
      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.
      8a2bc69f
  2. 15 Jan, 2006 3 commits
    • unknown's avatar
      Null-merge (innodb-4.1-ss14 is not to be applied to · 84462f69
      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
      84462f69
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-4.1 · dba0a848
      unknown authored
      into  mysql.com:/home/alexi/innodb-ss/mysql-4.1-ss14
      
      dba0a848
    • unknown's avatar
      Changes from innodb-4.1-ss14 snapshot · a8cdf556
      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.."
      a8cdf556
  3. 14 Jan, 2006 3 commits
    • unknown's avatar
      A post-merge fix (Bug#12734) · 282977e6
      unknown authored
      
      mysql-test/r/ps.result:
        A post-merge fix.
      282977e6
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-12734 · 8ff5f93a
      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
      8ff5f93a
    • unknown's avatar
      A fix and a test case for Bug#12734 " prepared statement may · 94b55395
      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()
      94b55395
  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 · 57a2516e
      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
      57a2516e
    • unknown's avatar
      Fix for bug #12198 "Temporary table aliasing does not work inside stored · 24fe8535
      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.
      24fe8535
    • unknown's avatar
      Fixed a bug in merge. · 3cfda33b
      unknown authored
      3cfda33b
    • unknown's avatar
      Fix for Netware build. · c31cb1ed
      unknown authored
      c31cb1ed
    • unknown's avatar
      Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 · 53e272e3
      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.
      53e272e3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 99f617e9
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      99f617e9
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/wl2930_fixup/my50-wl2930_fixup · 821e6fba
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      821e6fba
    • unknown's avatar
      8e889525
    • unknown's avatar
      Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.0 · ab58ea55
      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
      ab58ea55
    • unknown's avatar
      NetWare specific change to increase thread stack size. · 0aef5e36
      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.
      0aef5e36
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · f5f31039
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      f5f31039
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 22536aad
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      22536aad
    • unknown's avatar
      sql_show.cc: · ac2ac086
      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
        ,
      ac2ac086