1. 20 Apr, 2007 7 commits
  2. 19 Apr, 2007 33 commits
    • unknown's avatar
      Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50 · 345b7b3b
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
      
      
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/include/mix1.inc:
        Auto merged
      345b7b3b
    • unknown's avatar
      innodb_mysql.test, innodb_mysql.result: · 7777c5e9
      unknown authored
        Fix test case: add drop table
      
      
      mysql-test/t/innodb_mysql.test:
        Fix test case: add drop table
      mysql-test/r/innodb_mysql.result:
        Fix test case: add drop table
      7777c5e9
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint--pthreadkeycreate · e9b6c1dd
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-new-maint
      
      
      mysys/my_thr_init.c:
        Auto merged
      e9b6c1dd
    • unknown's avatar
      Bug #27964: pthread_key_create doesn't set errno, so don't report \ · 4c865ebc
      unknown authored
      	errno
      
      Vasil Dimov (at Oracle) noted that pthread_key_create() does not
      set errno, so if it fails then we return the wrong error code.
      
      Instead, capture the return value, which is the real error value, 
      and instead report that.
      
      
      mysys/my_thr_init.c:
        pthread functions don't set the global errno, which should be
        obvious.
      4c865ebc
    • unknown's avatar
      Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50 · 65824998
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/r/strict.result:
        Auto merged
      mysql-test/t/strict.test:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      mysql-test/include/mix1.inc:
        Manual merge
      mysql-test/r/innodb_mysql.result:
        Manual merge
      65824998
    • unknown's avatar
      innodb_mysql.test, innodb_mysql.result: · 5c1546f2
      unknown authored
        Add test case for Bug #27210: INNODB ON DUPLICATE KEY UPDATE
      
      
      mysql-test/r/innodb_mysql.result:
        Add test case for Bug #27210: INNODB ON DUPLICATE KEY UPDATE
      mysql-test/t/innodb_mysql.test:
        Add test case for Bug #27210: INNODB ON DUPLICATE KEY UPDATE
      5c1546f2
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint · 75e433b4
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      
      mysql-test/r/mysql_upgrade.result:
        Auto merged
      mysql-test/t/mysql_upgrade.test:
        Auto merged
      75e433b4
    • unknown's avatar
      Add replace for varying errno · 53b3cbe2
      unknown authored
      53b3cbe2
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint · 9c096010
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      
      client/mysql_upgrade.c:
        Auto merged
      mysql-test/r/mysql_upgrade.result:
        Auto merged
      mysql-test/t/mysql_upgrade.test:
        Auto merged
      9c096010
    • unknown's avatar
      mysql_upgrade portability fixes · 7496b65e
      unknown authored
      
      client/mysql_upgrade.c:
        Add defines for WEXITSTATUS
        Pass arguments on command line instead of --defaults-file=<temp file>
      mysql-test/r/mysql_upgrade.result:
        When testing that mysql_upgrade detect if mysqlcheck fails, use an option that
        is used on all platforms.
      mysql-test/t/mysql_upgrade.test:
        When testing that mysql_upgrade detect if mysqlcheck fails, use an option that
        is used on all platforms.
      scripts/comp_sql.c:
        Some compilers have a max string length, insert a newline at
        every 512th char in long strings
      7496b65e
    • unknown's avatar
      Post-merge fix of innodb.result · 345d4fc8
      unknown authored
      
      mysql-test/r/innodb.result:
        Move test result after incorrect merge
      345d4fc8
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint · 38cdb71c
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      
      BitKeeper/deleted/.del-CMakeLists.txt~7:
        Auto merged
      38cdb71c
    • unknown's avatar
      mysql_upgrade must depend on GenFixPrivs · 3a0c20e6
      unknown authored
      3a0c20e6
    • unknown's avatar
      mysql_upgrade depends on GenFixPrivs · 699e9c2d
      unknown authored
      699e9c2d
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · 7c33665d
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      
      client/mysql_upgrade.c:
        Auto merged
      7c33665d
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint · 91e3a0a3
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      
      client/mysql_upgrade.c:
        Auto merged
      BitKeeper/deleted/.del-CMakeLists.txt~1:
        Auto merged
      91e3a0a3
    • unknown's avatar
      a45a7ad7
    • unknown's avatar
      mysql_upgrade win fixes · 991fb77f
      unknown authored
      
      client/mysql_upgrade.c:
        Windows fix
      scripts/CMakeLists.txt:
        Fix problems with CMakeList causing build to fail
      scripts/comp_sql.c:
        Improve comp_sql.c to generate output file with shorter strings
      991fb77f
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-maint · a5b5535d
      unknown authored
      into  mysql.com:/home/ram/work/b26851/b26851.5.0
      
      a5b5535d
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.1-maint · 1ea9b7f2
      unknown authored
      into  mysql.com:/home/ram/work/b26851/b26851.5.1
      
      1ea9b7f2
    • unknown's avatar
      Bug#24667 After ALTER TABLE operation ndb_dd table becomes regular ndb, Bug... · 19ec7864
      unknown authored
      Bug#24667  After ALTER TABLE operation ndb_dd table becomes regular ndb, Bug #25296  Truncate table converts NDB disk based tables to in-memory tables: Added more checks in tests
      
      
      19ec7864
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-maint · f7175dcf
      unknown authored
      into  mysql.com:/home/ram/work/b22824/my50-b22824
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      mysql-test/r/strict.result:
        merging
      mysql-test/t/strict.test:
        merging
      f7175dcf
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-maint · 9e897c56
      unknown authored
      into  mysql.com:/home/ram/work/b26851/b26851.5.0
      
      
      client/mysql.cc:
        Auto merged
      9e897c56
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b26851/b26851.5.0 · 4356cf5a
      unknown authored
      into  mysql.com:/home/ram/work/b26851/b26851.5.1
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/r/mysql.result:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      4356cf5a
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b22824/my50-b22824 · a71ce83b
      unknown authored
      into  mysql.com:/home/ram/work/b22824/my51-b22824
      
      
      mysql-test/r/strict.result:
        merging
      mysql-test/t/strict.test:
        merging
      sql/item_cmpfunc.cc:
        merging
      a71ce83b
    • unknown's avatar
      Post-push fix of client/mysqltest.c oops. · 9772be7d
      unknown authored
      
      client/mysqltest.c:
        Actually include "client_priv.h", as intended in previous changeset.
      9772be7d
    • unknown's avatar
      Move WEXITSTATUS #define from mysqltest.c to client_priv.h, and · 36911ee3
      unknown authored
      include client_priv.h in mysqltest.c.  Portability fix.
      
      
      client/client_priv.h:
        Include client_priv.h, for WEXITSTATUS definition.
        
        Remove code which is already in client_priv.h.
        
        Rearrange OPT_* enum to co-exist with options defined in client_priv.h.
      client/mysqltest.c:
        Move WEXITSTATUS #define from mysqltest.c to client_priv.h, as it is
        useful in other clients (in particular, current mysql_upgrade.c won't
        compile without it on some platforms).
        
        Add a final OPT_MAX_CLIENT_OPTION to enum options_client, which can
        be used when a maximum shared client option value is needed.
      36911ee3
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/inno/apr18/50 · 3de44355
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/inno/apr18/51
      
      3de44355
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 708d7dba
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/inno/apr18/51
      
      708d7dba
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 648c3671
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/inno/apr18/50
      
      648c3671
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/inno/apr18/50 · 7abe8cce
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/inno/apr18/51
      
      
      BitKeeper/deleted/.del-configure.in:
        Use local
      mysql-test/r/innodb.result:
        Use local
      mysql-test/t/innodb.test:
        Use local
      mysys/my_alloc.c:
        SCCS merged
      sql/ha_ndbcluster.cc:
        SCCS merged
      sql/item.cc:
        SCCS merged
      sql/item_cmpfunc.cc:
        SCCS merged
      sql/mysqld.cc:
        SCCS merged
      sql/sql_delete.cc:
        SCCS merged
      sql/sql_select.cc:
        SCCS merged
      sql/sql_table.cc:
        SCCS merged
      storage/innobase/handler/ha_innodb.cc:
        Use local
      storage/innobase/handler/ha_innodb.h:
        Use local
      storage/innobase/os/os0file.c:
        Use local
      7abe8cce
    • unknown's avatar
      Applied innodb-5.1-ss1404 snapshot · 878fe479
      unknown authored
      Fixes:
      
      - Bug #26662: mysqld assertion when creating temporary (InnoDB) table on a tmpfs filesystem
        Fix by not open(2)ing with O_DIRECT but rather calling fcntl(2) to set
        this flag immediately after open(2)ing. This way an error caused by
        O_DIRECT not being supported can easily be ignored.
      - Bug #23313: AUTO_INCREMENT=# not reported back for InnoDB tables
      - Bug #21404: AUTO_INCREMENT value reset when Adding FKEY (or ALTER?)
        Report the current value of the AUTO_INCREMENT counter to MySQL.
      
      
      mysql-test/r/innodb.result:
        Applied innodb-5.1-ss1404 snapshot
        
        Revision r1404:
        Report the current value of the AUTO_INCREMENT counter to MySQL.
        (Bug #23313, Bug #21404)
        
        ha_innobase::update_create_info(): New function, to report
        the auto_increment_value.
      mysql-test/t/innodb.test:
        Applied innodb-5.1-ss1404 snapshot
        
        Revision r1404:
        Report the current value of the AUTO_INCREMENT counter to MySQL.
        (Bug #23313, Bug #21404)
        
        ha_innobase::update_create_info(): New function, to report
        the auto_increment_value.
      storage/innobase/handler/ha_innodb.cc:
        Applied innodb-5.1-ss1404 snapshot
        
        Revision r1404:
        Report the current value of the AUTO_INCREMENT counter to MySQL.
        (Bug #23313, Bug #21404)
        
        ha_innobase::update_create_info(): New function, to report
        the auto_increment_value.
      storage/innobase/handler/ha_innodb.h:
        Applied innodb-5.1-ss1404 snapshot
        
        Revision r1404:
        Report the current value of the AUTO_INCREMENT counter to MySQL.
        (Bug #23313, Bug #21404)
        
        ha_innobase::update_create_info(): New function, to report
        the auto_increment_value.
      storage/innobase/os/os0file.c:
        Applied innodb-5.1-ss1404 snapshot
        
        Revision r1395:
        * Fix Bug#26662 by not open(2)ing with O_DIRECT but rather calling fcntl(2)
        to set this flag immediately after open(2)ing. This way an error caused by
        O_DIRECT not being supported can easily be ignored.
        
        * Add support for skipping the OS caching on Solaris by calling directio()
        instead of fcntl().
        
        Approved by:	Heikki
        
        
        
        Revision r1391:
        Merge the bodies of os_file_handle_error() and os_file_handle_error_no_exit()
        into a generic function which is called from both os_file_handle_error() and
        os_file_handle_error_no_exit()
        
        Approved by:	Marko
      storage/innobase/plug.in:
        Applied innodb-5.1-ss1404 snapshot
        
        Revision r1395:
        * Fix Bug#26662 by not open(2)ing with O_DIRECT but rather calling fcntl(2)
        to set this flag immediately after open(2)ing. This way an error caused by
        O_DIRECT not being supported can easily be ignored.
        
        * Add support for skipping the OS caching on Solaris by calling directio()
        instead of fcntl().
        
        Approved by:	Heikki
      878fe479
    • unknown's avatar
      Apply innodb-5.0-ss1405 snapshot · f1c7fd19
      unknown authored
      NULL MERGE: this ChangeSet will be null merged into mysql-5.1
      
      Fixes:
      
      - Bug #26662: mysqld assertion when creating temporary (InnoDB) table on a tmpfs filesystem
        Fix by not open(2)ing with O_DIRECT but rather calling fcntl(2) to set
        this flag immediately after open(2)ing. This way an error caused by
        O_DIRECT not being supported can easily be ignored.
      - Bug #23313: AUTO_INCREMENT=# not reported back for InnoDB tables
      - Bug #21404: AUTO_INCREMENT value reset when Adding FKEY (or ALTER?)
        Report the current value of the AUTO_INCREMENT counter to MySQL.
      
      
      innobase/configure.in:
        Apply innodb-5.0-ss1405 snapshot
        
        Revision r1396:
        branches/5.0: Merge r1395 from trunk:
        
        * Fix Bug#26662 by not open(2)ing with O_DIRECT but rather calling fcntl(2)
        to set this flag immediately after open(2)ing. This way an error caused by
        O_DIRECT not being supported can easily be ignored.
        
        * Add support for skipping the OS caching on Solaris by calling directio()
        instead of fcntl().
      innobase/os/os0file.c:
        Apply innodb-5.0-ss1405 snapshot
        
        Revision r1394:
        branches/5.0: Merge r1391 from trunk:
        
        Merge the bodies of os_file_handle_error() and os_file_handle_error_no_exit()
        into a generic function which is called from both os_file_handle_error() and
        os_file_handle_error_no_exit()
        
        
        Revision r1396:
        branches/5.0: Merge r1395 from trunk:
        
        * Fix Bug#26662 by not open(2)ing with O_DIRECT but rather calling fcntl(2)
        to set this flag immediately after open(2)ing. This way an error caused by
        O_DIRECT not being supported can easily be ignored.
        
        * Add support for skipping the OS caching on Solaris by calling directio()
        instead of fcntl().
      mysql-test/r/innodb.result:
        Apply innodb-5.0-ss1405 snapshot
        
        Revision r1405:
        branches/5.0: Merge r1404 from trunk:
        
        Report the current value of the AUTO_INCREMENT counter to MySQL.
        (Bug #23313, Bug #21404)
        
        ha_innobase::update_create_info(): New function, to report
        the auto_increment_value.
      mysql-test/t/innodb.test:
        Apply innodb-5.0-ss1405 snapshot
        
        Revision r1405:
        branches/5.0: Merge r1404 from trunk:
        
        Report the current value of the AUTO_INCREMENT counter to MySQL.
        (Bug #23313, Bug #21404)
        
        ha_innobase::update_create_info(): New function, to report
        the auto_increment_value.
      sql/ha_innodb.cc:
        Apply innodb-5.0-ss1405 snapshot
        
        Revision r1405:
        branches/5.0: Merge r1404 from trunk:
        
        Report the current value of the AUTO_INCREMENT counter to MySQL.
        (Bug #23313, Bug #21404)
        
        ha_innobase::update_create_info(): New function, to report
        the auto_increment_value.
      sql/ha_innodb.h:
        Apply innodb-5.0-ss1405 snapshot
        
        Revision r1405:
        branches/5.0: Merge r1404 from trunk:
        
        Report the current value of the AUTO_INCREMENT counter to MySQL.
        (Bug #23313, Bug #21404)
        
        ha_innobase::update_create_info(): New function, to report
        the auto_increment_value.
      f1c7fd19