1. 19 Apr, 2007 26 commits
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint--pthreadkeycreate · 04ade50c
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-new-maint
      
      
      mysys/my_thr_init.c:
        Auto merged
      04ade50c
    • unknown's avatar
      Bug #27964: pthread_key_create doesn't set errno, so don't report \ · 0732ad9a
      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.
      0732ad9a
    • unknown's avatar
      Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50 · 45f710a9
      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
      45f710a9
    • unknown's avatar
      innodb_mysql.test, innodb_mysql.result: · f4d6b5de
      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
      f4d6b5de
    • unknown's avatar
      Post-merge fix of innodb.result · ef65fdb0
      unknown authored
      
      mysql-test/r/innodb.result:
        Move test result after incorrect merge
      ef65fdb0
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint · f7027dba
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      
      BitKeeper/deleted/.del-CMakeLists.txt~7:
        Auto merged
      f7027dba
    • unknown's avatar
      mysql_upgrade must depend on GenFixPrivs · 9f33362d
      unknown authored
      9f33362d
    • unknown's avatar
      mysql_upgrade depends on GenFixPrivs · ffd062f7
      unknown authored
      ffd062f7
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · 4de3d26b
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      
      client/mysql_upgrade.c:
        Auto merged
      4de3d26b
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint · 10de18a5
      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
      10de18a5
    • unknown's avatar
      dea53d61
    • unknown's avatar
      mysql_upgrade win fixes · 4fff310e
      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
      4fff310e
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-maint · 0a3533ff
      unknown authored
      into  mysql.com:/home/ram/work/b26851/b26851.5.0
      
      
      0a3533ff
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.1-maint · 6a313bce
      unknown authored
      into  mysql.com:/home/ram/work/b26851/b26851.5.1
      
      
      6a313bce
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-maint · 5198d0b4
      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
      5198d0b4
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-maint · 30f3f3a0
      unknown authored
      into  mysql.com:/home/ram/work/b26851/b26851.5.0
      
      
      client/mysql.cc:
        Auto merged
      30f3f3a0
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b26851/b26851.5.0 · b14a8f8d
      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
      b14a8f8d
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b22824/my50-b22824 · 0bc7d9cc
      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
      0bc7d9cc
    • unknown's avatar
      Post-push fix of client/mysqltest.c oops. · 74192cf9
      unknown authored
      
      client/mysqltest.c:
        Actually include "client_priv.h", as intended in previous changeset.
      74192cf9
    • unknown's avatar
      Move WEXITSTATUS #define from mysqltest.c to client_priv.h, and · c6e95257
      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.
      c6e95257
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/inno/apr18/50 · 88cd3333
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/inno/apr18/51
      
      
      88cd3333
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 4e52ac1f
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/inno/apr18/51
      
      
      4e52ac1f
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 39754b24
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/inno/apr18/50
      
      
      39754b24
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/inno/apr18/50 · f1ca7795
      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
      f1ca7795
    • unknown's avatar
      Applied innodb-5.1-ss1404 snapshot · 619c11cb
      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
      619c11cb
    • unknown's avatar
      Apply innodb-5.0-ss1405 snapshot · 726d27ee
      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.
      726d27ee
  2. 18 Apr, 2007 14 commits