summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorunknown <joerg@mysql.com>2005-02-17 22:32:21 +0100
committerunknown <joerg@mysql.com>2005-02-17 22:32:21 +0100
commitb2dc546ef4abc9534eda1bff3d2e0463068b92ca (patch)
tree4dfc359af330e5e74f8547353fd31592e9ad863c /sql/item_func.h
parent71cf9ab0cbefe84b7c84b1b0afd4ab4407c87429 (diff)
downloadmariadb-git-b2dc546ef4abc9534eda1bff3d2e0463068b92ca.tar.gz
Fix a compile error (missing return value).
sql/item_func.h: Fix a compoile error (missing return value) as proposed by Tomas Ulin.
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 20f70fce575..70ad1a0375f 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -348,7 +348,7 @@ class Item_func_div :public Item_num_op
{
public:
Item_func_div(Item *a,Item *b) :Item_num_op(a,b) {}
- longlong int_op() { DBUG_ASSERT(0); }
+ longlong int_op() { DBUG_ASSERT(0); return 0; }
double real_op();
my_decimal *decimal_op(my_decimal *);
const char *func_name() const { return "/"; }