is00hcw / tungsten-replicator

Automatically exported from code.google.com/p/tungsten-replicator
0 stars 1 forks source link

Backport SQL init script related fix in r2697 to 3.0.0 #1092

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Set up a MySQL applier with 
--repl-svc-datasource-thl-init-script=path/to/init.sql
2. Start the applier

What is the expected output?

The init script is not executed.

What do you see instead?

The init script is executed.

What version of the product are you using?

3.0.0-524

On what operating system?

CentOS 6.6

Please provide any additional information below.

Notes:

The fix in r2697 is only available in 3.0.1, which is a MySQL-only release. We 
need this fix in a heterogeneous environment.

Original issue reported on code.google.com by ento.ent...@gmail.com on 22 Jan 2015 at 11:22

GoogleCodeExporter commented 9 years ago
The expected output / actual output lines in the issue body above is wrongly 
swapped. The correct report is:

What is the expected output?

The init script is executed.

What do you see instead?

The init script is not executed.

Original comment by ento.ent...@gmail.com on 22 Jan 2015 at 11:24

GoogleCodeExporter commented 9 years ago
The fix in question is: 
https://code.google.com/p/tungsten-replicator/source/diff?spec=svn2775&r=2697&fo
rmat=side&path=/trunk/replicator/src/java/com/continuent/tungsten/replicator/dat
asource/SqlConnectionManager.java

Original comment by ento.ent...@gmail.com on 22 Jan 2015 at 11:28