Bug #46506 Lost CONNECTION string after executing "alter table" statement
| Submitted: | 1 Aug 2009 6:36 | Modified: | 1 Aug 2009 8:33 |
|---|---|---|---|
| Reporter: | kentoku shiba | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: DDL | Severity: | S3 (Non-critical) |
| Version: | 5.1.36 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | ALTER TABLE, Contribution | ||
[1 Aug 2009 6:39]
kentoku shiba
Contribution patch file for fixing this problem.
Attachment: mysql-5.1.36.spider.diff (, text), 1.09 KiB.
[1 Aug 2009 8:33]
Sveta Smirnova
Thank you for the report. Verified as described.
[21 Jul 2010 22:32]
Chris Calender
Workaround: specify CONNECTION="..." again in your ALTER statement.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 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.
Description: Lost CONNECTION string after executing "alter table" statement. How to repeat: mysql> create table t1( -> id int NOT NULL default 0 -> ) ENGINE=myisam DEFAULT CHARSET=utf8 -> CONNECTION='test string'; Query OK, 0 rows affected (0.00 sec) mysql> show create table t1\G *************************** 1. row *************************** Table: t1 Create Table: CREATE TABLE `t1` ( `id` int(11) NOT NULL DEFAULT '0' ) ENGINE=MyISAM DEFAULT CHARSET=utf8 CONNECTION='test string' 1 row in set (0.01 sec) mysql> alter table t1 engine=myisam; Query OK, 0 rows affected (0.04 sec) Records: 0 Duplicates: 0 Warnings: 0 mysql> show create table t1\G *************************** 1. row *************************** Table: t1 Create Table: CREATE TABLE `t1` ( `id` int(11) NOT NULL DEFAULT '0' ) ENGINE=MyISAM DEFAULT CHARSET=utf8 1 row in set (0.00 sec)