Dimitri Fontaine b7d87a9eb1 Fix MySQL bit(1) casting function.
When this function was written, pgloader would get an array of numbers over
the wire, nowadays it looks like it's receiving an array of characters
instead (in other words, a string).

Improve the `bits-to-boolean` function to accept either input, and raise an
error in another case.

My theory is that something changed either in MySQL (with version 10) or in
the Qmynd driver somehow... but tonight we just go easy and fix the bug
locally rather than try and understand where it might be coming from.

Fixes #684.
2017-12-03 23:06:54 +01:00
..
2017-08-24 13:30:14 +02:00
2017-12-03 23:06:54 +01:00
2016-08-28 20:29:30 +02:00
2013-11-26 16:48:45 +01:00
2017-09-09 00:51:07 +02:00
2017-09-09 00:51:07 +02:00
2013-11-26 16:48:45 +01:00
2014-06-03 12:19:23 +02:00
2016-01-17 01:54:36 +01:00

pgloader tests

In the parser directory are tests for the parser only, in the current directory are tests that can be run to import data.