summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorAnushree Prakash B <anushree.prakash.b@oracle.com>2017-05-03 15:16:08 +0000
committerAnushree Prakash B <anushree.prakash.b@oracle.com>2017-05-03 15:16:08 +0000
commit756b00d80a46668d5a93ff927e13b5aea1c7d477 (patch)
treef4c03613d5069264f5dd6ed9c4415fdf32faf194 /mysys
parent65ea61fe585419cb83f16089cf0e7bc7198cc8ee (diff)
downloadmariadb-git-756b00d80a46668d5a93ff927e13b5aea1c7d477.tar.gz
Bug#25340722 - PRINT BINARY DATA AS HEX IN THE MYSQL
CLIENT (CONTRIBUTION) DESCRIPTION: ============ Binary data should be printed as hex in the mysql client when the option binary-as-hex is enabled. ANALYSIS: ========= The fix deals only with mysql command line client. It does not change, at all, the data sent to the applications. Printing binary data as hex also allows to use the output in the where clause of the query. FIX: ==== A new option 'binary-as-hex' is introduced to print the binary contents as hex in the mysql client. The option is disabled by default. When the option is enabled, we convert the binary data to hex before printing the contents irrespective of whether it is in tabular, xml or html format.
Diffstat (limited to 'mysys')
0 files changed, 0 insertions, 0 deletions