summaryrefslogtreecommitdiff
path: root/sql/item_create.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-02-07 17:57:07 +0200
committermonty@mashka.mysql.fi <>2003-02-07 17:57:07 +0200
commit1b9b042654512c7013fceb135795fc4453011033 (patch)
tree47bb4c4c761190424e909ac9f98674ad71c80b6d /sql/item_create.cc
parentf68914addb4a59927cbc47c8d3a2431b5b180770 (diff)
downloadmariadb-git-1b9b042654512c7013fceb135795fc4453011033.tar.gz
Fix problem in MIN/MAX optimisation (from last patch)
Don't make OLD_PASSWORD() a reserved word
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r--sql/item_create.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc
index a4486a0b1c7..7e082bc174c 100644
--- a/sql/item_create.cc
+++ b/sql/item_create.cc
@@ -307,6 +307,11 @@ Item *create_func_quarter(Item* a)
return new Item_func_quarter(a);
}
+Item *create_func_password(Item* a)
+{
+ return new Item_func_password(a);
+}
+
Item *create_func_radians(Item *a)
{
return new Item_func_units((char*) "radians",a,M_PI/180,0.0);