diff options
author | monty@narttu.mysql.fi <> | 2003-02-27 03:44:44 +0200 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2003-02-27 03:44:44 +0200 |
commit | 3b073a08e0dd99df731033339c0e29ff7c07c101 (patch) | |
tree | e734507eb0df4722e03a80a37b7b9a4c53728c3e /sql/item_create.cc | |
parent | 9a46698e1efe164ac17ce0ca82b8e8ed12892c09 (diff) | |
download | mariadb-git-3b073a08e0dd99df731033339c0e29ff7c07c101.tar.gz |
Portability fixes
Don't define crc32 if we are not linking with gzip
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r-- | sql/item_create.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc index 5c37abb230f..8b2cf52f660 100644 --- a/sql/item_create.cc +++ b/sql/item_create.cc @@ -103,10 +103,13 @@ Item *create_func_cot(Item* a) new Item_func_tan(a)); } + +#ifdef HAVE_COMPRESS Item *create_func_crc32(Item* a) { return new Item_func_crc32(a); } +#endif Item *create_func_date_format(Item* a,Item *b) { |