diff options
author | unknown <jimw@mysql.com> | 2005-08-09 12:17:28 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-08-09 12:17:28 -0700 |
commit | d2c97cdee09944225768b4e1def38c7518273bd0 (patch) | |
tree | ce1f74db34f2c27fff99603478ade0b6d4cae08a /mysql-test/r/mysql.result | |
parent | c4187de67af5892d857d1a4c2e21fca8e358c7a4 (diff) | |
download | mariadb-git-d2c97cdee09944225768b4e1def38c7518273bd0.tar.gz |
Fix 'source' command in mysql client to handle delimiter command
in sourced file properly. (Bug #11523)
client/mysql.cc:
Rename read_lines() to read_and_execute() and change interface so it
is clear when we are reading and processing lines interactively versus
in batch mode or from a file being sourced.
mysql-test/r/mysql.result:
Add results
mysql-test/t/mysql_delimiter.sql:
Add new test
mysql-test/t/mysql_delimiter_source.sql:
New BitKeeper file ``mysql-test/t/mysql_delimiter_source.sql''
Diffstat (limited to 'mysql-test/r/mysql.result')
-rw-r--r-- | mysql-test/r/mysql.result | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/mysql.result b/mysql-test/r/mysql.result index dbb47152926..eeb6abd9f41 100644 --- a/mysql-test/r/mysql.result +++ b/mysql-test/r/mysql.result @@ -31,6 +31,10 @@ a Test delimiter delimiter a 1 +Tables_in_test +t1 +t2 +t3 Test delimiter : from command line a |