1. 16 Jan, 2007 4 commits
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug15518/my50-bug15518 · c5a168cf
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysqltest.c:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      tests/mysql_client_test.c:
        SCCS merged
      c5a168cf
    • unknown's avatar
      Bug#15518 Reusing a stmt that has failed during prepare does not clear error · 7b965030
      unknown authored
       - Always reset error when calling mysql_stmt_prepare a second time
       - Set stmt->state to MYSQL_STMT_INIT_DONE before closing prepared stmt in server.
       - Add test to mysql_client_test
       - Remove mysql_stmt_close in mysqltest after each query
       - Close all open statements in mysqltest if disable_ps_protocol is called. 
      
      
      client/mysqltest.c:
        Don't close the statement after each query - reprepare it in next query.
        When "disable_ps_protocol" is issued make sure to close all open
        statements. Otherwise the test for @@max_prepared_statements fails. But we
        also get a test that the statements that are open can be closed and reopened
        in the middle of the tests.
      libmysql/libmysql.c:
        Reset the last error every time mysql_stmt_prepare is called.
        Set state to MYSQL_STMT_INIT_DONE befoe closing it in the server. That way
        we will always have right status regardless of wheter close fails or not.
      tests/mysql_client_test.c:
        Add testcase for bug15518, re-prepare a previously prepare statement that has failed
        to prepare. Test also when connection to server has been lost inbetween.
        Change all assert to DIE_UNLESS so we get printout of line and an error message
        if it fails.
      7b965030
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · a05e7354
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/lib/mtr_cases.pl:
        Auto merged
      a05e7354
    • unknown's avatar
      Always use two masters for ndb tests · 80818def
      unknown authored
      80818def
  2. 15 Jan, 2007 2 commits
  3. 11 Jan, 2007 14 commits
  4. 10 Jan, 2007 5 commits
    • unknown's avatar
      configure.in: · a4817ace
      unknown authored
        Corrected default for --disable-grant-options
      
      
      configure.in:
        Corrected default for --disable-grant-options
      a4817ace
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0 · c11c3b08
      unknown authored
      into  mysql.com:/d2/hf/mr10/my50-mr10
      
      
      c11c3b08
    • unknown's avatar
      configure.in: · 4ffd49d3
      unknown authored
        Removed line accidently inserted when correcting bug#18526
      
      
      configure.in:
        Removed line accidently inserted when correcting bug#18526
      4ffd49d3
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my50-common · 380ad35c
      unknown authored
      into  mysql.com:/d2/hf/mr10/my50-mr10
      
      
      380ad35c
    • unknown's avatar
      WL #3670: Compile-time option to remove GRANT-related startup options · c2e9a4af
      unknown authored
      - configure --disable-grant-options defines DISABLE_GRANT_OPTIONS
      - configure.js/cmake also updated
      - if DISABLE_GRANT_OPTIONS is defined, mysqld no longer recognizes:
        --bootstrap
        --init-file
        --skip-grant-tables
      
      Scripts which rely on those three options are modified to check the environment for MYSQLD_BOOTSTRAP; it should be set to the full path of a mysqld which does handle those options.
      
      For example:
      
      $ export MYSQLD_BOOTSTRAP
      $ MYSQLD_BOOTSTRAP=/path/to/full/MySQL/bin/mysqld
      $ mysql_install_db
      $ make test
      
      
      configure.in:
        WL#3670
        
        Add --disable-grant-options
      mysql-test/install_test_db.sh:
        Add MYSQLD_BOOTSTRAP env variable, to enable test suite to work even if mysqld does not accept --bootstrap or --skip-grant-tables.
      mysql-test/mysql-test-run.pl:
        Add MYSQLD_BOOTSTRAP env variable, to enable test suite to work even if mysqld does not accept --bootstrap or --skip-grant-tables.
      mysql-test/mysql_test_run_new.c:
        Mention need for MYSQLD_BOOTSTRAP in a comment, in case this needs to be used with a mysqld which does not accept the --bootstrap option.
      scripts/mysql_install_db.sh:
        Add MYSQLD_BOOTSTRAP env variable, to enable mysqld_install_db to work even if mysqld does not accept --bootstrap or --skip-grant-tables.
      sql/CMakeLists.txt:
        Add DISABLE_GRANT_OPTIONS define
      sql/mysqld.cc:
        Add DISABLE_GRANT_OPTIONS define, which removes the --bootstrap, --init-file, and --skip-grant-tables options
      win/README:
        Document the DISABLE_GRANT_OPTIONS define
      win/configure.js:
        Handle DISABLE_GRANT_OPTIONS
      c2e9a4af
  5. 09 Jan, 2007 5 commits
  6. 05 Jan, 2007 2 commits
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/tmp/mysql-4.1-build · 6f3343ee
      unknown authored
      into  mysql.com:/home/kent/bk/tmp/mysql-5.0-build
      
      
      scripts/make_binary_distribution.sh:
        Auto merged
      6f3343ee
    • unknown's avatar
      mysql.spec.sh, make_binary_distribution.sh: · 7fb6aa34
      unknown authored
        Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
        correct "libgcc.a" path is returned for the 32/64 bit architecture
      
      
      scripts/make_binary_distribution.sh:
        Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
        correct "libgcc.a" path is returned for the 32/64 bit architecture
      support-files/mysql.spec.sh:
        Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
        correct "libgcc.a" path is returned for the 32/64 bit architecture
      7fb6aa34
  7. 04 Jan, 2007 4 commits
  8. 02 Jan, 2007 4 commits