summaryrefslogtreecommitdiff
path: root/sql/protocol.cc
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-11-04 14:09:03 +0200
committermonty@narttu.mysql.fi <>2003-11-04 14:09:03 +0200
commitf763d4c31d0c6aa4496c6682e4e329a19384606e (patch)
tree07ce6a4f792ac489b079759afb3cc65847ca0cb0 /sql/protocol.cc
parent4e4725377d27ff0101788fd7ed89670614ed8294 (diff)
downloadmariadb-git-f763d4c31d0c6aa4496c6682e4e329a19384606e.tar.gz
Removed some warnings reported by valgrind
After merge fixes. Now code compiles, but there is still some valgrind warnings that needs to be fixed
Diffstat (limited to 'sql/protocol.cc')
-rw-r--r--sql/protocol.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc
index d7a745d371d..8ba3cdec8e0 100644
--- a/sql/protocol.cc
+++ b/sql/protocol.cc
@@ -496,7 +496,7 @@ bool Protocol::send_fields(List<Item> *list, uint flag)
if (thd->client_capabilities & CLIENT_PROTOCOL_41)
{
- if (prot.store("std", 3, cs, thd_charset) ||
+ if (prot.store("def", 3, cs, thd_charset) ||
prot.store(field.db_name, (uint) strlen(field.db_name),
cs, thd_charset) ||
prot.store(field.table_name, (uint) strlen(field.table_name),