mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge mysql-next-mr (revno 2942) --> mysql-next-mr-marc
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user