Commit 66bc8bf0 authored by Sergei Golubchik's avatar Sergei Golubchik

fix query cache in embedded, enable MARIADB_CLIENT_EXTENDED_METADATA

this fixes plugins.qc_info in --embed

followup for 430d60d1 MDEV-24487
parent 9667ec1f
......@@ -696,7 +696,7 @@ void *create_embedded_thd(ulong client_flag)
thd->set_command(COM_SLEEP);
thd->set_time();
thd->init_for_queries();
thd->client_capabilities= client_flag;
thd->client_capabilities= client_flag | MARIADB_CLIENT_EXTENDED_METADATA;
thd->real_id= pthread_self();
thd->db= null_clex_str;
......
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