Skip to content

Commit

Permalink
stamp 2.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
the4thdoctor committed Sep 1, 2018
1 parent 9e3e768 commit bd27909
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
changelog
*************************

2.0.10 - XX Sep 2018
2.0.10 - 01 Sep 2018
..........................................................
* Fix regression in new replay function with PostgreSQL 10
* Convert to string the dictionary entries pulled from a json field
Expand Down
3 changes: 2 additions & 1 deletion RELEASE_NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ This release fixes adds a workaround for decoding the keys in the mysql's json f
The command ``enable_replica`` fixes a race condition when the maintenance flag is not returned to false (e.g. an application crash during the maintenance run) allowing the replica to start again.


The tokeniser for the ``CHANGE `` statement now parses the tables in the form of ``schema.table``. However the query's schema is not used as the replica method uses the schema name pulled out from the mysql's binlog.
The tokeniser for the ``CHANGE`` statement now parses the tables in the form of ``schema.table``. However the tokenised schema is not used to determine the
query's schema because the ``__read_replica_stream`` method uses the schema name pulled out from the mysql's binlog.


As this change requires a replica catalogue upgrade is very important to follow the upgrade instructions provided below.
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
# built documents.
#
# The short X.Y version.
version = u'2.0.9'
version = u'2.0.10'
# The full version, including alpha/beta/rc tags.
release = u'v2.0.9'
release = u'v2.0.10'

# The language for content autgenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
statement = """RENAME TABLE `sakila`.`test_partition` TO `sakila`.`_test_partition_old`, `_test_partition_new` TO `test_partition`;"""
#statement="""ALTER TABLE foo MODIFY bar INT UNSIGNED DEFAULT NULL;"""
#statement="""ALTER TABLE foo change bar bar INT UNSIGNED;"""
#statement="""alter table test change date_create_new date_create_new timestamp;"""
statement="""ALTER TABLE `some_sch`.`my_great_table` CHANGE COLUMN `IMEI` `IMEI` VARCHAR(255) NULL DEFAULT NULL COMMENT 'IMEI datatype changed'"""

token_sql=sql_token()
token_sql.parse_sql(statement)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def readme():

setup(
name="pg_chameleon",
version="2.0.9",
version="2.0.10",
description="MySQL to PostgreSQL replica and migration",
long_description=readme(),
author = "Federico Campoli",
Expand Down

0 comments on commit bd27909

Please sign in to comment.