select into outfile creates a garbage file on no results

Bug #655342 reported by Monty Taylor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
High
Monty Taylor
7.0
Fix Released
High
Monty Taylor

Bug Description

select * from foo where <some condition resulting in no rows> into outfile "bar";
results in a character of garbage being written into the outfile, rather than nothing being written, which is more likely what one would want.

Related branches

Changed in drizzle:
status: Triaged → Fix Released
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.