mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Added back old LARGEFILE handling
Fixed reference to freed memory in acl_init()/grant_init() Fixed possible memory leak. (Could only happen in very strange circumstances) Fixed bug in ALTER TABLE with BDB tables Updated mysql-test for valgrind
This commit is contained in:
@ -507,13 +507,13 @@ int STDCALL mysql_server_init(int argc, char **argv, char **groups)
|
||||
exit(1);
|
||||
}
|
||||
opt_noacl = 1; // No permissions
|
||||
if (acl_init(opt_noacl))
|
||||
if (acl_init((THD*) 0,opt_noacl))
|
||||
{
|
||||
mysql_server_end();
|
||||
return 1;
|
||||
}
|
||||
if (!opt_noacl)
|
||||
(void) grant_init();
|
||||
(void) grant_init((THD*) 0);
|
||||
init_max_user_conn();
|
||||
init_update_queries();
|
||||
|
||||
|
Reference in New Issue
Block a user