summaryrefslogtreecommitdiff
path: root/include/mysql
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2022-01-27 15:54:20 +0400
committerAlexander Barkov <bar@mariadb.com>2022-01-27 15:54:20 +0400
commit430d60d1fc01958f2a503d01b24154672a4189bf (patch)
tree6b27e8a0b73ce9a9b9632b64cfa33a4ba3ef642f /include/mysql
parent4d74bac8bc8c14c2b217391b3b8860f3dc701202 (diff)
downloadmariadb-git-430d60d1fc01958f2a503d01b24154672a4189bf.tar.gz
MDEV-24487 Error after update to 10.5.8 on CentOS-8: DBD::mysql::st execute failed: Unknown MySQL error
The problem happened because the the new client capability flag CLIENT_EXTENDED_METADATA was not put into the cache entry key. So results cached by a new client were sent to the old client (and vica versa) with a mis-matching metadata, which made the client abort the connection on an unexpected result set metadata packet format. The problem was caused by the patch for: MDEV-17832 Protocol: extensions for Pluggable types and JSON, GEOMETRY which forgot to adjust the query cache code. Fix: - Adding a new member Query_cache_query_flags::client_extended_metadata, so only clients with equal CLIENT_EXTENDED_METADATA flag values can reuse results. - Adding a new column CLIENT_EXTENDED_METADATA into INFORMATION_SCHEMA.QUERY_CACHE_INFO (privided by the qc_info plugin).
Diffstat (limited to 'include/mysql')
0 files changed, 0 insertions, 0 deletions