summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 68804b83d26..33bfc993b5f 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -549,6 +549,8 @@ public:
const char *func_name() const { return "greatest"; }
};
+
+#ifdef HAVE_COMPRESS
class Item_func_crc32 :public Item_int_func
{
String value;
@@ -558,7 +560,7 @@ public:
const char *func_name() const { return "crc32"; }
void fix_length_and_dec() { max_length=10; }
};
-
+#endif
class Item_func_length :public Item_int_func
{