summaryrefslogtreecommitdiff
path: root/sql/item_create.cc
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2004-03-04 10:07:32 +0200
committerunknown <monty@mashka.mysql.fi>2004-03-04 10:07:32 +0200
commit96a1f9d72e78de244880eaad65358f4a1d92c117 (patch)
treec46614146745f57ac8c51d0ea0d932e5c24df7ca /sql/item_create.cc
parente269e9c95fad613b8b0152642a317e2082323230 (diff)
parentafa6728a9f7c00582b3dc9e96b2dce5c4ac1e56c (diff)
downloadmariadb-git-96a1f9d72e78de244880eaad65358f4a1d92c117.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mashka.mysql.fi:/home/my/mysql-4.1 sql/item_create.cc: Auto merged
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;