summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-06-30 18:57:21 +0300
committermonty@hundin.mysql.fi <>2002-06-30 18:57:21 +0300
commitf87efa928b807a03c83b75a87f0d773e4bc8eb68 (patch)
treec1bcaea9558c224371254c107ba497d9242758b7 /sql/item_func.h
parente5b02fbe6efd6c88a485a50fde2f44837c55f6bc (diff)
downloadmariadb-git-f87efa928b807a03c83b75a87f0d773e4bc8eb68.tar.gz
Update for running gcc 3.x (mainly on HPUX)
Portability fixes for HPUX Rename of CHECK_LOCK to IS_FREE_LOCK Apply lower_case_table_names also to databases Cleanup of describe code Don't allow \ in database names
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 0e1b5b7c9e0..5560d3cdb0d 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -1000,11 +1000,11 @@ public:
void fix_length_xor_dec() { unsigned_flag=1; }
};
-class Item_func_check_lock :public Item_int_func
+class Item_func_is_free_lock :public Item_int_func
{
String value;
public:
- Item_func_check_lock(Item *a) :Item_int_func(a) {}
+ Item_func_is_free_lock(Item *a) :Item_int_func(a) {}
longlong val_int();
const char *func_name() const { return "check_lock"; }
void fix_length_and_dec() { decimals=0; max_length=1; maybe_null=1;}