summaryrefslogtreecommitdiff
path: root/sql/item_create.cc
diff options
context:
space:
mode:
authorunknown <vva@eagle.mysql.r18.ru>2003-04-22 18:41:47 -0400
committerunknown <vva@eagle.mysql.r18.ru>2003-04-22 18:41:47 -0400
commit5ab46afca6cf1e0ad7a298db54f3971234cb8f6c (patch)
tree82a6ee88ce718a01374afecdb2710ee9c420cd6e /sql/item_create.cc
parent7c87a3f140ac801c0922b3a24e59381f627f105a (diff)
downloadmariadb-git-5ab46afca6cf1e0ad7a298db54f3971234cb8f6c.tar.gz
small compress/uncompress modification after monty's review
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r--sql/item_create.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc
index 2fb753912eb..23e4ce1d2b4 100644
--- a/sql/item_create.cc
+++ b/sql/item_create.cc
@@ -646,7 +646,13 @@ Item *create_func_point(Item *a, Item *b)
return new Item_func_point(a, b);
}
-#ifdef HAVE_COMPRESS
+#if !defined(HAVE_COMPRESS)
+
+Item *create_func_compress (Item*a __attribute__((unused))){return 0;}
+Item *create_func_uncompress (Item*a __attribute__((unused))){return 0;}
+Item *create_func_uncompressed_length(Item*a __attribute__((unused))){return 0;}
+
+#else
Item *create_func_compress(Item* a)
{