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-10-16 17:25:44 +02:00
2017-09-14 15:59:10 +02:00
2017-12-03 23:06:54 +01:00
2017-09-14 15:59:10 +02:00

pgloader tests for MySQL

The idea here is to create a MySQL database with a static known set of data so that we may then compare the data against a PostgreSQL load done with pgloader.

This is very much WIP at the moment, but at least it got started.