diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-01-15 19:16:18 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-01-15 19:16:18 +0100 |
commit | 9b9c138e2aaa036c0cb4e833e45be3f612b7d131 (patch) | |
tree | 09a37928b317b79a32f780470e95003689c3e8a0 /sql/sql_load.cc | |
parent | 1f0e6837d1a38b87a323972ee3fb432f463f6bc7 (diff) | |
download | mariadb-git-9b9c138e2aaa036c0cb4e833e45be3f612b7d131.tar.gz |
small cleanups
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r-- | sql/sql_load.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc index 98031c96225..6c27a9d123a 100644 --- a/sql/sql_load.cc +++ b/sql/sql_load.cc @@ -741,14 +741,14 @@ static bool write_execute_load_query_log_event(THD *thd, sql_exchange* ex, List_iterator<Item> lu(thd->lex->update_list); List_iterator<Item> lv(thd->lex->value_list); - query_str.append(" SET "); + query_str.append(STRING_WITH_LEN(" SET ")); n= 0; while ((item= lu++)) { val= lv++; if (n++) - query_str.append(", "); + query_str.append(STRING_WITH_LEN(", ")); append_identifier(thd, &query_str, item->name, strlen(item->name)); query_str.append(val->name); } |