mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Added the following new privleges:
SHOW DATABASES CREATE TEMPORARY TABLE LOCK TABLES REPLICATION SLAVE & REPLICATION CLIENT SUPER EXECUTE All scripts & documentation is updated for this change. Added better error messages for global privileges
This commit is contained in:
@ -374,19 +374,16 @@ static int check_ptr(const char *where, byte *ptr, const char *sFile,
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef THREAD
|
||||
|
||||
#if !defined(PEDANTIC_SAFEMALLOC) && defined(THREAD)
|
||||
static int legal_leak(struct remember* pPtr)
|
||||
{
|
||||
/* TODO: This code needs to be made more general */
|
||||
return (pthread_self() == pPtr->thread_id || main_th == pPtr->thread_id ||
|
||||
shutdown_th == pPtr->thread_id || signal_th == pPtr->thread_id);
|
||||
}
|
||||
#else
|
||||
static int legal_leak(struct remember* pPtr)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
#endif /* THREAD */
|
||||
|
||||
|
||||
/*
|
||||
TERMINATE(FILE *file)
|
||||
|
Reference in New Issue
Block a user