1. 01 Sep, 2005 5 commits
    • unknown's avatar
      mysqltest improvements, updates after merge + test for 5.0 · 99725232
      unknown authored
      
      client/mysqltest.c:
        Fixes after merge
      mysql-test/r/type_newdecimal.result:
        Update results after correction of testcase
      mysql-test/t/flush_read_lock_kill.test:
        Found extra delimiter
      mysql-test/t/kill.test:
        Found extra delimiter
      mysql-test/t/rpl_loaddata.test:
        Found extra delimiter
      mysql-test/t/rpl_sp.test:
        Found extra delimiter
      mysql-test/t/strict.test:
        Convert "!$1292" to "--error 1292"
      mysql-test/t/type_newdecimal.test:
        Missing ;
      99725232
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug11316/my41-bug11316 · 623f1a62
      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
      623f1a62
    • unknown's avatar
      Fix compiler warnings for mysqltest.c · db05b23c
      unknown authored
      
      client/mysqltest.c:
        Fix warnings
        Remove unused vars
      db05b23c
    • unknown's avatar
      Bug #3131 mysqltest fails on $2=$1 assignment in test · c7cc1ca0
      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
      c7cc1ca0
    • unknown's avatar
      Bug #12471 mysqltest, --error within loop affects wrong statement · 09864f91
      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
      09864f91
  2. 31 Aug, 2005 2 commits
    • unknown's avatar
      Remove syntax !$<err_no> to set an expected error code · 9e9ba58c
      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
      9e9ba58c
    • unknown's avatar
      BUG#11316: mysqltest, problems when assigning value with '#' to $variable · 59bfb47b
      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 ;
      59bfb47b
  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 · 999eaffc
      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
      999eaffc
  5. 08 Jul, 2005 8 commits
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0 · 67e4b04a
      unknown authored
      into igor-inspiron.creware.com:/home/igor/mysql-5.0
      
      67e4b04a
    • unknown's avatar
      Merge igor-inspiron.creware.com:/home/igor/mysql-5.0 · 44d77fa3
      unknown authored
      into igor-inspiron.creware.com:/home/igor/dev/mysql-5.0-0
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      44d77fa3
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-5.0.9-clone · ff8377d0
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      ff8377d0
    • unknown's avatar
      - manual merge of the addition of including mysqlt-test/t/*.def · a7088fd3
      unknown authored
      
      mysql-test/Makefile.am:
        - manual merge
      scripts/make_binary_distribution.sh:
        - manual merge
      a7088fd3
    • unknown's avatar
      ctype_utf8.test: · 63bba165
      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.
      63bba165
    • unknown's avatar
      - added mysql-test/t/*.def to the source and binary distributions · a652b179
      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
      a652b179
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/mysql-5.0-release · a78fdd1e
      unknown authored
      into  mysql.com:/usr/home/ram/work/mysql-5.0
      
      a78fdd1e
    • unknown's avatar
      a fix (bug #11809: ps_1general.test fails on QNX). · 17c97d75
      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
      17c97d75
  6. 07 Jul, 2005 18 commits
  7. 06 Jul, 2005 5 commits
    • unknown's avatar
      Merge jwinstead@production.mysql.com:my/mysql-5.0-11045 · 2801882b
      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
      2801882b
    • unknown's avatar
      Merge · b4fc67ac
      unknown authored
      b4fc67ac
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 632624e7
      unknown authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-bug4-5.0
      
      632624e7
    • unknown's avatar
      mtr_misc.pl: · a6b2529d
      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
      a6b2529d
    • unknown's avatar
      Look in the directory above the executable for the my.cnf/ini, on Windows, as · 2633158e
      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.
      2633158e