summaryrefslogtreecommitdiff
path: root/client/mysql.cc
diff options
context:
space:
mode:
authorMayank Prasad <mayank.prasad@oracle.com>2011-06-10 19:56:35 +0530
committerMayank Prasad <mayank.prasad@oracle.com>2011-06-10 19:56:35 +0530
commiteecaad9dccd790f82dc2c032d6bb8101feab1fdf (patch)
tree909ed1b5c60eb44e690847a088e23a71cca97735 /client/mysql.cc
parentf089d2e87095f10785b0b6d8a023fca397674558 (diff)
downloadmariadb-git-eecaad9dccd790f82dc2c032d6bb8101feab1fdf.tar.gz
Bug#12337762 : MYSQL_LIST_FIELDS() RETURNS WRONG CHARSET FOR CHAR/VARCHAR/TEXT
COLUMNS IN VIEWS Issue: charset value for a Column, returned by MYSQL_LIST_FIELDS(), was not same for Table and View. This was because, for view, field charset was not being returned. Solution: Added definition of function "charset_for_protocol()" in calss Item_ident_for_show to return field charset value. sql/item.h: Added definition for charset_for_protocol() function to return field charset. tests/mysql_client_test.c: Added a test case test_bug12337762 for the changes done.
Diffstat (limited to 'client/mysql.cc')
0 files changed, 0 insertions, 0 deletions