Commit Graph

26 Commits

Author SHA1 Message Date
Tim Vaillancourt
732a064231
Replace deprecated go-mysql library (#994) 2021-07-15 21:49:50 +02:00
Tim Vaillancourt
47d49c6b92
Add go mod (#935)
* Add a go.mod file

* run go mod vendor again

* Move to a well-supported ini file reader

* Remove GO111MODULE=off

* Use go 1.16

* Rename github.com/outbrain/golib -> github.com/openark/golib

* Remove *.go-e files

* Fix for `strconv.ParseInt: parsing "": invalid syntax` error

* Add test for '[osc]' section

Co-authored-by: Nate Wernimont <nate.wernimont@workiva.com>
2021-06-24 20:19:37 +02:00
Shlomi Noach
b8cdd5d133 Update go-sql-driver/mysql 2019-05-16 2019-05-16 13:29:40 +03:00
Shlomi Noach
7e0bdbe72a old timestamp, old datetime 2019-01-01 12:28:34 +02:00
Shlomi Noach
7c17cee010 reverting some changes 2019-01-01 11:47:41 +02:00
Shlomi Noach
0be91ba0f2 trying something... 2019-01-01 11:39:43 +02:00
Shlomi Noach
f25d0b1a3c applying datetime patch 2019-01-01 11:02:27 +02:00
Shlomi Noach
14e396ed73 updated go-mysql 2019-01-01 10:58:12 +02:00
Shlomi Noach
255314927d Updated go-mysql library, now with fix to decimal. May break datetime 2019-01-01 10:57:46 +02:00
Shlomi Noach
1f772dfcd9 experiment done: restoring patch 2018-05-15 15:07:12 +03:00
Shlomi Noach
0f9a26ef6c experiment: removing patch 2018-05-15 14:03:10 +03:00
Shlomi Noach
80387d9160 experiment: handle zero MYSQL_TYPE_DATETIME 2018-05-15 12:45:45 +03:00
Shlomi Noach
2376c91704 Fix to long JSON values 2018-04-11 09:11:27 +03:00
Shlomi Noach
fcda14634d go-mysql library to avoid printing password in cleartext 2018-01-11 14:51:14 +02:00
Shlomi Noach
3bea583595 fixed fraction of the second problem 2017-07-19 15:54:39 +03:00
Shlomi Noach
48e68affb3 reapply: support secPart (subsecond) resolution in timestamp and datetime 2017-02-12 13:24:19 +02:00
Shlomi Noach
f6af07ff7a updated go-mysql library 2017-02 2017-02-12 13:13:54 +02:00
Shlomi Noach
0e7e15804f handling subsecond resolution DATETIME in binary logs
added localtests for subsecond in DATETIME and TIMESTAMP
2016-10-31 15:09:02 +01:00
Shlomi Noach
6ffd6b272e row_event: returning native time.Time value on decodeTimestamp; removed legacy comments 2016-10-13 13:14:31 +02:00
Shlomi Noach
5de8a010df restoring original row_event code; tampering with applier time_zone based on global timze_zone 2016-10-10 22:33:54 +02:00
Shlomi Noach
6750959e1a configurable time-zone, native time parsing 2016-10-10 11:39:57 +02:00
Shlomi Noach
33ebc2d177 converting DATETIME values to UTC 2016-09-28 10:28:46 +02:00
Shlomi Noach
791d963ea0 Character set recognition and manipulation
- Identifying textual characters sets; converting into specific type when applying dml events
- Refactored `ColumnsList`: introducing `Column` type
- Refactored `unsigned` handling, as part of `Column`
- `Column` type supports `convertArg()`: converting value of argument according to column data type
- DB URI attempts `utf8mb4,utf8,latin1` charsets in that order (first one to be recognized wins)
- Local tests filter by pattern
- Local tests append table schema on failure
- Local tests do not have postpone flag file
- Added character set local tests: `utf8`, `utf8mb4`, `latin1`
2016-09-07 14:24:11 +02:00
Shlomi Noach
950fde2ad6 row_event converts timestamps to UTC 2016-08-22 15:45:38 +02:00
Shlomi Noach
02ec1d2b0c trying to get rid of godeps 2016-06-16 11:30:43 +02:00
Shlomi Noach
1cfdb27a3a added siddontang dependencies 2016-06-16 11:15:56 +02:00