mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
Merge mysql-next-mr (revno 2942) --> mysql-next-mr-marc
This commit is contained in:
commit
0d99234dba
242 changed files with 5385 additions and 1726 deletions
|
|
@ -36,10 +36,16 @@ public:
|
|||
sp_cache();
|
||||
~sp_cache();
|
||||
|
||||
inline void insert(sp_head *sp)
|
||||
/**
|
||||
Inserts a sp_head object into a hash table.
|
||||
|
||||
@returns Success status
|
||||
@return TRUE Failure
|
||||
@return FALSE Success
|
||||
*/
|
||||
inline bool insert(sp_head *sp)
|
||||
{
|
||||
/* TODO: why don't we check return value? */
|
||||
my_hash_insert(&m_hashtable, (const uchar *)sp);
|
||||
return my_hash_insert(&m_hashtable, (const uchar *)sp);
|
||||
}
|
||||
|
||||
inline sp_head *lookup(char *name, uint namelen)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue