1. 01 Sep, 2005 4 commits
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug11316/my41-bug11316 · 7bc1d892
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug11316/my50-bug11316
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/rpl_flush_log_loop.result:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      mysql-test/t/drop.test:
        Auto merged
      mysql-test/t/innodb.test:
        Auto merged
      mysql-test/t/rpl000001.test:
        Auto merged
      mysql-test/t/rpl_EE_error.test:
        Auto merged
      mysql-test/t/rpl_deadlock.test:
        Auto merged
      mysql-test/t/rpl_drop_temp.test:
        Auto merged
      mysql-test/t/rpl_error_ignored_table.test:
        Auto merged
      mysql-test/t/rpl_flush_log_loop.test:
        Auto merged
      mysql-test/t/rpl_loaddata.test:
        Auto merged
      mysql-test/t/rpl_rotate_logs.test:
        Auto merged
      client/mysqltest.c:
        Manual merge
      mysql-test/r/mysqltest.result:
        Manual merge
      mysql-test/t/flush.test:
        Manual merge
      mysql-test/t/mysqltest.test:
        Manual merge
      mysql-test/t/rpl_change_master.test:
        Manual merge
      mysql-test/t/rpl_until.test:
        Manual merge
      7bc1d892
    • unknown's avatar
      Fix compiler warnings for mysqltest.c · 126e351c
      unknown authored
      
      client/mysqltest.c:
        Fix warnings
        Remove unused vars
      126e351c
    • unknown's avatar
      Bug #3131 mysqltest fails on $2=$1 assignment in test · 772843ba
      unknown authored
      
      client/mysqltest.c:
        Fix function var_copy to make it possible to assign one variable to another. 
        ex: let $1=$2
      mysql-test/r/mysqltest.result:
        Update test result
      mysql-test/t/mysqltest.test:
        Add test cases for variable to variable assignment
      772843ba
    • unknown's avatar
      Bug #12471 mysqltest, --error within loop affects wrong statement · 50cc21ea
      unknown authored
       - Move clearing of expected errors
      
      
      client/mysqltest.c:
        Move clear of expected errors to the query loop so that the expected error is reset even when the query is retrieved from the q_lines cache.
      mysql-test/r/mysqltest.result:
        Update test results
      mysql-test/t/mysqltest.test:
        Add test for bug#12471
      50cc21ea
  2. 31 Aug, 2005 2 commits
    • unknown's avatar
      Remove syntax !$<err_no> to set an expected error code · 43422ece
      unknown authored
      Use !<err_no> instead
      
      
      client/mysqltest.c:
        Remove syntax !$<err_no> to set an expected error code
      mysql-test/r/mysqltest.result:
        Update test result
      mysql-test/t/mysqltest.test:
        Uncomment tests for the deprecated syntax
      43422ece
    • unknown's avatar
      BUG#11316: mysqltest, problems when assigning value with '#' to $variable · 76c1bcf9
      unknown authored
       - Add stricter checking of syntax in mysqltest
      
      
      client/mysqltest.c:
        Stricter checking of syntax in mysqltest.
      mysql-test/r/mysqltest.result:
        Update test results
      mysql-test/t/create.test:
        Remove extra ;
      mysql-test/t/create_select_tmp.test:
        Remove extra ;
      mysql-test/t/drop.test:
        Remove extra ;
      mysql-test/t/flush.test:
        Remove extra ;
      mysql-test/t/handler.test:
        Remove extra ;
      mysql-test/t/innodb.test:
        Remove extra ;
      mysql-test/t/mysqltest.test:
        Add more tests for replace, replace_columns, comments with commands and sync_with_master
      mysql-test/t/rpl000001.test:
        Remove extra ;
      mysql-test/t/rpl_EE_error.test:
        Remove extra ;
      mysql-test/t/rpl_drop.test:
        Remove extra ;
      mysql-test/t/rpl_error_ignored_table.test:
        Remove extra ;
      mysql-test/t/rpl_loaddata.test:
        Remove extra ;
      76c1bcf9
  3. 16 Aug, 2005 1 commit
  4. 15 Jul, 2005 1 commit
    • unknown's avatar
      BUG#11316 mysqltest, problems when assigning value with '#' to $variable · d57a0e52
      unknown authored
       - Fixed problem, only detect comment if the # is on start of line AND starting line of the current command.
       - Wrote tests for most of the mysqltest commands, added stricter checking of correct syntax.
      
      
      client/mysqltest.c:
        Updated mysql test to do stricter checking of syntax. For example when the number 
        of arguments to a command is known, everything else is "junk" => die. 
        Better checking of argument types.
        Added better debug printouts.
        Added improved printouts when wrong syntax is detected.
        Fix two bugs where mysqltest could not detect end of comamnd properly, as described in bug#11316
        Fix segfault when performing too many source commands.
        Fix segfault when doing too many while loop levels.
        Add printout of line number in die
        Remove lineno and \n in all strings passed to die function.
        Decrese BLOCK_STACK_DEPTH from 32 to 16, does any test use more than 1 level?
      mysql-test/mysql-test-run.pl:
        export MYSQL_TEST environment variable, used from msyqltest.test
      mysql-test/mysql-test-run.sh:
        export MYSQL_TEST environment variable, used from msyqltest.test
      mysql-test/r/mysqltest.result:
        Updated test results
      mysql-test/r/rpl_flush_log_loop.result:
        Updated test result.
        Approved by lars
      mysql-test/t/innodb-deadlock.test:
        Correct wrong syntax
        Superfluos ;
      mysql-test/t/innodb-lock.test:
        Correct wrong syntax
        Superfluos ;
      mysql-test/t/mysqltest.test:
        Add several new tests  for mysqltest.
        Foxus on detecting wrong syntax in test files.
        Use exec with expected error to execute test scripts that will kill mysqltest
        Change some negative test that were previously commented out to use the above method.
      mysql-test/t/ndb_autodiscover2.test:
        Correct wrong syntax
        Superfluos ;
      mysql-test/t/rpl_change_master.test:
        Correct wrong syntax
        Superfluos ;
      mysql-test/t/rpl_deadlock.test:
        Correct wrong syntax
        Superfluos ;
      mysql-test/t/rpl_drop_temp.test:
        Correct wrong syntax
        Superfluos ;
      mysql-test/t/rpl_flush_log_loop.test:
        Fix after detecting wrong syntax, missing ;
        Discussed with lars.
      mysql-test/t/rpl_insert_id.test:
        Missing ;
      mysql-test/t/rpl_rotate_logs.test:
        Correct wrong syntax
        Superfluos ;
      mysql-test/t/rpl_until.test:
        Missing delimiter
      mysql-test/include/mysqltest_while.inc:
        New file to test too many while levels
      d57a0e52
  5. 08 Jul, 2005 8 commits
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6eedec68
      unknown authored
      into igor-inspiron.creware.com:/home/igor/mysql-5.0
      
      
      6eedec68
    • unknown's avatar
      Merge igor-inspiron.creware.com:/home/igor/mysql-5.0 · b24aa065
      unknown authored
      into igor-inspiron.creware.com:/home/igor/dev/mysql-5.0-0
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      b24aa065
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-5.0.9-clone · 586e91ab
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      
      586e91ab
    • unknown's avatar
      - manual merge of the addition of including mysqlt-test/t/*.def · d261c2af
      unknown authored
      
      mysql-test/Makefile.am:
        - manual merge
      scripts/make_binary_distribution.sh:
        - manual merge
      d261c2af
    • unknown's avatar
      ctype_utf8.test: · 47c921e3
      unknown authored
        Added a test case for bug #11484.
      hp_hash.c:
        Fixed bug #11484.
        This bug in the function hp_rec_key_cmp resulted in wrong
        comparison of varchar multibyte keys if the bytes after 
        string values happened to be different. This caused wrong
        results for queries returning DISTINCT varchar fields in
        multibyte charsets (e.g. in utf8).
      
      
      heap/hp_hash.c:
        Fixed bug #11484.
        This bug in the function hp_rec_key_cmp resulted in wrong
        comparison of varchar multibyte keys if the bytes after 
        string values happened to be different. This caused wrong
        results for queries returning DISTINCT varchar fields in
        multibyte charsets (e.g. in utf8).
      mysql-test/t/ctype_utf8.test:
        Added a test case for bug #11484.
      47c921e3
    • unknown's avatar
      - added mysql-test/t/*.def to the source and binary distributions · 3d2814d6
      unknown authored
      
      mysql-test/Makefile.am:
        - added mysql-test/t/*.def to the source distribution and make sure that "make install"
          installs it, too.
      scripts/make_binary_distribution.sh:
        - added mysql-test/t/*.def to the binary distribution
      3d2814d6
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/mysql-5.0-release · 47e50b0a
      unknown authored
      into  mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      47e50b0a
    • unknown's avatar
      a fix (bug #11809: ps_1general.test fails on QNX). · 2d4e858a
      unknown authored
      
      mysql-test/r/ps_1general.result:
        a fix (bug #11809: ps_1general.test fails on QNX).
        replace Max_data_length column value with '#' as well
      mysql-test/t/ps_1general.test:
        a fix (bug #11809: ps_1general.test fails on QNX).
        replace Max_data_length column value with '#' as well
      2d4e858a
  6. 07 Jul, 2005 18 commits
  7. 06 Jul, 2005 6 commits
    • unknown's avatar
      Merge jwinstead@production.mysql.com:my/mysql-5.0-11045 · 8a23dd86
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      VC++Files/sql/mysqld.dsp:
        Auto merged
      sql/ha_federated.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      sql/item_strfunc.cc:
        SCCS merged
      8a23dd86
    • unknown's avatar
      Merge · 376a50e6
      unknown authored
      376a50e6
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · abe951ab
      unknown authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-bug4-5.0
      
      
      abe951ab
    • unknown's avatar
      mtr_misc.pl: · 0f063423
      unknown authored
        Corrected appending of .exe to Windows executables
        Don't alter read only @_ in foreach loop
      mysql-test-run.pl:
        Improved cleanup of binlogs
        Use separate log file for second master
        Corrected Windows paths to executables
      
      
      mysql-test/mysql-test-run.pl:
        Improved cleanup of binlogs
        Use separate log file for second master
        Corrected Windows paths to executables
      mysql-test/lib/mtr_misc.pl:
        Corrected appending of .exe to Windows executables
        Don't alter read only @_ in foreach loop
      0f063423
    • unknown's avatar
      Look in the directory above the executable for the my.cnf/ini, on Windows, as · 348dfd41
      unknown authored
      the new installer and GUI tools expect. (Bug #10419) Also, dynamically bind to
      GetSystemWindowsDirectory() so that it works on all platforms. (Bug #5354)
      
      
      mysys/default.c:
        Dynamically bind to GetSystemWindowsDirectory() or emulate it, and also look
        in directory above the executable to find my.cnf/ini on Windows.
      348dfd41
    • unknown's avatar
      Merge igor-inspiron.creware.com:/home/igor/mysql-5.0 · ef4290d5
      unknown authored
      into igor-inspiron.creware.com:/home/igor/dev/mysql-5.0-0
      
      
      ef4290d5