summaryrefslogtreecommitdiff
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
* Merge bk-internal:/home/bk/mysql-4.1-maintunknown2006-11-021-0/+2
|\ | | | | | | | | | | | | into shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
| * Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1-maintunknown2006-11-021-0/+2
| |\ | | | | | | | | | | | | | | | | | | | | | into mysql.com:/usr/home/ram/work/bug22913/my41-bug22913 client/mysql.cc: Auto merged
| | * Fix for bug #22913: mysql --quick doesn't report some errors.unknown2006-11-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | We don't check for errors that may occur during data printing. client/mysql.cc: Fix for bug #22913: mysql --quick doesn't report some errors. - check for errors after the data output.
* | | Make variables static to please Netware compilerunknown2006-10-311-18/+18
|/ / | | | | | | | | | | client/mysqltest.c: Make the variables that are referenced from the "command_arg" arrays static to please the NetWare compiler. Apparently the arrays can't reference local stack variables.
* | Enable the ATTRIBUTE_FORMAT macros to check format of variable arg parametersunknown2006-10-241-4/+4
| |
* | Add command "exit" to mysqltest, it will stop processing any moreunknown2006-10-191-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | commands and go directly to result file processing client/mysqltest.c: Add command "exit" to mysqltest mysql-test/r/mysqltest.result: Add command "exit" to mysqltest mysql-test/t/mysqltest.test: Add command "exit" to mysqltest
* | Backport test cases fixes from 5.0unknown2006-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client/mysqldump.c: fflush stderr after printing of error message mysql-test/include/have_lowercase0.inc: Remove extra ; mysql-test/r/rpl000015.result: Update result mysql-test/r/rpl_change_master.result: Update result mysql-test/r/rpl_error_ignored_table.result: Update result mysql-test/r/rpl_loaddata.result: Update result mysql-test/r/rpl_log.result: Update result mysql-test/r/rpl_max_relay_size.result: Update result mysql-test/r/rpl_replicate_do.result: Update result mysql-test/t/lowercase_table3.test: Backport from 5.0 mysql-test/t/mysql_protocols.test: Backport from 5.0 mysql-test/t/rpl000015.test: Backport from 5.0 mysql-test/t/rpl_change_master.test: Backport from 5.0 mysql-test/t/rpl_drop_db.test: Backport from 5.0 mysql-test/t/rpl_error_ignored_table.test: Backport from 5.0 mysql-test/t/rpl_loaddata.test: Backport from 5.0 mysql-test/t/rpl_log-master.opt: Use --force-restart command in master.opt to force a restart for this test case mysql-test/t/rpl_log.test: Backport from 5.0 mysql-test/t/rpl_max_relay_size.test: Backport from 5.0 mysql-test/t/rpl_replicate_do.test: Backport from 5.0
* | Use char as datatype for the byte that are read with my_fgetc, fixes problem ↵unknown2006-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | with mysqltest.test on Solaris and Mac. write_file produced nice files with all zeroes. client/mysqltest.c: Use char as datatype for the byte that are read with my_fgetc mysql-test/mysql-test-run.pl: Fix typo, add missing $
* | Improving debugging support in 'read_line' functionunknown2006-10-141-8/+18
| |
* | Use 'my_strnncoll_simple' instead of 'strncasecmp'unknown2006-10-131-2/+4
| |
* | Add ATTRIBUTE_FORMAT specifier to _db_doprnt, which is used by DBUG_PRINTunknown2006-10-121-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | This will hopefully avoiid annoying crashes when running with --debug Fix warnings from the above in mysqltest.c client/mysqltest.c: Fix format specifier warnings in mysqltest.c include/my_dbug.h: Add ATTRIBUTE_FORMAT specifier to _db_doprnt, which is used by DBUG_PRINT This will hopefully avoiid annoying crashes when running with --debug
* | Merge bk-internal:/home/bk/mysql-4.1-maintunknown2006-10-122-2610/+4804
|\ \ | | | | | | | | | | | | | | | | | | into shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
| * | Move the reconnect variable to beginning of functionunknown2006-10-121-3/+3
| | | | | | | | | | | | | | | | | | | | | Fix warning about value from "*ptr++" not being used. Changed it to ptr++
| * | Only print cur_file->filename if cur_file->file is setunknown2006-10-121-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | MOve DBUG_ASSERT(result_file_name) to after DBUG_ENTER Change type of "reconnect" variable from int to my_bool, reconnect didn't work on Solaris without that
| * | Fixes for embedded server testunknown2006-10-111-1/+1
| | | | | | | | | | | | | | | client/mysqltest.c: Fix typo
| * | Fix some bad code in mysqltest.c which cause segfaultunknown2006-10-111-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client/mysqltest.c: Remove vsnprintf() and DBUG_PRINT from die() function, as it's not portable to Windows, and it's not allowed to call vsnprintf() and then vfprintf() with the same args. Can't just print the buffer here, because the buffer is a fixed size. If the message is longer than will fit int he buffer, it would get truncated on Unix, and the full thing would be printed on Windows. This DBUG_PRINT isn't important enough for this hassle, so just get rid of it.
| * | vsnprintf is not available on win2003-x86 host, as this is just a debug ↵unknown2006-10-081-0/+4
| | | | | | | | | | | | functionality - disable it for now.
| * | Init "saved_expected_errors" at program start, avoids crash where --error is ↵unknown2006-10-071-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | first command strcmp -> strncmp
| * | Add comment and remove strange assignment in 'do_exec'unknown2006-10-071-1/+1
| | |
| * | Two implementations of "get_err_code_from_name", one use if mysqld_ername.h ↵unknown2006-10-071-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | is available and oe if it's not Declare "to_ptr" first in block
| * | Merge neptunus.(none):/home/msvensson/mysql/same_tools/my41-same_toolsunknown2006-10-062-2610/+4797
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint mysql-test/r/subselect.result: Auto merged mysql-test/t/ps.test: Auto merged mysql-test/t/subselect.test: Auto merged
| | * | Add printout of file in which warning was detectedunknown2006-10-061-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup .progress, .reject, .log and .warnings files produced by mysqltest client/mysqltest.c: Add printout of file in which warning was detected mysql-test/include/ctype_like_escape.inc: Remove warnings, convert -- comments to # comments mysql-test/mysql-test-run.pl: Cleanup all files produced by mysqltest before starting mysqltest again
| | * | Add policy directive about keeping mysqltest framework tools identical in ↵unknown2006-10-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all versions mysql-test/mysql-test-run.pl: Add policy directive about keeping mysqltest framework tools identical in all versions Cleanup the initial comment to reflect current state
| | * | Bug #20010 mysql-test-run.pl: --record and --require conflict (test fails)unknown2006-10-051-86/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - When --record is passed to mysqltest the whole testcase should be executed as it normally is while the output form the test is acumulating in ds_res. When test has finished ds_res should simply be written to the specified result file(if any) instead of comapring it against the result file. Simplify handling of --require and also the cecking of result files by splitting check_result function into one function 'check_require' that is specialised in checking require's and leave 'check_result' to do just that. - "mysqltest --record" has been considered unsafe, but with this really simple logic, it should be safe to use. client/mysqltest.c: When --record is passed to mysqltest the whole testcase should be executed as it normally is while the output form the test is acumulating in ds_res. When test has finished ds_res should simply be written to the specified result file(if any) instead of comapring it against the result file. Simplify handling of --require and also the cecking of result files by splitting check_result function into one function 'check_require' that is specialised in checking require's and leave 'check_result' to do just that.
| | * | Improve "check_eol_junk" to detect junk although there are multi line ↵unknown2006-10-051-8/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | comments in the way. I.e take advantage of the fact that a # comment is always terminated by a new line Add tests for the above client/mysqltest.c: Improve "check_eol_junk" to detect junk although there are multi line comments in the way. I.e take advantage of the fact that a # comment is always terminated by a new line mysql-test/r/mysqltest.result: Update resut file mysql-test/t/mysqltest.test: Add test for improved check_eol_junk
| | * | Update "get_errcode_from_name"unknown2006-10-041-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add missing DBUG_RETURN - Change type of st_error->code to uint, that should be more than enough to hold the error numbers between 1000 and around 2000
| | * | Don't print version in error message, just too messy to test unknown2006-10-041-1/+1
| | | |
| | * | Add possibility to send warnings about suspicious commands in .test file to ↵unknown2006-10-041-58/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <result_file_name>.warnings file Move detection of "parsing enabled" to after command has been read. Cleanup parsing enabled/disabled
| | * | Fix problem when both option SSL and COMPRESS specifiedunknown2006-10-031-1/+6
| | | |
| | * | Fix typounknown2006-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Change con_host to ds_connection_name.str client/mysqltest.c: Change con_host to ds_connection_name.str
| | * | Update mysqltest to latest versionunknown2006-10-032-2588/+4612
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - ie. backport from 5.1 - also update testcase error dected by new version mysql-test/include/show_msg.inc: BitKeeper file /home/msvensson/mysql/same_tools/my41-same_tools/mysql-test/include/show_msg.inc mysql-test/include/show_msg80.inc: BitKeeper file /home/msvensson/mysql/same_tools/my41-same_tools/mysql-test/include/show_msg80.inc BitKeeper/deleted/.del-rpl_chain_temp_table.test: Delete: mysql-test/t/rpl_chain_temp_table.test BitKeeper/deleted/.del-rpl_chain_temp_table.result: Delete: mysql-test/r/rpl_chain_temp_table.result BitKeeper/deleted/.del-rpl_failsafe.result: Delete: mysql-test/r/rpl_failsafe.result BitKeeper/deleted/.del-rpl_failsafe.test: Delete: mysql-test/t/rpl_failsafe.test BitKeeper/deleted/.del-rpl_heap.test: Delete: mysql-test/t/rpl_heap.test BitKeeper/deleted/.del-rpl_heap.result: Delete: mysql-test/r/rpl_heap.result BitKeeper/deleted/.del-rpl000018.result: Delete: mysql-test/r/rpl000018.result BitKeeper/deleted/.del-rpl000018.test: Delete: mysql-test/t/rpl000018.test client/Makefile.am: Link mysqltest with mysys/my_copy.c client/mysqltest.c: Update mysqltest to latest version mysql-test/include/have_multi_ndb.inc: Remove old syntax "@filename" in favor of "--require filename" mysql-test/include/master-slave.inc: Remove old syntax "@filename" in favor of "--require filename" mysql-test/include/ps_query.inc: Remove the comment about no output now when it does. mysql-test/r/check.result: Update output from --send mysql-test/r/connect.result: Update result file for connect test after backport form 5.1 mysql-test/r/flush.result: Update output from --send mysql-test/r/flush_block_commit.result: Update output from --send mysql-test/r/func_misc.result: Update output from --send mysql-test/r/grant2.result: Update output from --send mysql-test/r/handler.result: Update output from --send mysql-test/r/kill.result: Update output from --send mysql-test/r/lock_multi.result: Update output from --send mysql-test/r/mix_innodb_myisam_binlog.result: Update output from --send mysql-test/r/mysqltest.result: Update mysqltest.result after backport mysql-test/r/ps_2myisam.result: Update result as the output from query is now printed mysql-test/r/ps_3innodb.result: Update result as the output from query is now printed mysql-test/r/ps_4heap.result: Update result as the output from query is now printed mysql-test/r/ps_5merge.result: Update result as the output from query is now printed mysql-test/r/ps_6bdb.result: Update result as the output from query is now printed mysql-test/r/ps_7ndb.result: Update result as the output from query is now printed mysql-test/r/rename.result: Update output from --send mysql-test/r/rpl000001.result: Update output from --send mysql-test/r/rpl_error_ignored_table.result: Update output from --send mysql-test/r/rpl_master_pos_wait.result: Update output from --send mysql-test/r/subselect.result: Update result file after adding missing ; mysql-test/r/synchronization.result: Update output from --send mysql-test/r/type_blob.result: Update result file after adding missing ; mysql-test/t/connect.test: Backport test from 5.1 mysql-test/t/init_file.test: Update test so something is printed mysql-test/t/mysql_client_test.test: Update test so result is sent to file and something is printed mysql-test/t/mysqltest.test: Backport latest mysqltest.test file mysql-test/t/ps.test: Move the --replace_column statement to just before the statetement it should replace mysql-test/t/ps_1general.test: Move the --replace_column statement to just before the statetement it should replace mysql-test/t/ps_grant.test: Remove the $DB, no other test uses it mysql-test/t/rpl_flush_tables.test: Fetch $SERVER_VERSION from the db server mysql-test/t/rpl_trunc_temp.test: Remove the selection of connection master after it's been disconnected already mysql-test/t/subselect.test: Add missing ; mysql-test/t/type_blob.test: Add missing ;
* | | | Merge bk-internal.mysql.com:/home/bk/mysql-4.1-maintunknown2006-10-091-0/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/bug17583/my41-bug17583 client/mysql.cc: Auto merged
| * | | | Bug#17583: mysql drops connection when stdout is not writableunknown2006-10-091-0/+15
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the client program had its stdout file descriptor closed by the calling shell, after some amount of work (enough to fill a socket buffer) the server would complain about a packet error and then disconnect the client. This is a serious security problem. If stdout is closed before the mysql is exec()d, then the first socket() call allocates file number 1 to communicate with the server. Subsequent write()s to that file number (as when printing results that come back from the database) go back to the server instead in the command channel. So, one should be able to craft data which, upon being selected back from the server to the client, and injected into the command stream become valid MySQL protocol to do something nasty when sent /back/ to the server. The solution is to close explicitly the file descriptor that we *printf() to, so that the libc layer and the OS layer both agree that the file is closed. BitKeeper/etc/collapsed: BitKeeper file /home/cmiller/work/mysql/bug17583/my41-bug17583/BitKeeper/etc/collapsed client/mysql.cc: If standard output is not open (specifically, if dup() of its file number fails) then we explicitly close it so that future uses of the file descriptor behave correctly for a closed file. mysql-test/r/mysql_client.result: Prove that the problem of writing SQL output to the command socket no longer exists. mysql-test/t/mysql_client.test: Prove that the problem of writing SQL output to the command socket no longer exists.
* | | | Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/bug19660/my41-bug19660unknown2006-10-041-5/+3
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | | | | into rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-4.1-maint client/mysqldump.c: Auto merged
| * | Bug#19660 mysqldump --single-transaction should be with CONSISTENT SNAPSHOTunknown2006-10-031-5/+3
| | | | | | | | | | | | | | | | | | | | | client/mysqldump.c: Bug#19660 mysqldump --single-transaction should be with CONSISTENT SNAPSHOT - Remove old BEGIN syntax and replace with START TRANSATION. Add CONSISTENT SNAPSHOT option for servers that support it.
* | | Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1-maintunknown2006-09-181-2/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | into mysql.com:/usr/home/ram/work/bug21142/my41-bug21142 client/mysql.cc: Auto merged
| * | Fix for bug #21142: Malformed insert causes a segmentation fault.unknown2006-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | - possible stack overflow fixed. client/mysql.cc: Fix for bug #21142: Malformed insert causes a segmentation fault. - as 'line' may be longer than 'buff' we must take into account its length.
* | | Merge bk-internal:/home/bk/mysql-4.1-maintunknown2006-08-311-5/+11
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into rama.(none):/home/jimw/my/mysql-4.1-21288
| * | | Bug #21288: mysqldump segmentation fault when using --whereunknown2006-08-171-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was that the error handling was using a too-small buffer to print the error message generated. We fix this by not using a buffer at all, but by using fprintf() directly. There were also some problems with the error handling in table dumping that was exposed by this fix that were also corrected. client/mysqldump.c: Use fprintf() instead of my_printf_error() to avoid buffer overflow issues. Since ME_BELL wasn't specified, calling my_printf_error() offered no advantage except for adding my_progname, which we just go ahead and do manually. Also, fix the error handling in dumpTable() when queries to get data fail and --force was specified. mysql-test/r/mysqldump.result: Add new results mysql-test/t/mysqldump.test: Add new regression test
* | | | Merge mysql.com:/usr/home/bar/mysql-4.1unknown2006-08-151-2/+7
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/usr/home/bar/mysql-4.1.b17939 client/mysql.cc: Auto merged
| * | | Bug#17939: Wrong table format when using UTF8 stringsunknown2006-04-171-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lines with column names consisting of national letters were wrongly formatted in "mysql --table" results: mysql> SELECT 'xxx xxx xxx' as 'xxx xxx xxx'; +-------------------+ | xxx xxx xxx | +-------------------+ | xxx xxx xxx | +-------------------+ 1 row in set (0.00 sec) It happened because in UTF-8 (and other multibyte charsets) the number of display cells is not always equal to the number of bytes of the string. Data lines (unlike column name lines) were formatted correctly, because data lines were displayed taking in account number of display cells. This patch takes in account number of cells when displaying column names, the same way like displaying data lines does. Note: The patch is going to be applied to 4.1. Test case will be added after merge to 5.0, into "mysql.test", which appeared in 5.0. mysql.cc: Adding column name allignment using numcells(), the same to data alignment, which was implemented earlier. client/mysql.cc: Adding column name allignment, the same to data alignment, which was implemented earlier.
* | | | Merge bk-internal.mysql.com:/home/bk/mysql-4.1unknown2006-08-021-15/+24
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/m41-maint--07OBQ sql/set_var.cc: Auto merged
| * \ \ \ Merge ↵unknown2006-07-311-12/+10
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | anubis.greendragongames.com:/home/greenman/workspace-mysql/mysql/mysql-4.1-maint into anubis.greendragongames.com:/home/greenman/workspace-mysql/mysql/pending/bug-4.1-19364 client/mysql.cc: Auto merged
| | * | | | Fix for Bug #19364 "mysql --help gives old informations".unknown2006-07-131-12/+10
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old option ordering in the help was confusing to some users. Changed ordering of deprecated options to be consistent, and added mention to entry for options with a "--no-option" variant mentioning the "--disable-option" variant. client/mysql.cc: Rearranged options for clarity. Deprecated "--no-X" options now follow the "--X" option, and all of the "--X" options that have a "--no-X" variant now mention the "--disable-X" variant.
| * | | | Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-4.1-maintunknown2006-07-191-3/+14
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-4.1-maint_bug20328 client/mysql.cc: Auto merged mysql-test/r/bug20328.result: Merge rename: mysql-test/r/mysql_client.result -> mysql-test/r/bug20328.result mysql-test/t/bug20328.test: Merge rename: mysql-test/t/mysql_client.test -> mysql-test/t/bug20328.test
| | * | | | Bug#20328 mysql client: dumb about trailing spaces on help command.unknown2006-06-291-3/+14
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client/mysql.cc: Remove trailing spaces from help arguments in com_server_help. Disregard trailing spaces from command in com_help. mysql-test/r/mysql_client.result: Test trailing spaces on the help command. mysql-test/t/mysql_client.test: Result trailing spaces on the help command.
* | | | | Merge 192.168.0.20:mysql/bug21217/my41-bug21217unknown2006-07-311-2/+4
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-4.1
| * | | | BUG#21217 "mysqltest" client is inconsistent when to log a line numberunknown2006-07-301-2/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | - Init start_lineno to 0 client/mysqltest.c: Init start_lineno to 0 and set it back to zero before comparing result file.
* | | | Merge igreenhoe@bk-internal.mysql.com:/home/bk/mysql-4.1-maintunknown2006-07-131-1/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | into anubis.greendragongames.com:/home/greenman/workspace-mysql/mysql/pending/bug-4.1-15977
| * | | Bug#20432: mysql client interprets commands in commentsunknown2006-07-131-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do not look for client-specific commands while inside a multi-line comment. we will allow multi-comments pretty much anywhere within SQL-statements, but client-specific commands (help, use, print, ...) must be the first token in the input. client/mysql.cc: Bug#20432: mysql client interprets commands in comments mysql-test/r/mysql_client.result: Bug#20432: mysql client interprets commands in comments test client-side parsing of comments and client-specific commands mysql-test/t/mysql_client.test: Bug#20432: mysql client interprets commands in comments test client-side parsing of comments and client-specific commands