summaryrefslogtreecommitdiff
path: root/sql/item_create.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2004-03-04 10:07:32 +0200
committermonty@mashka.mysql.fi <>2004-03-04 10:07:32 +0200
commit93dd971bed7cf2f0dfe5279529d906c9c2881348 (patch)
treec46614146745f57ac8c51d0ea0d932e5c24df7ca /sql/item_create.cc
parentab1786129cdfbaedcdf947d0e24594a41fa28e42 (diff)
parentafd8f38f4e16bce5881ffe3734f17fd18eb30f21 (diff)
downloadmariadb-git-93dd971bed7cf2f0dfe5279529d906c9c2881348.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mashka.mysql.fi:/home/my/mysql-4.1
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r--sql/item_create.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc
index eda3d43afdc..213938c89b5 100644
--- a/sql/item_create.cc
+++ b/sql/item_create.cc
@@ -460,6 +460,7 @@ Item *create_func_cast(Item *a, Cast_target cast_type, int len,
{
Item *res;
LINT_INIT(res);
+
switch (cast_type) {
case ITEM_CAST_BINARY: res= new Item_func_binary(a); break;
case ITEM_CAST_SIGNED_INT: res= new Item_func_signed(a); break;