- Sep 14, 2017
-
-
Daniel Kochmanski authored
-
Daniel Kochmanski authored
-
Daniel Kochmanski authored
-
- Sep 10, 2017
-
-
Daniel Kochmanski authored
-
Daniel Kochmanski authored
-
Daniel Kochmanski authored
-
Daniel Kochmanski authored
-
Daniel Kochmanski authored
-
Daniel Kochmanski authored
-
Daniel Kochmanski authored
-
Daniel Kochmanski authored
For table-event it's only partial implementation.
-
Daniel Kochmanski authored
-
Daniel Kochmanski authored
Stream implementation not present yet, untested.
-
Daniel Kochmanski authored
/incomplete definition, we ignore flags for now/
-
Daniel Kochmanski authored
-
Daniel Kochmanski authored
-
Daniel Kochmanski authored
-
Daniel Kochmanski authored
For instance: :mysql-type (octets (ceiling 11 8))
-
Daniel Kochmanski authored
-
- Aug 30, 2017
-
-
Daniel Kochmanski authored
-
- Jun 27, 2017
-
-
Dimitri Fontaine authored
-
Dimitri Fontaine authored
In the protocol implementation we use the function read-whole-chunk for pre-loading data from the network, in a case when we know from the previous bytes the expected length of the chunk. In case of a partial read, we are hitting the (Got timeout writing communication packets) MySQL condition. Trying to finish the partial read gets us nowhere, the communication is broken. What usually happens instead of resuming the read is an infinite loop over a CLOSE_WAIT socket. The wiser choice seems to signal an error with details about the situation to the user, which is what we do here. See https://github.com/dimitri/pgloader/issues/420 and https://github.com/dimitri/pgloader/issues/337.
-
- Jan 29, 2016
-
-
Dimitri Fontaine authored
As seen in the following pgloader issue Qmynd implementation of multi packet MySQL protocol was incomplete and faulty. This patch fixes it to actually fetch the next packet transparently when needed, which was always the intend of the code. In passing, introduce support for the max_allowed_packets idea that is found in the MySQL configuration, server side, and available in the default mysql client. References: https://github.com/dimitri/pgloader/issues/328 https://dev.mysql.com/doc/internals/en/sending-more-than-16mbyte.html
-
Dimitri Fontaine authored
Some level of copy-pasto had to be fixed here.
-
- Jul 26, 2015
-
-
Dimitri Fontaine authored
mysql-local-connection: add implementation for ECL
-
Daniel Kochmański authored
ECL shares sb-bsd-sockets api with SBCL - this commit adds in appropriate places ecl to conditional features. Signed-off-by:Daniel Kochmański <daniel@turtleware.eu>
-
- Jun 25, 2015
-
-
Dimitri Fontaine authored
Rather than looping over read-my-octet use replace to load a packet at a time into the destination sequence. It should be faster that way, although preliminary testing here shows no gain. See https://github.com/dimitri/pgloader/issues/247 for context.
-
Dimitri Fontaine authored
The my-packet-stream structure doesn't just represent a MySQL protocol packet, it also has a payload that may expand more than a single packet (see 5.1.2.1 Big packets). That fixes https://github.com/dimitri/pgloader/issues/247 for me.
-
- Feb 14, 2015
-
-
Dimitri Fontaine authored
also support VARBINARY columns
-
Neil Gentleman authored
-
- Jan 25, 2015
-
-
Dimitri Fontaine authored
It's now a key parameter in the connection API and defaults to nil so that it's possible to connect to older MySQL servers lacking that feature. Should fix https://github.com/dimitri/pgloader/issues/95.
-
- Nov 13, 2014
-
-
Dimitri Fontaine authored
-
- Sep 09, 2014
-
-
Dimitri Fontaine authored
-
- Aug 17, 2014
-
-
Dimitri Fontaine authored
MySQL sends BLOB and TEXT types under the same column types in the protocol, as per the following documentation: http://dev.mysql.com/doc/internals/en/com-query-response.html#column-type As we can see in https://github.com/dimitri/pgloader/issues/106 it was wrong to mix the special character set +mysql-cs-coll-binary+ used to decide if we just received binary or text data with other _bin collaction, used for something else entirely, as detailed in: http://dev.mysql.com/doc/refman/5.0/en/blob.html
-
- Aug 02, 2014
-
-
Dimitri Fontaine authored
-
- Jul 23, 2014
-
-
Dimitri Fontaine authored
See https://github.com/dimitri/pgloader/issues/95 for another use case where supporting mixed password policies is needed.
-
- Jun 09, 2014
-
-
Dimitri Fontaine authored
Fix to be able to use prepare-statement.
-
- Apr 01, 2014
-
-
strobolights authored
Change to manipulate the return value of mysql-read-packet as my-stream-stream not as sequence.
-
Dimitri Fontaine authored
This function was mixing several levels of API to access to packet chunks contents and as a result was infinitely looping over a read-sequence call that would make no progress in the "Access denied" protocol error case.
-
- Mar 04, 2014
-
-
Dimitri Fontaine authored
It so happens that MySQL stores data in an encoding that is different from what it knows in the meta-data, and that the application knows the real data encoding. With that dynamic binding it's now possible to force the Qmynd driver using the known data encoding, which might very well be different from the meta-data.
-