Commit 9667ec1f authored by Sergei Golubchik's avatar Sergei Golubchik

fix query cache in embedded

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

followup for 430d60d1 MDEV-24487
parent 646e2f42
......@@ -19,8 +19,8 @@
C_MODE_START
void lib_connection_phase(NET *net, int phase);
void init_embedded_mysql(MYSQL *mysql, int client_flag);
void *create_embedded_thd(int client_flag);
void init_embedded_mysql(MYSQL *mysql, ulong client_flag);
void *create_embedded_thd(ulong client_flag);
int check_embedded_connection(MYSQL *mysql, const char *db);
void free_old_query(MYSQL *mysql);
extern MYSQL_METHODS embedded_methods;
......
......@@ -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());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment