diff options
author | unknown <ram@ram.(none)> | 2002-08-09 15:42:38 +0500 |
---|---|---|
committer | unknown <ram@ram.(none)> | 2002-08-09 15:42:38 +0500 |
commit | 8c1d8eb4f76da9054ee23565f4ad6d0a09df49cb (patch) | |
tree | 658181c55240bb8634276ba05e9324522a476392 /sql/item_strfunc.h | |
parent | 744a4f95d9c581588ffb11cce01ca15310d734da (diff) | |
download | mariadb-git-8c1d8eb4f76da9054ee23565f4ad6d0a09df49cb.tar.gz |
QUOTE() func changes according to monty's suggestions
sql/item_strfunc.cc:
added bitmap for QUOTE() func
sql/item_strfunc.h:
moved fix_length_and_dec code to .h file
sql/sql_yacc.yy:
removed QUOTE stuff
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r-- | sql/item_strfunc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index b64c7c2587c..2806b8f9461 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -542,5 +542,5 @@ public: Item_func_quote(Item *a) :Item_str_func(a) {} const char *func_name() const { return "quote"; } String *val_str(String *); - void fix_length_and_dec(); + void fix_length_and_dec() { max_length= args[0]->max_length * 2 + 2; } }; |