diff options
author | acurtis@xiphis.org <> | 2005-04-21 13:22:47 +0100 |
---|---|---|
committer | acurtis@xiphis.org <> | 2005-04-21 13:22:47 +0100 |
commit | f67507588fc58b86a05ea494f669e2909b08bc72 (patch) | |
tree | 8df8337ce1a9874bfb77d66f673ac6c9b35efc30 /sql/protocol.cc | |
parent | 8689083aca0c97457701551b776b1a9c9743c10d (diff) | |
download | mariadb-git-f67507588fc58b86a05ea494f669e2909b08bc72.tar.gz |
Bug#8861 - If Return is a YEAR data type, value is not shown in year format
Bug partially fixed by 9775/9102 work on SP function return.
Diffstat (limited to 'sql/protocol.cc')
-rw-r--r-- | sql/protocol.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc index dc9ab7bf795..edeb78cc00b 100644 --- a/sql/protocol.cc +++ b/sql/protocol.cc @@ -774,6 +774,7 @@ bool Protocol_simple::store(const char *from, uint length, #ifndef DEBUG_OFF DBUG_ASSERT(field_types == 0 || field_types[field_pos] == MYSQL_TYPE_DECIMAL || + field_types[field_pos] == MYSQL_TYPE_YEAR || field_types[field_pos] == MYSQL_TYPE_BIT || field_types[field_pos] == MYSQL_TYPE_NEWDECIMAL || (field_types[field_pos] >= MYSQL_TYPE_ENUM && |