summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-05-07 18:56:46 +0400
committerAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-05-07 18:56:46 +0400
commite58c0596954d22262199a7228427e9a1c29d8c76 (patch)
treeaea0b56133cbeab4c5fde346d4d0d5e8c647c3a0 /sql/sql_load.cc
parent85ed11c60d569a54a32cce1588594ee18c43e40a (diff)
parent783c6acd7fbb6809934312af84cbd0a8a8c120da (diff)
downloadmariadb-git-e58c0596954d22262199a7228427e9a1c29d8c76.tar.gz
Manual merge of local mysql-trunk-merge with bk-internal.
Conflicts: Text conflict in sql/CMakeLists.txt
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r--sql/sql_load.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index d264c61c36c..77068f3d83b 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -694,7 +694,7 @@ static bool write_execute_load_query_log_event(THD *thd, sql_exchange* ex,
{
if (n++)
pfields.append(", ");
- if (item->name)
+ if (item->type() == Item::FIELD_ITEM)
{
pfields.append("`");
pfields.append(item->name);