Bug #70521 Can't query `information_schema`.`routines` with sqlmode PAD_CHAR_TO_FULL_LENGTH
| Submitted: | 4 Oct 2013 12:52 | Modified: | 6 Dec 2013 10:28 |
|---|---|---|---|
| Reporter: | Maxim Makhotkin | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Information schema | Severity: | S3 (Non-critical) |
| Version: | 5.6.14-log | OS: | Windows (7 x64) |
| Assigned to: | CPU Architecture: | Any |
[4 Oct 2013 12:52]
Maxim Makhotkin
[4 Oct 2013 12:54]
Maxim Makhotkin
fix typo
[4 Oct 2013 16:52]
MySQL Verification Team
Hello Maxim, Thank you for the bug report. Verified as described. Thanks, Umesh
[14 Nov 2013 15:06]
Hartmut Holzgraefe
I fail to reproduce this with 5.6.14 on linux? Is it Windows specific? Or are there some "how to reproduce" steps missing?
[29 Nov 2013 11:51]
Maxim Makhotkin
I didn't have a chance to test it on other operation systems. Before attempting a reproduce make sure your @@sql_mode does contain the mentioned option PAD_CHAR_TO_FULL_LENGTH
[6 Dec 2013 10:28]
Maxim Makhotkin
Reproduced this bug on Amazon AWS, they provide a Linux ч64 installation of Community Server edition (5.6.13)
[9 Jul 2015 15:27]
Rick James
Still a problem in 5.6.23: http://forums.mysql.com/read.php?98,632729,632729
[18 Jul 2015 7:53]
Shane Bester
mysql> set sql_mode="PAD_CHAR_TO_FULL_LENGTH"; Query OK, 0 rows affected (0.00 sec) mysql> show function status; ERROR 1102 (42000): Incorrect database name 'test mysql> select version(); +---------------+ | version() | +---------------+ | 5.8.0-m17-log | +---------------+ 1 row in set (0.00 sec) In the error log we have all the warnings: [Warning] Stored routine 'sys '.'ps_is_account_enabled ': invalid value in column mysql.proc.character_set_client. [Warning] Stored routine 'sys '.'ps_is_account_enabled ': invalid value in column mysql.proc.collation_connection. [Warning] Stored routine 'sys '.'ps_is_account_enabled ': invalid value in column mysql.proc.db_collation. [Warning] Stored routine 'sys '.'ps_is_consumer_enabled ': invalid value in column mysql.proc.character_set_client. [Warning] Stored routine 'sys '.'ps_is_consumer_enabled ': invalid value in column mysql.proc.collation_connection. [Warning] Stored routine 'sys '.'ps_is_consumer_enabled ': invalid value in column mysql.proc.db_collation.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.077 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.