diff options
author | serg@serg.mylan <> | 2003-08-21 16:15:06 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2003-08-21 16:15:06 +0200 |
commit | 08d7f298eee94368ea2f704a3897a0cc9054fd6a (patch) | |
tree | 5d947ccbb3381780780dbd2338b587ce9cbe0855 /sql/item_geofunc.h | |
parent | 7b873fa8765968f7a1a014e96e689a1e8d38efe7 (diff) | |
download | mariadb-git-08d7f298eee94368ea2f704a3897a0cc9054fd6a.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
Diffstat (limited to 'sql/item_geofunc.h')
-rw-r--r-- | sql/item_geofunc.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sql/item_geofunc.h b/sql/item_geofunc.h index d86914eb6c5..79e45cca26f 100644 --- a/sql/item_geofunc.h +++ b/sql/item_geofunc.h @@ -167,30 +167,6 @@ public: const char *func_name() const { return "multipoint"; } }; -#ifdef HAVE_COMPRESS - -class Item_func_compress: public Item_str_func -{ - String buffer; -public: - Item_func_compress(Item *a):Item_str_func(a){} - String *val_str(String *); - void fix_length_and_dec(){max_length= (args[0]->max_length*120)/100+12;} - const char *func_name() const{return "compress";} -}; - -class Item_func_uncompress: public Item_str_func -{ - String buffer; -public: - Item_func_uncompress(Item *a): Item_str_func(a){} - String *val_str(String *); - void fix_length_and_dec(){max_length= MAX_BLOB_WIDTH;} - const char *func_name() const{return "uncompress";} -}; - -#endif - /* Spatial relations */ |