Empty string in a varchar column returns Null #56

timob opened this Issue Sep 2, 2011 · 1 comment


None yet

1 participant

timob commented Sep 2, 2011

create table gotest (x varchar(255));
insert into gotest values ('');

Selecting from this in GoMySQL gets you a nil value instead of an empty string.

timob commented Sep 2, 2011

Here is my fix:


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment