Community
Participate
Working Groups
Build Identifier: 4.0 In case of a raw replication failure the changes done in the db (like creating new tables) are not undone. Patch will be attached. Reproducible: Always
Created attachment 184472 [details] Proposed patch The patch removes all already created new mapping tables in the db in case of an error. That is the next raw replication will not fail with a "Table already exists" error. In rawImportPackageUnits a new db connection is created due to: In H2 the CREATE TABLE statement commits the transaction (see http://www.h2database.com/html/grammar.html#create_table) therefore the changes done before creating the table cannot be undone by calling connection.rollback(). This patch was only tested with an H2 database!
Good catch, Erwin. Please confirm that: 1) The number of lines that you changed is smaller than 250. 2) You are the only author of these changed lines. 3) You apply the EPL to these changed lines.
Committed to HEAD
I confirm that: 1) The number of lines that you changed is smaller than 250. 2) You are the only author of these changed lines. 3) You apply the EPL to these changed lines.
Available in R20110608-1407