summaryrefslogtreecommitdiff
path: root/sql/protocol.cc
diff options
context:
space:
mode:
authorunknown <venu@myvenu.com>2003-01-23 22:32:39 -0800
committerunknown <venu@myvenu.com>2003-01-23 22:32:39 -0800
commit4484cec8e557f3712eef6b156957d7e1efda4b76 (patch)
tree3770332cd8ad21a18d63fc12c201a57de514def2 /sql/protocol.cc
parentd78dced1347fac1f512eb2cbfbba5cd49be51e0b (diff)
downloadmariadb-git-4484cec8e557f3712eef6b156957d7e1efda4b76.tar.gz
MYSQL_TIME handling(Direct DATE,TIME and TS th' structure) - server
Diffstat (limited to 'sql/protocol.cc')
-rw-r--r--sql/protocol.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc
index da9f5712e3a..b81aa54af99 100644
--- a/sql/protocol.cc
+++ b/sql/protocol.cc
@@ -923,6 +923,7 @@ bool Protocol_prep::store_long(longlong from)
{
#ifndef DEBUG_OFF
DBUG_ASSERT(field_types == 0 ||
+ field_types[field_pos] == MYSQL_TYPE_INT24 ||
field_types[field_pos] == MYSQL_TYPE_LONG);
#endif
field_pos++;