UTF8 in output is adding extra spacing to rendered table

Bug #309114 reported by Andrew Hutchings
4
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Low
Toru Maesaka

Bug Description

When doing a select which has UTF8 chars in the rendered output the table rendered has extra spacing. Example:

drizzle> select '☂☂☂☂☂ ';
+------------------+
| ☂☂☂☂☂ |
+------------------+
| ☂☂☂☂☂ |
+------------------+
1 row in set (0.00 sec)

drizzle> select 'ggggg ';
+--------+
| ggggg |
+--------+
| ggggg |
+--------+
1 row in set (0.00 sec)

Revision history for this message
Jay Pipes (jaypipes) wrote :

Confirmed on trunk:

drizzle> select 'ggggg ';
+--------+
| ggggg |
+--------+
| ggggg |
+--------+
1 row in set (0.00 sec)

drizzle> select '☂☂☂☂☂ ';
+------------------+
| ☂☂☂☂☂ |
+------------------+
| ☂☂☂☂☂ |
+------------------+
1 row in set (0.00 sec)

Setting to low-hanging-fruit, as this shouldn't be too hard of a fix.

Changed in drizzle:
importance: Undecided → Low
milestone: none → low-hanging-fruit
status: New → Confirmed
Revision history for this message
Toru Maesaka (tmaesaka) wrote :

I've just pushed a fix for this.

Changed in drizzle:
assignee: nobody → tmaesaka
status: Confirmed → Fix Committed
Toru Maesaka (tmaesaka)
Changed in drizzle:
status: Fix Committed → Fix Released
Monty Taylor (mordred)
Changed in drizzle:
milestone: low-hanging-fruit → aloha
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.