Bug #16050 | whitespace confuses delimiter in script | ||
---|---|---|---|
Submitted: | 28 Dec 2005 19:41 | Modified: | 30 Dec 2005 8:21 |
Reporter: | Mark Johnson (Basic Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Query Browser | Severity: | S3 (Non-critical) |
Version: | 1.1.17 | OS: | Linux (linux 2.6.12; slackware 10.2) |
Assigned to: | Alfredo Kojima | CPU Architecture: | Any |
[28 Dec 2005 19:41]
Mark Johnson
[28 Dec 2005 19:56]
Mark Johnson
I just tried this with clicking skip in the error dialog. After a couple of skips, I got the following crash: glibmm-ERROR **: unhandled exception (type std::exception) in signal handler: what: basic_string::assign aborting... /usr/local/bin/mysql-query-browser: line 20: 29087 Aborted $PRG-bin I am using glibmm version 2.6.1
[28 Dec 2005 22:41]
MySQL Verification Team
Could you please provide the script. Thanks in advance.
[29 Dec 2005 1:49]
Mark Johnson
The following is the script. The "^M" indicates a carriage-return character. The script did work correctly when in unix text format. DELIMITER $$ ^M ^M CREATE TABLE IF NOT EXISTS `IsItABug`.`Daddy` (^M id INT AUTO_INCREMENT PRIMARY KEY NOT NULL,^M name NVARCHAR(50) NOT NULL^M ) Engine=InnoDB$$^M ^M CREATE TABLE IF NOT EXISTS `IsItABug`.`Mommy` (^M id INT AUTO_INCREMENT PRIMARY KEY NOT NULL,^M name NVARCHAR(50) NOT NULL^M ) Engine=InnoDB$$^M ^M CREATE TABLE IF NOT EXISTS `IsItABug`.`Child` (^M DaddyID INT NOT NULL,^M MommyID INT NOT NULL^M ) Engine=InnoDB$$^M ^M CREATE TABLE IF NOT EXISTS `IsItABug`.`PostalCode` (^M id INT AUTO_INCREMENT PRIMARY KEY NOT NULL ,^M PostalCode VARCHAR(50) NOT NULL ^M ) ENGINE=InnoDB$$^M ^M ^M ALTER TABLE `IsItABug`.`Child` ADD ^M CONSTRAINT PK_IsItABug PRIMARY KEY ^M (^M DaddyID,^M MommyID^M ) $$ ^M ^M ALTER TABLE `IsItABug`.`PostalCode`^M ADD CONSTRAINT Unique_PostalCode UNIQUE INDEX (PostalCode)$$^M ^M ALTER TABLE `IsItABug`.`Child` ^M ADD CONSTRAINT FK_Child_Daddy FOREIGN KEY ^M (^M DaddyID^M ) REFERENCES `IsItABug`.`Daddy` (^M id^M ),^M ADD CONSTRAINT FK_Child_Mommy FOREIGN KEY ^M (^M MommyID^M ) REFERENCES `IsItABug`.`Mommy` (^M id^M )$$^M ^M DELIMITER ;^M
[30 Dec 2005 8:21]
Alfredo Kojima
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html