Skip to content

Commit

Permalink
SYMMETRICDS-121
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Jul 16, 2009
1 parent 223cd19 commit 87aeef1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -107,7 +107,7 @@ public void insertIncomingBatchHistory(IncomingBatchHistory history) {
history.getStatementCount(), history.getFallbackInsertCount(), history.getFallbackUpdateCount(),
history.getMissingDeleteCount(), history.getFailedRowNumber(), history.getStartTime(),
history.getEndTime(), history.getSqlState(), history.getSqlCode(),
StringUtils.abbreviate(history.getSqlMessage(), 50) }, new int[] { Types.INTEGER, Types.VARCHAR,
StringUtils.abbreviate(history.getSqlMessage(), 1000) }, new int[] { Types.INTEGER, Types.VARCHAR,
Types.CHAR, Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.VARCHAR, Types.INTEGER, Types.INTEGER,
Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.TIMESTAMP, Types.TIMESTAMP,
Types.VARCHAR, Types.INTEGER, Types.VARCHAR });
Expand Down
Expand Up @@ -214,7 +214,7 @@ public void insertOutgoingBatchHistory(JdbcTemplate template, OutgoingBatchHisto
history.getNodeId(), history.getStatus().toString(), history.getNetworkMillis(),
history.getFilterMillis(), history.getDatabaseMillis(), history.getHostName(), history.getByteCount(),
history.getDataEventCount(), history.getFailedDataId(), history.getStartTime(), history.getEndTime(),
history.getSqlState(), history.getSqlCode(), StringUtils.abbreviate(history.getSqlMessage(), 50) },
history.getSqlState(), history.getSqlCode(), StringUtils.abbreviate(history.getSqlMessage(), 1000) },
new int[] { Types.INTEGER, Types.VARCHAR, Types.CHAR, Types.INTEGER, Types.INTEGER, Types.INTEGER,
Types.VARCHAR, Types.INTEGER, Types.INTEGER, Types.INTEGER, Types.TIMESTAMP, Types.TIMESTAMP,
Types.VARCHAR, Types.INTEGER, Types.VARCHAR });
Expand Down
4 changes: 2 additions & 2 deletions symmetric/src/main/resources/ddl-config.xml
Expand Up @@ -74,7 +74,7 @@
<column name="failed_data_id" type="INTEGER" />
<column name="sql_state" type="VARCHAR" size="10" />
<column name="sql_code" type="INTEGER" />
<column name="sql_message" type="VARCHAR" size="50" />
<column name="sql_message" type="VARCHAR" size="1000" />
<index name="idx_outgoing_batch_hist">
<index-column name="node_id" />
<index-column name="batch_id" />
Expand Down Expand Up @@ -217,7 +217,7 @@
<column name="missing_delete_count" type="INTEGER" />
<column name="sql_state" type="VARCHAR" size="10" />
<column name="sql_code" type="INTEGER" />
<column name="sql_message" type="VARCHAR" size="50" />
<column name="sql_message" type="VARCHAR" size="1000" />
<index name="idx_incoming_batch_hist">
<index-column name="batch_id" />
<index-column name="node_id" />
Expand Down

0 comments on commit 87aeef1

Please sign in to comment.