Bug #61520 help-tableformat doesn't match help-files
| Submitted: | 15 Jun 2011 7:51 | Modified: | 22 Mar 2013 1:23 |
|---|---|---|---|
| Reporter: | erkan yanar | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Installing | Severity: | S3 (Non-critical) |
| Version: | 5.1.57 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | regression | ||
[15 Jun 2011 7:51]
erkan yanar
[15 Jun 2011 10:40]
Valeriy Kravchuk
Thank you for the bug report. Verified on Ubuntu 10.04 with our generic Linux binaries: openxs@ubuntu:/tmp$ grep 'insert into help_topic' mysql-5.1.57-linux-x86_64-glibc23/share/fill_help_tables.sql | perl -ne " m/.*,'(.*)'/; print \$1.\"\n\" if (length(\$1) > 128)" http://dev.mysql.com/doc/refman/5.1/en/functions-for-testing-spatial-relations-between-geo... http://dev.mysql.com/doc/refman/5.1/en/functions-for-testing-spatial-relations-between-geo... ...
[12 Jul 2011 7:50]
Holger Thiel
Same problem on 5.5.14: mysql --database mysql < fill_help_tables.sql ERROR 1406 (22001) at line 74: Data too long for column 'url' at row 1
[29 Dec 2011 22:58]
Denis TRUFFAUT
Verified on 5.6.4-m7
[30 Dec 2011 2:51]
Denis TRUFFAUT
Until a patch is released, a quick and dirty fix can be applied, just before using the cmake command : grep -risl 'CREATE TABLE help_topic' * | xargs sudo sed -i -e 's/ char\\(/ varchar(/g' grep -risl 'CREATE TABLE help_topic' * | xargs sudo sed -i -e 's/128/175/g' grep -risl 'CREATE TABLE IF NOT EXISTS help_topic' * | xargs sudo sed -i -e 's/ char\\(/ varchar(/g' grep -risl 'CREATE TABLE IF NOT EXISTS help_topic' * | xargs sudo sed -i -e 's/128/175/g' It pass, even if utf8 charset by default :)
[12 Jul 2012 2:59]
MySQL Verification Team
Also to note, it happens also because an existing my.cnf has SQL-MODE=STRICT_TRANS_TABLE, you can temporarily remove that so the truncation doesn't cause an error (just warning), then reset that. If you fill help tables later say after an upgrade you can do this in a session with set session sql_mode=''; ./path/to/mysql/share/fill_help_tables.sql
[14 Jan 2013 11:09]
Erlend Dahl
Bug#60539 was marked as a duplicate.
[22 Mar 2013 1:23]
Paul DuBois
Noted in 5.1.70, 5.5.32, 5.6.12, 5.7.2 changelogs. The url columns in the mysql datatbase help tables were too short to hold some of the URLs in the help content. These columns are now type TEXT to accommodate longer URLs.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.059 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.