1
0
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:
Marc Alff
2009-12-16 15:48:55 -07:00
242 changed files with 5392 additions and 1733 deletions

View File

@ -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)