Bug #73815 | Workbench Does not detects space/null between strings | ||
---|---|---|---|
Submitted: | 5 Sep 2014 10:21 | Modified: | 12 Feb 2016 9:38 |
Reporter: | Shahriyar Rzayev | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench | Severity: | S1 (Critical) |
Version: | 6.1.7 | OS: | Linux (Ubuntu 14.04) |
Assigned to: | CPU Architecture: | Any |
[5 Sep 2014 10:21]
Shahriyar Rzayev
[7 Sep 2014 0:58]
Alfredo Kojima
Your data is wrong, you have your table defined as UTF8, but the data looks like UTF16. Either make your table UTF16 or fix your data to be UTF8. Otherwise, you'll have problems in places other than in Workbench.
[7 Sep 2014 18:32]
MySQL Verification Team
Please see @Alfredo comment. Thanks.
[8 Sep 2014 10:10]
Shahriyar Rzayev
Dear all, Created table with utf16 and reinserted provided data: mysql> show create table google_keywords; +-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Table | Create Table | +-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | google_keywords | CREATE TABLE `google_keywords` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(110) NOT NULL, `searches` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=801 DEFAULT CHARSET=utf16 | +-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ 1 row in set (0,03 sec) Result is unchanged. Still can not review data from "Form Editor" , it does not show the result with "Spaces" and there is "NULL"s from "Open Value In Editor". From MySQL Console everything is OK.
[10 Sep 2014 20:30]
Alfredo Kojima
Convert your data to UTF8 first, it's not supposed to have embedded 0s. The MySQL cmdline client output is not OK either, it's showing spaces as placeholders for the extraneous \0 characters.
[11 Sep 2014 5:14]
Shahriyar Rzayev
And it is not possible to show space placeholders in Workbench as MySQL console? The problem is: "Workbench shows this data as normal but in fact it is not a normal data as you say".
[12 Feb 2016 9:38]
Mike Lischke
This is not a bug in MySQL Workbench, since it should not forcefully show incorrect data as correct.