dream120 / common-schema

Automatically exported from code.google.com/p/common-schema
0 stars 0 forks source link

_wrap_select_list_columns returning with strange output #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
root@mysql-5.1.51> set @q:='SELECT id FROM world.City';
Query OK, 0 rows affected (0.00 sec)

root@mysql-5.1.51> CALL _wrap_select_list_columns(@q, 2, @error);
Query OK, 0 rows affected (0.00 sec)

root@mysql-5.1.51> select @q;
+-----------------------------------------------------+
| @q                                                  |
+-----------------------------------------------------+
| SELECT , null as col1, null as col2 from world.City |
+-----------------------------------------------------+
1 row in set (0.00 sec)

Original issue reported on code.google.com by shlomi.n...@gmail.com on 15 Sep 2011 at 11:39

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/common-schema/source/detail?r=92

Original comment by roland.bouman on 15 Sep 2011 at 11:30