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
commit 0d99234dba
242 changed files with 5385 additions and 1726 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)