summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 433fcd1d078..7b81a4499e7 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -4096,7 +4096,7 @@ enum_field_types Item::string_field_type() const
f_type= MYSQL_TYPE_LONG_BLOB;
else if (max_length >= 65536)
f_type= MYSQL_TYPE_MEDIUM_BLOB;
- return type;
+ return f_type;
}