dream120 / common-schema

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

More unexpected output from _wrap_select_list_columns #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
SET @query := 'SELECT id, name AS city_name, IF(population < 1000000, 
\'small\', \'large\') AS size_description FROM world.City';
CALL _wrap_select_list_columns(@query, 3, @error);
SELECT @query, @error;

result:
SELECT (select  id) as col1, (select  name AS city_name) as col2, null as col3 
NULL

Original issue reported on code.google.com by shlomi.n...@gmail.com on 16 Sep 2011 at 5:21

GoogleCodeExporter commented 9 years ago
Ok - I'm on it.

Original comment by roland.bouman on 16 Sep 2011 at 5:54

GoogleCodeExporter commented 9 years ago
Take your time.
I'll check every 30 seconds.

Original comment by shlomi.n...@gmail.com on 16 Sep 2011 at 5:56

GoogleCodeExporter commented 9 years ago
Fixed in r94. 

Original comment by roland.bouman on 16 Sep 2011 at 7:42