mirror of
https://github.com/dimitri/pgloader.git
synced 2026-03-15 09:01:31 +01:00
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.
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.