pgloader/src/sources/mysql
Dimitri Fontaine 5c10f12a07 Fix duplicate package names.
In a previous commit we re-used the package name pgloader.copy for the now
separated implementation of the COPY protocol, but this package was already
in use for the implementation of the COPY file format as a pgloader source.

Oops.

And CCL was happily doing its magic anyway, so that I've been blind to the
problem.

To fix, rename the new package pgloader.pgcopy, and to avoid having to deal
with other problems of the same kind in the future, rename every source
package pgloader.source.<format>, so that we now have pgloader.source.copy
and pgloader.pgcopy, two visibily different packages to deal with.

This light refactoring came with a challenge tho. The split in between the
pgloader.sources API and the rest of the code involved some circular
depencendies in the namespaces. CL is pretty flexible here because it can
reload code definitions at runtime, but it was still a mess. To untangle it,
implement a new namespace, the pgloader.load package, where we can use the
pgloader.sources API and the pgloader.connection and pgloader.pgsql APIs
too.

A little problem gave birth to quite a massive patch. As it happens when
refactoring and cleaning-up the dirt in any large enough project, right?

See #748.
2018-02-24 19:24:22 +01:00
..
sql Add missing column to GROUP BY. (#633) 2017-09-16 21:15:11 +02:00
mysql-cast-rules.lisp Fix duplicate package names. 2018-02-24 19:24:22 +01:00
mysql-connection.lisp Fix duplicate package names. 2018-02-24 19:24:22 +01:00
mysql-csv.lisp Fix duplicate package names. 2018-02-24 19:24:22 +01:00
mysql-schema.lisp Fix duplicate package names. 2018-02-24 19:24:22 +01:00
mysql.lisp Fix duplicate package names. 2018-02-24 19:24:22 +01:00