Skip to content

Commit

Permalink
fix query cache in embedded, enable MARIADB_CLIENT_EXTENDED_METADATA
Browse files Browse the repository at this point in the history
this fixes plugins.qc_info in --embed

followup for 430d60d MDEV-24487
  • Loading branch information
vuvova committed Jan 30, 2022
1 parent 9667ec1 commit 66bc8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmysqld/lib_sql.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

1 comment on commit 66bc8bf

@vaintroub
Copy link
Member

@vaintroub vaintroub commented on 66bc8bf Jan 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The creation of builds works as in our pretty extensive documentation https://mariadb.com/kb/en/Building_MariaDB_on_Windows/ . Everyone with git, VS, and bison can produce ZIP packages, and with installed WiX you also can produce and MSI. I suggest not to hijack this commit further, and if you like, we can move on the discussion of how to build into mailing list https://launchpad.net/~maria-discuss, or even better Zulip https://mariadb.zulipchat.com/

Please sign in to comment.