mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
WL#1366: Use the schema (db) associated with an SP.
Phase 4 (final): Remove associated stored procedures when a database is dropped.
This commit is contained in:
@@ -115,6 +115,13 @@ sp_cache_remove(sp_cache **cp, sp_name *name)
|
||||
return found;
|
||||
}
|
||||
|
||||
void
|
||||
sp_cache_invalidate()
|
||||
{
|
||||
pthread_mutex_lock(&Cversion_lock); // LOCK
|
||||
Cversion++;
|
||||
pthread_mutex_unlock(&Cversion_lock); // UNLOCK
|
||||
}
|
||||
|
||||
static byte *
|
||||
hash_get_key_for_sp_head(const byte *ptr, uint *plen,
|
||||
|
||||
Reference in New Issue
Block a user