1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

fix query cache in embedded

this fixes main.partition_cache and main.cache_innodb in --embed

followup for 430d60d1fc MDEV-24487
This commit is contained in:
Sergei Golubchik
2022-01-30 13:56:22 +01:00
parent 646e2f423b
commit 9667ec1f53
2 changed files with 4 additions and 4 deletions

View File

@@ -660,7 +660,7 @@ void end_embedded_server()
}
void init_embedded_mysql(MYSQL *mysql, int client_flag)
void init_embedded_mysql(MYSQL *mysql, ulong client_flag)
{
THD *thd = (THD *)mysql->thd;
thd->mysql= mysql;
@@ -680,7 +680,7 @@ void init_embedded_mysql(MYSQL *mysql, int client_flag)
create_new_thread(), and prepare_new_connection_state(). This should
be refactored to avoid code duplication.
*/
void *create_embedded_thd(int client_flag)
void *create_embedded_thd(ulong client_flag)
{
THD * thd= new THD(next_thread_id());