From d6aacb9e22a202ecb65679d7af17174664917a45 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 31 Oct 2003 11:52:01 +0200 Subject: amall fix mysql-test/r/derived.result: fixed results after merge mysql-test/r/func_in.result: small fix to amke all names uniform mysql-test/r/func_math.result: forgot to change sql/item.cc: fix sql/item_create.cc: small fix to amke all names uniform --- sql/item.cc | 4 ++-- sql/item_create.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sql') diff --git a/sql/item.cc b/sql/item.cc index 735d67c6c3f..ce143f71a3c 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -1650,10 +1650,10 @@ void Item_default_value::print(String *str) { if (!arg) { - str->append("default", 6); + str->append("default", 7); return; } - str->append("default", 7); + str->append("default(", 8); arg->print(str); str->append(')'); } diff --git a/sql/item_create.cc b/sql/item_create.cc index 0755a43a48e..a25ccfe984b 100644 --- a/sql/item_create.cc +++ b/sql/item_create.cc @@ -292,7 +292,7 @@ Item *create_func_period_diff(Item* a, Item *b) Item *create_func_pi(void) { - return new Item_real("Pi()",M_PI,6,8); + return new Item_real("pi()",M_PI,6,8); } Item *create_func_pow(Item* a, Item *b) -- cgit v1.2.1