summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2009-08-28 12:06:59 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2009-08-28 12:06:59 -0300
commita0e44ec1e8d2352df6dbf40c959e2115c9884c7e (patch)
tree2b40359f8bd844b838b3cb47688b896a6f581f51 /sql/item.cc
parentedb71b0cdd4a780aaa678a3514cfe13a98e9dde3 (diff)
downloadmariadb-git-a0e44ec1e8d2352df6dbf40c959e2115c9884c7e.tar.gz
Fix for a few assorted compiler warnings.
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 0ebb1d61a28..c1ba6fe77a3 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -3305,8 +3305,7 @@ Item_copy *Item_copy::create (Item *item)
new Item_copy_uint (item) : new Item_copy_int (item);
case DECIMAL_RESULT:
return new Item_copy_decimal (item);
-
- case ROW_RESULT:
+ default:
DBUG_ASSERT (0);
}
/* should not happen */