summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorIngo Struewing <ingo.struewing@sun.com>2009-09-30 12:30:09 +0200
committerIngo Struewing <ingo.struewing@sun.com>2009-09-30 12:30:09 +0200
commit309ffb8b13f0fd035748a940f39f96011e58873b (patch)
tree4adfdc1d8d25271f843e0f702cc77bceb242b70f /libmysqld
parent1e87babb1914c288df06a2dd9c8c4e96c70380df (diff)
parentb3886f46da6278b511de9f07cbfa884ef09e18bb (diff)
downloadmariadb-git-309ffb8b13f0fd035748a940f39f96011e58873b.tar.gz
auto-merge
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index 64822f8fad6..4b3822dd250 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -952,7 +952,7 @@ bool Protocol::send_fields(List<Item> *list, uint flags)
client_field->catalog= dup_str_aux(field_alloc, "def", 3, cs, thd_cs);
client_field->catalog_length= 3;
- if (INTERNAL_NUM_FIELD(client_field))
+ if (IS_NUM(client_field->type))
client_field->flags|= NUM_FLAG;
if (flags & (int) Protocol::SEND_DEFAULTS)