1
0
Fork 0
Commit Graph

75 Commits

Author SHA1 Message Date
Gregory Eremin c0582f3c96 Re-license and update readme 2019-10-28 20:41:19 +01:00
Gregory Eremin 36a0f216e2 Migrate to go modules 2019-10-28 19:35:53 +01:00
Gregory Eremin 610336a34e Rename slave package to driver
The package contains driver code that was supplemented with additional slave commands.
2019-10-28 19:32:35 +01:00
Gregory Eremin 05009b19d7 Don't mess with driver code, include it as-is
It doesn't seem worth the trouble to reduce amount of code in the driver. Removing automatic registration (along with distinguishing between network timeouts and context timeouts) seem sufficient.
2018-12-11 20:52:44 +01:00
Gregory Eremin 2f12207dbe Add ReadDecimal helper 2018-11-30 11:17:59 +01:00
Gregory Eremin 57d2b30132 Use simple exec 2018-11-20 22:54:50 +01:00
Gregory Eremin fb382876ef Remove redundant stuff 2018-11-20 21:33:53 +01:00
Gregory Eremin 08c7552515 Move buffer package 2018-11-20 21:28:43 +01:00
Gregory Eremin ccce5ea0bb Organize test files, make room for other tests 2018-11-20 21:25:04 +01:00
Gregory Eremin 488a08fcab Embed MySQL driver, delete unused stuff, move packages 2018-11-20 21:20:28 +01:00
Gregory Eremin 83e16c72f2 Get rid of FracTime and friends 2018-11-19 22:56:31 +01:00
Gregory Eremin db67e68078 More code documented 2018-11-19 22:44:17 +01:00
Gregory Eremin be37d25444 Simplify time format setup 2018-11-18 20:22:22 +01:00
Gregory Eremin 36c3d2add1 Add a timezone variable to be set in decoded timestamps 2018-11-18 20:21:28 +01:00
Gregory Eremin f61e0d6e84 Use a separate make task to run tests verbose 2018-11-18 20:05:32 +01:00
Gregory Eremin 3cae959b1b Format time per RFC 3339 2018-11-18 20:03:38 +01:00
Gregory Eremin c0a153a532 Encode decimals as floats without precision loss 2018-11-18 19:02:34 +01:00
Gregory Eremin 68567fad6e Implement timeouts and graceful shutdown 2018-11-15 11:34:27 +01:00
Gregory Eremin a06e03473b Remove debug 2018-11-14 16:04:09 +01:00
Gregory Eremin b15f4b1877 Add mysql driver to deps 2018-11-14 15:59:30 +01:00
Gregory Eremin 5e2f862e2b Use original driver for queries 2018-11-14 15:56:08 +01:00
Gregory Eremin cba0886b24 Implement safepoints 2018-11-14 15:52:44 +01:00
Gregory Eremin 7e08b8e830 New enhanced reader with column names and integer signing 2018-11-12 15:13:28 +01:00
Gregory Eremin b0e2e79727 Use regexp to determine changed table 2018-11-12 13:33:47 +01:00
Gregory Eremin d8e5bf2d04 Fix query event parsing 2018-11-12 13:33:10 +01:00
Gregory Eremin cb10d7cecf Add support for multi-column tables to tests 2018-11-11 20:57:41 +01:00
Gregory Eremin 07fed4b4eb Decode first, return second 2018-11-11 20:35:31 +01:00
Gregory Eremin 1308d3306a Expose reader state 2018-11-11 20:33:29 +01:00
Gregory Eremin ca74b866b6 Allow to close the connection 2018-11-11 20:32:59 +01:00
Gregory Eremin 9e62446755 Fix readme indentation 2018-11-11 16:17:41 +01:00
Gregory Eremin a8dd324474 Fix readme 2018-11-11 16:16:08 +01:00
Gregory Eremin 77a97a8020 Update readme 2018-11-11 16:13:33 +01:00
Gregory Eremin 4caf572811 Clear table map if end-of-statement flag is set 2018-11-11 16:02:11 +01:00
Gregory Eremin 6f61469eea Decouple slave connection and reader 2018-11-11 15:26:40 +01:00
Gregory Eremin 8c8705581e Don't forget to decode all rows in the test command 2018-11-11 15:04:07 +01:00
Gregory Eremin 749b2ed224 Remove more debug 2018-11-11 15:03:47 +01:00
Gregory Eremin b1e0b061f0 For sets and enums length is already precalculated 2018-11-11 14:47:33 +01:00
Gregory Eremin 8cbca43cf7 Simplify rows event decoding 2018-11-11 14:33:26 +01:00
Gregory Eremin 69353f61bc Everything seem to work now 2018-11-11 14:24:45 +01:00
Gregory Eremin 9cd1d12583 Use realative path to test package 2018-11-09 01:17:59 +01:00
Gregory Eremin cafb25e214 Adjust makefile 2018-11-09 01:16:38 +01:00
Gregory Eremin cf0a4f73c8 Move schema package 2018-11-09 01:13:36 +01:00
Gregory Eremin 681ca59d22 Add basic makefile 2018-11-09 01:11:12 +01:00
Gregory Eremin ac07b6a997 Use dep to maintain dependencies 2018-11-09 01:09:25 +01:00
Gregory Eremin a16d6cf75c Panic if resulting row is not what is expected 2018-11-09 00:58:38 +01:00
Gregory Eremin 9be127ae40 Fix easy linter issues 2018-11-09 00:39:23 +01:00
Gregory Eremin 858d8a7ebe Fix enum test 2018-11-09 00:20:12 +01:00
Gregory Eremin ced55880ef Extract most decoding logic into mysql package 2018-11-09 00:19:43 +01:00
Gregory Eremin f879884a1e Test enums 2018-11-09 00:05:19 +01:00
Gregory Eremin e86006ca42 Don't test bits 2018-11-09 00:05:08 +01:00