DBZ-786 Typo fix

This commit is contained in:
Gunnar Morling 2018-07-09 12:52:01 +02:00 committed by Jiri Pechanec
parent be614197eb
commit 926ee6f5e8
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ public void enableDbCdc(String name) throws SQLException {
* the name of the table, may not be {@code null}
* @throws SQLException if anything unexpected fails
*/
public void enableTableCcd(String name) throws SQLException {
public void enableTableCdc(String name) throws SQLException {
Objects.requireNonNull(name);
String enableCdcForTableStmt = ENABLE_TABLE_CDC.replace(STATEMENTS_PLACEHOLDER, name);
String generateWrapperFunctionsStmts = CDC_WRAPPERS_DML.replaceAll(STATEMENTS_PLACEHOLDER, name);

View File

@ -57,7 +57,7 @@ public void shouldEnableCDCWithWrapperFunctionsForTable() throws Exception {
connection.execute(sql);
// then enable CDC and wrapper functions
connection.enableTableCcd("testTable");
connection.enableTableCdc("testTable");
// insert some data
connection.execute("INSERT INTO testTable (NUMBER, TEXT) values (1, 'aaa')\n"