Bug #48445 | inconsistency wth SHOW and SELECT FROM I_S | ||
---|---|---|---|
Submitted: | 30 Oct 2009 20:28 | Modified: | 11 Nov 2016 16:28 |
Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Information schema | Severity: | S3 (Non-critical) |
Version: | 5.0+, 5.1, 5.4.4 bzr | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | qc |
[30 Oct 2009 20:28]
Peter Laursen
[30 Oct 2009 23:24]
Peter Laursen
.. of course you may add a " .. COLLATE utf8_bin .." to the WHERE, but since this is always required for such SELECT to be safe, I think the COLLATION should be defined for the column(s) affected.
[19 Nov 2009 7:52]
Sveta Smirnova
Thank you for the report. Verified as described although I think behavior of SHOW is more weird. Workaround: SELECT DISTINCT table_name FROM information_schema.TABLES WHERE table_name LIKE 't%' AND TABLE_SCHEMA = 'somedb';
[11 Nov 2016 16:28]
Paul DuBois
Posted by developer: Fixed in 8.0.0 by addition of data dictionary. Related: http://dev.mysql.com/doc/refman/8.0/en/charset-collation-information-schema.html