diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 16:20:59 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 16:20:59 +0200 |
commit | ffbd15eb3242ab9b003c025925a462b5bd24a761 (patch) | |
tree | a12ad27f05eea65cb9c48c666c2f8d4c52408c5d /storage/federatedx | |
parent | 7ec57f2279b984d071b2c5c24261ee479e1caefc (diff) | |
download | mariadb-git-ffbd15eb3242ab9b003c025925a462b5bd24a761.tar.gz |
post-review comments and other minor edits
Diffstat (limited to 'storage/federatedx')
-rw-r--r-- | storage/federatedx/ha_federatedx.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/storage/federatedx/ha_federatedx.cc b/storage/federatedx/ha_federatedx.cc index 81b57034e66..2f84cdf5c45 100644 --- a/storage/federatedx/ha_federatedx.cc +++ b/storage/federatedx/ha_federatedx.cc @@ -3622,9 +3622,10 @@ int ha_federatedx::discover_assisted(handlerton *hton, THD* thd, goto err2; query.copy(rdata[1], rlen[1], cs); - query.append(STRING_WITH_LEN(" CONNECTION=\""), cs); - query.append(table_s->connect_string.str, table_s->connect_string.length, cs); - query.append('"'); + query.append(STRING_WITH_LEN(" CONNECTION='"), cs); + query.append_for_single_quote(table_s->connect_string.str, + table_s->connect_string.length); + query.append('\''); error= table_s->init_from_sql_statement_string(thd, true, query.ptr(), query.length()); |