Commit Graph

89 Commits

Author SHA1 Message Date
Jiri Pechanec
c9fb329da3 Changelog for 0.7.5 2018-03-20 09:01:28 +01:00
Jiri Pechanec
e113853768 Add decoder plug-in upgrade notice 2018-03-07 16:53:47 +01:00
Jiri Pechanec
6faa4c87b7 Changelog for 0.7.4 2018-03-07 08:07:23 +01:00
Jiri Pechanec
efa7533fda Changelog for 0.7.3 2018-02-15 05:07:01 +01:00
Jiri Pechanec
f38ecdba98 Changelog for 0.7.2 2018-01-25 10:35:03 +01:00
Jiri Pechanec
409cb7c639 Changelog for 0.7.1 2017-12-20 08:10:07 +01:00
Jiri Pechanec
23cef09376 Changelog for 0.7.0 2017-12-15 05:58:33 +01:00
Jiri Pechanec
d211b0bde5 Changelog for 0.6.2 2017-11-15 16:49:26 +01:00
Jiri Pechanec
76f3957fe6 Changelog for 0.6.1 2017-11-15 16:49:26 +01:00
Jiri Pechanec
05d19b21ad Changelog for 0.6.0 2017-09-21 06:31:35 +02:00
Jiri Pechanec
9c6d699fb0 Changelog for 0.5.2 2017-08-17 12:45:53 +02:00
Jiri Pechanec
a869e0d617 Changelog for 0.5.2 2017-08-17 12:20:15 +02:00
Jiri Pechanec
ba1d59f6c9 Fix release notes link 2017-08-10 08:50:12 +02:00
Gunnar Morling
cf7bb2a8cd Updating changelog prior to 0.5.1 release 2017-06-09 18:04:05 +02:00
Randall Hauch
d0899bd156 Updated changelog for release 0.5.0 2017-03-27 11:24:49 -05:00
Randall Hauch
efbaf8ef00 Corrected the links to earlier releases 2017-03-17 15:37:34 -05:00
Randall Hauch
5fc3e91759 Updated changelog for 0.4.1 2017-03-17 15:33:30 -05:00
Randall Hauch
01ee528526 DBZ-192 Corrected links to release notes to public URLs 2017-02-10 15:11:31 -06:00
Randall Hauch
e5b42e4bc1 Updated changelog for 0.4.0 2017-02-07 13:35:30 -06:00
Randall Hauch
a960d25ea7 Updated changelog for the 0.3.6 release. 2016-12-21 15:54:51 -06:00
Randall Hauch
86476faffa Updated release notes for the 0.3.5 release. 2016-11-14 12:41:42 -06:00
Randall Hauch
13c3b0c756 Updated changelog for 0.3.4 2016-10-25 12:04:41 -05:00
Randall Hauch
fc4319b134 Updated changelog for 0.3.3 2016-10-18 14:43:15 -05:00
Randall Hauch
16a3cd0994 Updated changelog for 0.3.2 2016-09-26 10:25:45 -05:00
Randall Hauch
04f4bc4f82 Updated changelog 2016-08-29 15:20:51 -05:00
Randall Hauch
330a27ce52 Merge pull request #97 from rhauch/dbz-102
DBZ-102 MySQL connector support for column charsets
2016-08-29 15:12:24 -05:00
Randall Hauch
cc94bbc697 DBZ-102 MySQL connector now processes character sets
The MySQL binlog events contain the binary representation of string-like values as encoded per the column's character set. Properly decoding these into Java strings requires capturing the column, table, and database character set when parsing the DDL statements.

Unfortunately, MySQL DDL allows columns (at the time the columns are created or modified) to inherit the default character set for the table, or if that is not defined the default character set for the database, or if that is not defined the character set for the server. So, in addition to modifying the MySQL DDL parser to support capturing the character set name for each column, it also had to be changed to know what these default character set names are.

The default character sets are all available via MySQL server/session/local variables. Although strictly speaking the character set variables cannot be set globally, MySQL DDL does allow session and local variables to be set with `SET` statements. Therefore, this commit enhances the MySQL DDL parser to parse `SET` statements and to track the various global, session, and local variables as seen by the DDL parser. Upon connector startup, a subset of server variables (related to character sets and collations) are read from the database via JDBC and used to initialize the DDL parser via `SET` methods.

In addition to initializing the DDL parser with the system variables related to character sets and collation, it is important to also capture the server and database default character sets in the database history so that the correct character sets are used for columns even when the default character sets have changed on the database and/or the server. Therefore, upon startup or snapshot the MySQL connector records in the database history a `SET` statement for the `character_set_server` and `collation_server` system variables so that, upon a later restart, the history's DDL statements can be re-parsed with the correct default server and database character sets. Also, when the MySQL connector reloads the database history (upon startup), the recorded default server character set is compared with the MySQL instance's current server character set, and if they are different the current character set is recorded with a new `SET` statement.

These extra steps ensure that the connector use the correct character set for each column, even when the connector restarts and reloads the database history captured by a previous version of the connector. IOW, the MySQL connector can be safely upgraded, and the new version will correctly start using the columns' character sets to decode the string-like values.
2016-08-29 12:19:24 -05:00
Randall Hauch
93d0fae02b DBZ-109 Captured MySQL error code and SQLSTATE code in exceptions
The binlog reader and JDBC operations might throw exceptions with this information, so in these cases the connector now captures the error code and SQLSTATE code from the exception and includes them in the message.
2016-08-25 08:11:50 -05:00
Randall Hauch
74f37b0005 Updated change log for 0.3.1 2016-08-24 14:27:10 -05:00
Randall Hauch
6e97454b98 Updated changelog with 0.2.4 release information 2016-08-16 08:56:50 -05:00
Randall Hauch
d8143a6f59 Updated the changelog with information about the 0.3 release 2016-08-15 23:03:08 -05:00
Randall Hauch
a8efb99b7d Updated changelog 2016-07-25 18:32:58 -05:00
Randall Hauch
00226a4591 Updated changelog 2016-07-25 18:32:07 -05:00
Randall Hauch
7993cfdb1e Updated changelog 2016-07-25 18:29:49 -05:00
Randall Hauch
49150689af Updated changelog for the 0.2.2 release 2016-06-22 16:15:06 -05:00
Randall Hauch
f565932dd2 Added commit log for 0.2.1 and placeholder for 0.3 changes 2016-06-10 10:06:22 -05:00
Randall Hauch
3b7db43bf9 Updated change log for 0.2 2016-06-08 12:56:50 -05:00
Randall Hauch
6796fe32be DBZ-1 Added the initial stages of a MySQL source connector
The connector is in a basic working state, although it is not well tested yet and upon restart does not recover the schema state from the previous run.
2016-01-29 10:12:28 -06:00
Randall Hauch
a9de015322 DBZ-5 Added change log file. 2016-01-27 09:01:44 -06:00