mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Merge mockturtle.local:/home/dlenev/src/mysql-5.0-hash-2
into mockturtle.local:/home/dlenev/src/mysql-5.1-merge sql/sp.cc: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged
This commit is contained in:
commit
8c6382f5c6
4 changed files with 21 additions and 2 deletions
|
|
@ -1371,6 +1371,10 @@ static bool add_used_routine(LEX *lex, Query_arena *arena,
|
|||
const LEX_STRING *key,
|
||||
TABLE_LIST *belong_to_view)
|
||||
{
|
||||
hash_init_opt(&lex->sroutines, system_charset_info,
|
||||
Query_tables_list::START_SROUTINES_HASH_SIZE,
|
||||
0, 0, sp_sroutine_key, 0, 0);
|
||||
|
||||
if (!hash_search(&lex->sroutines, (byte *)key->str, key->length))
|
||||
{
|
||||
Sroutine_hash_entry *rn=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue