Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Empty string in a varchar column returns Null #56

Open
timob opened this Issue · 1 comment

1 participant

@timob

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

Here is my fix:

timob/GoMySQL@a749deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.