Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d881bbf

Browse files
author
Wagner Franchin
committed
fixed indentation
1 parent 287b541 commit d881bbf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/main/java/applications/Application2.java‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ public static void main(String[] args) throws SQLException, InterruptedException
8080
commandSlave = connectionSlave.createStatement();
8181

8282
//Set the master (S1) configuration in the slave (S2)
83-
commandSlave.execute("CHANGE MASTER TO MASTER_HOST='localhost', MASTER_PORT=" + master_port + ", MASTER_USER='" + username + "';");
83+
commandSlave.execute("CHANGE MASTER TO MASTER_HOST='localhost', MASTER_PORT=" + master_port +
84+
", MASTER_USER='" + username + "';");
8485

8586
//Start replication in the slave (S2)
8687
commandSlave.execute("START SLAVE;");
@@ -137,7 +138,7 @@ private static void testReplication() throws SQLException, InterruptedException
137138
try {
138139
//Check that the table exists in the slave (S2)
139140
executeQuery(commandSlave, "DESCRIBE " + USER_TABLE + ";", Kind.SLAVE);
140-
}catch(Exception e) {
141+
}catch(Exception e) {
141142
System.err.println(e.getMessage());
142143
}
143144

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /