diff options
author | Bjorn Munch <Bjorn.Munch@sun.com> | 2010-01-20 14:23:57 +0100 |
---|---|---|
committer | Bjorn Munch <Bjorn.Munch@sun.com> | 2010-01-20 14:23:57 +0100 |
commit | 84616df3ffd514d85c5942c6db8729b8c466f39c (patch) | |
tree | 6d10b04e422cb63806e6a562aaba72fb8b83fb96 /client | |
parent | 87ff57cb7eaefd87e54ec0cbf80f71af2167581a (diff) | |
parent | 5ae2eda776477494af7dfe2cad9d50bb4ad8d9eb (diff) | |
download | mariadb-git-84616df3ffd514d85c5942c6db8729b8c466f39c.tar.gz |
merge 49837
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc index bafc5f6781d..12aff05eff5 100644 --- a/client/mysqltest.cc +++ b/client/mysqltest.cc @@ -2662,6 +2662,10 @@ 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)); |