3445 Karen Langford 2011-06-10 [merge]
Merged from mysql-5.1
3444 Mayank Prasad 2011-06-10
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.
modified:
sql/item.h
tests/mysql_client_test.c
No bundle (reason: useless for push emails).
| Thread |
|---|
| • bzr push into mysql-5.5 branch (mysql-re_ww:3444 to 3445) | MySQL Release Engineering | 11 Jun |