summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-08-21 16:15:06 +0200
committerunknown <serg@serg.mylan>2003-08-21 16:15:06 +0200
commite103da7acc6f3563a2f7207e59c34b9d9ff64295 (patch)
tree5d947ccbb3381780780dbd2338b587ce9cbe0855 /sql/item_func.h
parent1e4b664311fd561ef459db689fd9f0c0abe8ffad (diff)
downloadmariadb-git-e103da7acc6f3563a2f7207e59c34b9d9ff64295.tar.gz
fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
moved them all from different places to item_strfunc.{h,cc} checksum table command Com_xxx status variables updated sql/item_create.cc: fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib moved them all from different places to item_strfunc.{h,cc} sql/item_func.cc: fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib moved them all from different places to item_strfunc.{h,cc} sql/item_func.h: fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib moved them all from different places to item_strfunc.{h,cc} sql/item_geofunc.h: fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib moved them all from different places to item_strfunc.{h,cc} sql/item_strfunc.cc: fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib moved them all from different places to item_strfunc.{h,cc} sql/item_strfunc.h: fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib moved them all from different places to item_strfunc.{h,cc} sql/mysql_priv.h: checksum table command sql/mysqld.cc: Com_xxx updated sql/sql_lex.h: checksum table command sql/sql_parse.cc: checksum table command sql/sql_table.cc: checksum table command sql/sql_yacc.yy: checksum table command
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 56ee0379cd5..b7e99bb37b7 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -553,27 +553,6 @@ public:
};
-#ifdef HAVE_COMPRESS
-class Item_func_crc32 :public Item_int_func
-{
- String value;
-public:
- Item_func_crc32(Item *a) :Item_int_func(a) {}
- longlong val_int();
- const char *func_name() const { return "crc32"; }
- void fix_length_and_dec() { max_length=10; }
-};
-class Item_func_uncompressed_length : public Item_int_func
-{
- String value;
-public:
- Item_func_uncompressed_length(Item *a):Item_int_func(a){}
- longlong val_int();
- const char *func_name() const{return "uncompressed_length";}
- void fix_length_and_dec() { max_length=10; }
-};
-#endif
-
class Item_func_length :public Item_int_func
{
String value;