summaryrefslogtreecommitdiff
path: root/sql/item_create.h
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-02-27 03:44:44 +0200
committermonty@narttu.mysql.fi <>2003-02-27 03:44:44 +0200
commit3b073a08e0dd99df731033339c0e29ff7c07c101 (patch)
treee734507eb0df4722e03a80a37b7b9a4c53728c3e /sql/item_create.h
parent9a46698e1efe164ac17ce0ca82b8e8ed12892c09 (diff)
downloadmariadb-git-3b073a08e0dd99df731033339c0e29ff7c07c101.tar.gz
Portability fixes
Don't define crc32 if we are not linking with gzip
Diffstat (limited to 'sql/item_create.h')
-rw-r--r--sql/item_create.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_create.h b/sql/item_create.h
index 0c51886180f..f7542a7b29f 100644
--- a/sql/item_create.h
+++ b/sql/item_create.h
@@ -32,7 +32,9 @@ Item *create_func_connection_id(void);
Item *create_func_conv(Item* a, Item *b, Item *c);
Item *create_func_cos(Item* a);
Item *create_func_cot(Item* a);
+#ifdef HAVE_COMPRESS
Item *create_func_crc32(Item* a);
+#endif
Item *create_func_date_format(Item* a,Item *b);
Item *create_func_dayname(Item* a);
Item *create_func_dayofmonth(Item* a);