diff options
author | Mayank Prasad <mayank.prasad@oracle.com> | 2011-06-10 19:56:35 +0530 |
---|---|---|
committer | Mayank Prasad <mayank.prasad@oracle.com> | 2011-06-10 19:56:35 +0530 |
commit | eecaad9dccd790f82dc2c032d6bb8101feab1fdf (patch) | |
tree | 909ed1b5c60eb44e690847a088e23a71cca97735 /BUILD/compile-amd64-max-sci | |
parent | f089d2e87095f10785b0b6d8a023fca397674558 (diff) | |
download | mariadb-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 'BUILD/compile-amd64-max-sci')
0 files changed, 0 insertions, 0 deletions