diff options
author | Sergei Golubchik <serg@mariadb.org> | 2022-01-30 18:09:55 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2022-01-30 18:09:55 +0100 |
commit | 66bc8bf09e7cb8f00ac5d963bd988eff74d5af59 (patch) | |
tree | 93eb7aea6cadab242db177286c4b334dfa649d3a /libmysqld/lib_sql.cc | |
parent | 9667ec1f53df5a7a439926d9e45819ab769326b6 (diff) | |
download | mariadb-git-66bc8bf09e7cb8f00ac5d963bd988eff74d5af59.tar.gz |
fix query cache in embedded, enable MARIADB_CLIENT_EXTENDED_METADATA
this fixes plugins.qc_info in --embed
followup for 430d60d1fc0 MDEV-24487
Diffstat (limited to 'libmysqld/lib_sql.cc')
-rw-r--r-- | libmysqld/lib_sql.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index d92265508b4..af05535c14f 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -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; |