summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorunknown <ram@ram.(none)>2002-08-08 20:25:53 +0500
committerunknown <ram@ram.(none)>2002-08-08 20:25:53 +0500
commit744a4f95d9c581588ffb11cce01ca15310d734da (patch)
tree4a9a6bb08d5e22e59a72992adf73586c7f810ecd /sql/item_strfunc.h
parent028cfaba9ba0fcbba30511e6951daab6a1829f20 (diff)
downloadmariadb-git-744a4f95d9c581588ffb11cce01ca15310d734da.tar.gz
new QUOTE() fuction has been added
BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r--sql/item_strfunc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index 835b1c7547d..b64c7c2587c 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -535,3 +535,12 @@ public:
const char *func_name() const { return "inet_ntoa"; }
void fix_length_and_dec() { decimals = 0; max_length=3*8+7; }
};
+
+class Item_func_quote :public Item_str_func
+{
+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();
+};