mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Merge mysql.com:/home/alik/Documents/AllProgs/MySQL/devel/5.0-tree
into mysql.com:/home/alik/Documents/AllProgs/MySQL/devel/5.1-merged
This commit is contained in:
@@ -228,7 +228,7 @@ static int find_keyword(LEX *lex, uint len, bool function)
|
||||
|
||||
SYNOPSIS
|
||||
is_keyword()
|
||||
name checked name
|
||||
name checked name (must not be empty)
|
||||
len length of checked name
|
||||
|
||||
RETURN VALUES
|
||||
@@ -238,6 +238,7 @@ static int find_keyword(LEX *lex, uint len, bool function)
|
||||
|
||||
bool is_keyword(const char *name, uint len)
|
||||
{
|
||||
DBUG_ASSERT(len != 0);
|
||||
return get_hash_symbol(name,len,0)!=0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user