1. 17 May, 2005 3 commits
    • unknown's avatar
      ha_innodb.h, ha_innodb.cc: · 92ad49b1
      unknown authored
        Fix bug #10359 : the critical AUTO-INC bug in InnoDB; since reading of the auto-inc counter in an INSERT was not protected by the AUTO-INC table lock of InnoDB, two inserted rows could get the same value for the auto-inc counter, leading to a duplicate key error
      
      
      sql/ha_innodb.cc:
        Fix bug #10359 : the critical AUTO-INC bug in InnoDB; since reading of the auto-inc counter in an INSERT was not protected by the AUTO-INC table lock of InnoDB, two inserted rows could get the same value for the auto-inc counter, leading to a duplicate key error
      sql/ha_innodb.h:
        Fix bug #10359 : the critical AUTO-INC bug in InnoDB; since reading of the auto-inc counter in an INSERT was not protected by the AUTO-INC table lock of InnoDB, two inserted rows could get the same value for the auto-inc counter, leading to a duplicate key error
      92ad49b1
    • unknown's avatar
      sql_yacc.yy: · b7cc28ac
      unknown authored
        missing semicolon added
      sql_base.cc:
        bad merge fixed
      sp_head.cc, view.test, view.result:
        Correct restoring view name in SP table locking BUG#9758
      configure.in:
        restore -fno-implicit-templates -fno-exceptions -fno-rtti in configure
      
      
      configure.in:
        restore -fno-implicit-templates -fno-exceptions -fno-rtti in configure
      mysql-test/r/view.result:
        Correct restoring view name in SP table locking BUG#9758
      mysql-test/t/view.test:
        Correct restoring view name in SP table locking BUG#9758
      sql/sp_head.cc:
        Correct restoring view name in SP table locking BUG#9758
      sql/sql_base.cc:
        bad merge fixed
      sql/sql_yacc.yy:
        missing semicolon added
      b7cc28ac
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 74d132dc
      unknown authored
      into mysql.com:/opt/local/work/mysql-5.0-9643
      
      74d132dc
  2. 16 May, 2005 25 commits
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-7800 · b51bd4ef
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      sql/set_var.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      b51bd4ef
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · b30a2c2c
      unknown authored
      into mysql.com:/opt/local/work/mysql-5.0-9643
      
      b30a2c2c
    • unknown's avatar
      Merge with 4.1 to get fix for memory leak · 40f1e90e
      unknown authored
      
      client/mysql.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/sql_base.cc:
        merge
      40f1e90e
    • unknown's avatar
      Cleanups based on feedback from Monty. · a5a64a8d
      unknown authored
      
      sql/sql_show.cc:
        Use int10_to_str() instead of my_snprintf() for formatting number
      a5a64a8d
    • unknown's avatar
      Fix memory leak · 2c35790c
      unknown authored
      
      client/mysql.cc:
        Remove usage of c_ptr_safe() as this causes a linkage problem when compiling MySQL without inline functions
      sql/sql_base.cc:
        Don't use c_ptr_safe() on this string as this causes a realloc and the String object (allocated by sql_yacc.yy) is never freed
      2c35790c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 4c24f11a
      unknown authored
      into mysql.com:/opt/local/work/mysql-5.0-9643
      
      4c24f11a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 206d4d5d
      unknown authored
      into mysql.com:/opt/local/work/mysql-5.0-9643
      
      
      libmysql/libmysql.c:
        Auto merged
      206d4d5d
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · dfdba9a1
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      dfdba9a1
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 92716d09
      unknown authored
      into mysql.com:/opt/local/work/mysql-5.0-9643
      
      
      include/mysql.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      92716d09
    • unknown's avatar
      A fix and a test case for Bug#9643 " CURSOR_TYPE_SCROLLABLE dos not work" · 4a429272
      unknown authored
      - check on the client the unsupported feature and return 
      an error message if it's been requested.
      Additionally added API support for STMT_ATTR_PREFETCH_ROWS.
      Post-review fixes.
      
      
      include/errmsg.h:
        Add a new error code for "Not implemented" client-side error message.
      include/mysql.h:
        Add a statement attribute STMT_ATTR_PREFETCH_ROWS - unsigned long
        number of rows to fetch per one COM_FETCH command, used when there
        is a read-only cursor.
        Note, that we don't break compatibility by adding this new member
        because MYSQL_STMT is always allocated inside the client library by
        mysql_stmt_init.
      libmysql/errmsg.c:
        Text for the error message CR_NOT_IMPLEMENTED
      libmysql/libmysql.c:
        Implement support for STMT_ATTR_PREFETCH_ROWS
        Return an error message on attempt to set an attribute of a prepared
        statement which is not implemented yet. We probably should be doing
        it in the server: currently the server just ignores unknown attributes.
      tests/mysql_client_test.c:
        A test case for Bug#9643 "CURSOR_TYPE_SCROLLABLE dos not work"
        - check that an error message is returned for CURSOR_TYPE_SCROLLABLE.
        Additionally, check setting of STMT_ATTR_PREFETCH_ROWS.
      4a429272
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 940afcdf
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-bug10221
      
      940afcdf
    • unknown's avatar
      9d506c5c
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 91b81a1c
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      91b81a1c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · c1dcd128
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      c1dcd128
    • unknown's avatar
      After merge fixes · d17645ed
      unknown authored
      
      mysql-test/r/alter_table.result:
        Fixed results after merge
      sql/handler.cc:
        Trivial optimzation
      sql/sql_table.cc:
        Trvial optimization
      sql/sql_yacc.yy:
        After merge fix
      sql/unireg.cc:
        Removed argument 'null_fields' from make_empty_rec() as it was not needed
        Moved assert() to right place to take bit fields into account
      d17645ed
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · b167a4ac
      unknown authored
      into mysql.com:/my/mysql-5.0
      
      
      sql/sql_select.cc:
        Auto merged
      b167a4ac
    • unknown's avatar
      Fixed failing tests for not 32 bit intel machines · fee5ea44
      unknown authored
      Fixed bug in mysql_stmt_fetch() when retrieving rows to return
      
      
      mysql-test/r/ps.result:
        Fix to not get warnings if mysql_client_test.test fails
      mysql-test/t/index_merge_ror.test:
        Proper fix for 64 bit intel (which gives uses another, equal good index)
      mysql-test/t/ps.test:
        Fix to not get warnings if mysql_client_test.test fails
      sql-common/client.c:
        More debugging
      sql/sql_prepare.cc:
        Fixed bug in mysql_stmt_fetch() when retrieving rows to return
      sql/sql_select.cc:
        More debugging
      tests/mysql_client_test.c:
        More debugging
      fee5ea44
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · a5a473f8
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      a5a473f8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 1004189b
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      1004189b
    • unknown's avatar
      Build fixes · 83e1d157
      unknown authored
      
      configure.in:
        Fix for build problems
         - Removing extra semicolon and parentheses, this is not C++ :)
      83e1d157
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · e21b5eca
      unknown authored
      into mysql.com:/usr/home/ram/work/5.0.b10655
      
      e21b5eca
    • unknown's avatar
      a fix (bug #10655: mysys/default.c compilation problem). · 9e045669
      unknown authored
      
      mysys/default.c:
        a fix (bug #10655: mysys/default.c compilation problem).
        DBUG_ENTER() must be the first.
      9e045669
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · bbc03c49
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/test/mysql-5.0-ndb
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      mysql-test/mysql-test-run.sh:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      bbc03c49
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · ffb5d1d7
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1
      
      ffb5d1d7
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · 85c86ac3
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      85c86ac3
  3. 15 May, 2005 12 commits
    • unknown's avatar
      Merge · fce25372
      unknown authored
      
      client/mysqltest.c:
        SCCS merged
      fce25372
    • unknown's avatar
      mysqltest.c: · 154862a9
      unknown authored
        To solve bug#8455, call mysql_affected_rows() earlier, before query to find warnings
      
      
      client/mysqltest.c:
        To solve bug#8455, call mysql_affected_rows() earlier, before query to find warnings
      154862a9
    • unknown's avatar
      Merge · f53de71f
      unknown authored
      
      include/my_sys.h:
        Auto merged
      libmysql/Makefile.shared:
        Auto merged
      mysys/default.c:
        SCCS merged
      f53de71f
    • unknown's avatar
      post-review fixes · 7317af46
      unknown authored
      
      include/my_sys.h:
        added prototype for the defaults correction function
      libmysql/Makefile.shared:
        my_chsize added to libmysql to let my_correct_defaults_file be used from libmysql
      mysys/default.c:
        New defaults function added we use it to correct defaults file. Currently the function doesn't lock defaults
        file. This is because of the linking and backwards-compatibility issues. This needs to be fixed later.
      mysys/my_chsize.c:
        comment added
      server-tools/instance-manager/buffer.cc:
        cleanup
      server-tools/instance-manager/commands.cc:
        refactoring: removed do_command method from most of the classes
      server-tools/instance-manager/commands.h:
        cleanup
      server-tools/instance-manager/guardian.cc:
        cleanup
      server-tools/instance-manager/instance.cc:
        cleanup
      server-tools/instance-manager/instance_map.cc:
        cleanup
      server-tools/instance-manager/instance_options.cc:
        cleanup
      server-tools/instance-manager/instance_options.h:
        cleanup
      server-tools/instance-manager/listener.cc:
        cleanup
      server-tools/instance-manager/log.cc:
        cleanup
      server-tools/instance-manager/manager.cc:
        cleanup
      server-tools/instance-manager/messages.cc:
        new errors added
      server-tools/instance-manager/mysql_connection.cc:
        cleanup
      server-tools/instance-manager/mysql_manager_error.h:
        new error codes added
      server-tools/instance-manager/mysqlmanager.cc:
        clenup
      server-tools/instance-manager/options.cc:
        cleanup
      server-tools/instance-manager/parse.cc:
        removed unused function
      server-tools/instance-manager/parse.h:
        removed prototype
      server-tools/instance-manager/protocol.cc:
        cleanup
      server-tools/instance-manager/protocol.h:
        added enum to be used in protocol.cc instead of the constants
      7317af46
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1 · 0a1ae8aa
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      0a1ae8aa
    • unknown's avatar
      mysqltest.c: · 86d36569
      unknown authored
        To solve bug#6193, also reset require when using 'eval' for running query
      mysql-test-run.pl:
        In cleanup, remove possible soft link to var directory
      
      
      mysql-test/mysql-test-run.pl:
        In cleanup, remove possible soft link to var directory
      client/mysqltest.c:
        To solve bug#6193, also reset require when using 'eval' for running query
      86d36569
    • unknown's avatar
      ndb - wl-2451 update schemafile format change to 5.0.6 · fdb05927
      unknown authored
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        version update
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        version update
      ndb/src/kernel/blocks/dbdict/SchemaFile.hpp:
        version update
      ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp:
        version update
      fdb05927
    • unknown's avatar
      ndb - testScan -n ScanRead488O fix · 55948480
      unknown authored
      
      ndb/test/ndbapi/testScan.cpp:
        remove added test feature
      55948480
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1 · 57a7d109
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      57a7d109
    • unknown's avatar
      mtr_report.pl, mtr_process.pl, mysql-test-run.pl: · f9628329
      unknown authored
        Added option --vardir=<directory> for feature bug#10096
      
      
      mysql-test/mysql-test-run.pl:
        Added option --vardir=<directory> for feature bug#10096
      mysql-test/lib/mtr_process.pl:
        Added option --vardir=<directory> for feature bug#10096
      mysql-test/lib/mtr_report.pl:
        Added option --vardir=<directory> for feature bug#10096
      f9628329
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1 · 231d4165
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/lib/init_db.sql:
        Auto merged
      231d4165
    • unknown's avatar
      mysql-test-run.pl: · eb25cc4a
      unknown authored
        Not to conflict with Windows return code 2 for "not found", use 62 for "skip"
      init_db.sql:
        Initial db updates
      
      
      mysql-test/lib/init_db.sql:
        Initial db updates
      mysql-test/mysql-test-run.pl:
        Not to conflict with Windows return code 2 for "not found", use 62 for "skip"
      eb25cc4a