SQL Export of BIT fields is broken in 1.1 #2262

Closed
dmoagx opened this Issue Oct 3, 2015 · 4 comments

Projects

None yet

3 participants

@dmoagx
Collaborator
dmoagx commented Oct 3, 2015

(This is a different issue than #2254)

SQL-Export:

INSERT INTO `bits` (`id`, `bitf`)
VALUES
    (1,001),
    (2,000),
    (3,101),
    (4,010),
    (6,111),
    (8,011);

This format is syntactically wrong and will by MySQL interpreted as decimal numbers with leading zeros.
It should have been either b'001',b'101', and so on... or the real decimal values.

@hcouplet
hcouplet commented Oct 5, 2015

got the same issue with 1.1 where an export of a BIT(1) column was exported as 0000000.
Downgraded to 1.0.2 and everything was fine.

@robertoschwald

Same issue here. But we can't use 1.0.2, as we are on El Capitan and ssh connections do not work with 1.0.2. Hope we get a new release asap.

@robertoschwald

Works with nightly. Thanks for the fix.

@dmoagx dmoagx added this to the 1.1.1 milestone Oct 30, 2015
@dmoagx
Collaborator
dmoagx commented Feb 20, 2016
@dmoagx dmoagx closed this Feb 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment