An error occurred fetching the project authors.
- 26 Nov, 2010 1 commit
-
-
Bjorn Munch authored
Stripping quotes in let was a bad idea, will not fix Added code to strip quotes from rhs in comparisons
-
- 17 Nov, 2010 1 commit
-
-
Bjorn Munch authored
Evaluation would start with the space and thus ignore the $ Added while() to skip past white space
-
- 15 Nov, 2010 1 commit
-
-
Bjorn Munch authored
Results from query is sent for evaluation Break recursion by asking for ` to be ignored
-
- 10 Nov, 2010 1 commit
-
-
Bjorn Munch authored
Added more parsing in do_block() Limitation: left operand must be variable Also changed var_set_int from 57036 to var_check_int Added tests to mysqltest.test Some tests can now be simplified but will take this later Updated after comments, now white space around operator not needed
-
- 27 Sep, 2010 1 commit
-
-
Bjorn Munch authored
Adds boolean flag is_int and a separete function to check for int value Added tests to mysqltest.test
-
- 22 Sep, 2010 1 commit
-
-
Bjorn Munch authored
Added --enable-connect-log, somewhet similar to --enable-query-log If query log is disabled, disable connect log too Also some related cleanup in mysqltest.test: removing duplicate test loop
-
- 15 Sep, 2010 1 commit
-
-
Bjorn Munch authored
When stepping backward to end of `` expression, check for illegal chars
-
- 10 Aug, 2010 1 commit
-
-
Bjorn Munch authored
Allow escaped quotes also in statements not starting with -- But will not support single unescaped ' or `
-
- 04 Aug, 2010 1 commit
-
-
Bjorn Munch authored
Follow-up patch: added test cases for -0 and while
-
- 03 Aug, 2010 1 commit
-
-
Bjorn Munch authored
if() treated any non-numeric string as false Fixed to treat those as true instead Added some test cases Fixed missing $ in variable name in include/mix2.inc
-
- 22 Mar, 2010 1 commit
-
-
Bjorn Munch authored
After disable_abort_on_error, behaved as if --error was in effect Add condition before die, as after queries
-
- 17 Mar, 2010 1 commit
-
-
Bjorn Munch authored
Only log connects after --error A few small test adjustments needed/possible
-
- 02 Mar, 2010 1 commit
-
-
Bjorn Munch authored
abort_on_error flag for stmt was set at initial parse (Re)-set flag before execution instead, also added to test
-
- 09 Feb, 2010 1 commit
-
-
Bjorn Munch authored
Made mtr's sleep function understand $variables A few fixes since previous patch, added tests
-
- 04 Feb, 2010 2 commits
-
-
Bjorn Munch authored
Added remove_files_wildcard that allows to remove multiple files at once. This is a port of original patch to Windows.
-
Bjorn Munch authored
Added remove_files_wildcard that allows to remove multiple files at once. This is a port of original patch to Windows.
-
- 20 Jan, 2010 3 commits
-
-
Bjorn Munch authored
delimiter not executed so does not recognize end of block Always execute delimiter command, revert after false if() block.
-
Bjorn Munch authored
valgrind pointed to a buffer allocated by my_realloc which looked fishy Replaced size with what was probably intended, added test case. Now also fixed line after review comment
-
Bjorn Munch authored
Since the exec command line is passed on externally, it cannot take newlines Simply replace \n with space Now also added test case
-
- 07 Jan, 2010 1 commit
-
-
Bjorn Munch authored
Undid amendment allowing pending reap after switching connections Moved check for pending reap earlier; failed if running with ps-protocol
-
- 06 Jan, 2010 3 commits
-
-
Bjorn Munch authored
Small amendment: ignore pending reap when switching connection, add test
-
Bjorn Munch authored
Added them NB the 6th case is adapted to Bug no. 49269, gives wrong output without it
-
Bjorn Munch authored
Implemented --lowercase_result which lower cases next result
-
- 11 Nov, 2009 1 commit
-
-
Bjorn Munch authored
Actually, fails on 'perl' in any while Fixed essentially the same way as for append_file
-
- 08 Oct, 2009 1 commit
-
-
Bjorn Munch authored
This was affected by same problem as append_file etc. Added Q_ERROR to special handling, and added small test
-
- 02 Sep, 2009 1 commit
-
-
Bjorn Munch authored
a "if" Bug #41913 mysqltest cannot source files from if inside while Some commands require additional processing which only works first time Keep content for write_file or append_file with the st_command struct Add tests for those cases to mysqltest.test
-
- 27 May, 2009 1 commit
-
-
Bjorn Munch authored
-
- 25 May, 2009 1 commit
-
-
Bjorn Munch authored
check_command_args() always looks for the first , (or whatever) Extended check_command_args() to let arguments be quoted Added test in mysqltest.test
-
- 19 Feb, 2009 1 commit
-
-
Patrick Crews authored
Replaced Unix calls with mysql-test-run's built-in functions / SQL manipulation where possible. Replaced error codes with error names as well. Disabled two tests on Windows due to more complex Unix command usage See Bug#41307, Bug#41308
-
- 15 Jan, 2009 1 commit
-
-
Magnus Svensson authored
sync_slave_with_master - Additional patch for "disconnect $variable"
-
- 23 Oct, 2008 1 commit
-
-
Sven Sandberg authored
Problem: In the mysqltest language, it was not possible to set the current connection from a variable, and it was not possible to read the current connection. Fix: Allow setting the connection from a variable, like: connection $variable; and introduce the mysqltest language variable $CURRENT_CONNECTION, which holds the name of the current connection. client/mysqltest.cc: - Made select_connection use the common argument parser instead of its own home-rolled version. That allows variable expansion, for instance. - Made select_connection_name set the variable $CURRENT_CONNECTION, so that test scripts can use that. - Refactored a bit so that stuff that needs to be done when changing connection is located to one place. mysql-test/t/mysqltest.test: Added test case for $CURRENT_CONNECTION and "connection $variable"
-
- 04 Aug, 2008 2 commits
-
-
Magnus Svensson authored
-
Magnus Svensson authored
-
- 15 Jul, 2008 1 commit
-
-
Tatiana A. Nurnberg authored
mysqltest disconnect/connect-combo could be so quick that connect would hit the server before it had processed the disconnect. Since that resulted in one more concurrent connection than we meant to have, global or per-user max-user-connections could be exceeded. This could lead to "random" failures in tests that set those limits. client/mysqltest.c: Retry max-connect-retries times if connect in connect_n_handle_errors() unexpectedly fails on connection-limit as this could be a race. Break out code that checks for expected --errors into its own function. mysql-test/r/mysqltest.result: show that we throw a warning if test expects a SQL-state from a command (diff_files, ...) that clearly can't produce one. mysql-test/t/disabled.def: re-enable user_limits mysql-test/t/mysqltest.test: show that we throw a warning if test expects a SQL-state from a command (diff_files, ...) that clearly can't produce one.
-
- 09 Jul, 2008 1 commit
-
-
Mattias Jonsson authored
The problem is that relying on the output of the 'ls' command is not portable as its behavior is not the same between systems and it might even not be available at all in (Windows). So I added list_files that relies on the portable mysys library instead. (and also list_files_write_file and list_files_append_file, since the test was using '--exec ls' in that way.) client/mysqltest.c: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' To be able to replace the use of '--exec ls' I have added list_files, list_files_write_file and list_files_append_file. list_files <dirname> [<filename incl. wild-cards>] is equivalent to 'ls <dirname>/[<filename incl. wild-cards>]' list_files_write_file creates/overwrites a file with the content list_files_append_file creates/appends a file with the content list_files* return a sorted output. mysql-test/r/mysqltest.result: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' result file change, due to added test of the new list_files command. mysql-test/suite/parts/inc/partition_check_drop.inc: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Using the new list_files instead of 'ls'. Changed the use of local variables (ls_file, file_list) and server variable (@aux). mysql-test/suite/parts/inc/partition_layout.inc: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Using the new list_files instead of 'ls'. mysql-test/suite/parts/inc/partition_layout_check1.inc: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Using the new list_files instead of 'ls'. mysql-test/suite/parts/inc/partition_layout_check2.inc: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Replaces '--exec ls' with list_files. Removal of the directory part of file listing. mysql-test/suite/parts/r/partition_alter1_1_2_myisam.result: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Replaces '--exec ls' with list_files. Removal of the directory part of file listing. mysql-test/suite/parts/r/partition_alter1_1_myisam.result: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Replaces '--exec ls' with list_files. Removal of the directory part of file listing. mysql-test/suite/parts/r/partition_alter1_2_myisam.result: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Replaces '--exec ls' with list_files. Removal of the directory part of file listing. mysql-test/suite/parts/r/partition_alter2_myisam.result: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Replaces '--exec ls' with list_files. Removal of the directory part of file listing. mysql-test/suite/parts/r/partition_alter3_innodb.result: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Replaces '--exec ls' with list_files. Removal of the directory part of file listing. mysql-test/suite/parts/r/partition_alter3_myisam.result: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Replaces '--exec ls' with list_files. Removal of the directory part of file listing. mysql-test/suite/parts/r/partition_basic_innodb.result: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Replaces '--exec ls' with list_files. Removal of the directory part of file listing. mysql-test/suite/parts/r/partition_basic_myisam.result: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Replaces '--exec ls' with list_files. Removal of the directory part of file listing. mysql-test/suite/parts/r/partition_basic_symlink_myisam.result: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Replaces '--exec ls' with list_files. Removal of the directory part of file listing. mysql-test/suite/parts/r/partition_engine_myisam.result: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Replaces '--exec ls' with list_files. Removal of the directory part of file listing. mysql-test/suite/parts/r/partition_syntax_myisam.result: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Replaces '--exec ls' with list_files. Removal of the directory part of file listing. mysql-test/t/mysqltest.test: Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls' Adding test for the new mysqltest commands list_files, list_files_write_file and list_files_append_file.
-
- 29 Apr, 2008 1 commit
-
-
unknown authored
100% effectively on Windows The mysqltest docs state that the 'replace_result' command doesn't perform any escape processing. However the current implementation was processing backslash escapes in the from/to strings. This prevents replacing e.g. patch on windows (where backslash is used as a path separator). Fixed by removing the backslash escape processing from 'replace_result'. client/mysqltest.c: Bug #36041: remove the escape processing from --replace_result mysql-test/r/mysqltest.result: Bug #36041: test case mysql-test/t/mysqltest.test: Bug #36041: test case
-
- 19 Dec, 2007 1 commit
-
-
unknown authored
-
- 31 Oct, 2007 1 commit
-
-
unknown authored
-
- 16 Oct, 2007 1 commit
-
-
unknown authored
The problem is that currently there is no way to test the behavior of the mysql_change_user() function using the mysqltest suite because there is no internal command for it. The solution is to introduce a change_user command that can be used to test aspects of the MySQL client function mysql_change_user(). client/mysqltest.c: Add change_user command to mysqltest. mysql-test/r/mysqltest.result: Add test case result for change_user command mysql-test/t/mysqltest.test: Add test case for change_user command mysql-test/r/change_user.result: Add new file with test case results for bugs 20023 and 31418. mysql-test/t/change_user.test: Add new file with test cases for bugs 20023 and 31418.
-
- 13 Aug, 2007 1 commit
-
-
unknown authored
Write test results to var/log Add test for "source" and variable expansion client/mysqltest.c: Improve error messages Write .reject file to the location specified by --logdir mysql-test/mysql-test-run.pl: Pass logdir to mysqltest, to get test results written to var/log mysql-test/r/mysqltest.result: Update test results mysql-test/t/mysqltest.test: Add test for "source" and variable expansion Update test after writing result in var/log
-