summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-10-13 20:58:08 +0200
committerSergei Golubchik <serg@mariadb.org>2016-10-14 01:12:04 +0200
commit01b39b7b0730102b88d8ea43ec719a75e9316a1e (patch)
tree43cc26b062c4a8e4a013eade73823a2a4f5b9b0e /client
parent383007c75d6ef5043fa5781956a6a02b24e2b79e (diff)
downloadmariadb-git-01b39b7b0730102b88d8ea43ec719a75e9316a1e.tar.gz
mysqltest: don't eat new lines in --exec
pass them through as is
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index 3652d1a40e2..acb9e8b1e0c 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -3349,10 +3349,6 @@ void do_exec(struct st_command *command)
#endif
#endif
- /* exec command is interpreted externally and will not take newlines */
- while(replace(&ds_cmd, "\n", 1, " ", 1) == 0)
- ;
-
DBUG_PRINT("info", ("Executing '%s' as '%s'",
command->first_argument, ds_cmd.str));