mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
fix typo (#3532)
This commit is contained in:
@@ -46,7 +46,7 @@ public class MysqlConnector {
|
|||||||
|
|
||||||
private SocketChannel channel;
|
private SocketChannel channel;
|
||||||
private volatile boolean dumping = false;
|
private volatile boolean dumping = false;
|
||||||
// mysql connectinnId
|
// mysql connectionId
|
||||||
private long connectionId = -1;
|
private long connectionId = -1;
|
||||||
private AtomicBoolean connected = new AtomicBoolean(false);
|
private AtomicBoolean connected = new AtomicBoolean(false);
|
||||||
// serverVersion
|
// serverVersion
|
||||||
@@ -169,7 +169,7 @@ public class MysqlConnector {
|
|||||||
} else if (body[0] == -2) {
|
} else if (body[0] == -2) {
|
||||||
throw new IOException("Unexpected EOF packet at handshake phase.");
|
throw new IOException("Unexpected EOF packet at handshake phase.");
|
||||||
} else {
|
} else {
|
||||||
throw new IOException("unpexpected packet with field_count=" + body[0]);
|
throw new IOException("Unexpected packet with field_count=" + body[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
HandshakeInitializationPacket handshakePacket = new HandshakeInitializationPacket();
|
HandshakeInitializationPacket handshakePacket = new HandshakeInitializationPacket();
|
||||||
@@ -273,7 +273,7 @@ public class MysqlConnector {
|
|||||||
err.fromBytes(body);
|
err.fromBytes(body);
|
||||||
throw new IOException("Error When doing Client Authentication:" + err.toString());
|
throw new IOException("Error When doing Client Authentication:" + err.toString());
|
||||||
} else {
|
} else {
|
||||||
throw new IOException("unpexpected packet with field_count=" + body[0]);
|
throw new IOException("Unexpected packet with field_count=" + body[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -304,7 +304,7 @@ public class MysqlConnector {
|
|||||||
err.fromBytes(body);
|
err.fromBytes(body);
|
||||||
throw new IOException("Error When doing Client Authentication:" + err.toString());
|
throw new IOException("Error When doing Client Authentication:" + err.toString());
|
||||||
default:
|
default:
|
||||||
throw new IOException("unpexpected packet with field_count=" + body[0]);
|
throw new IOException("Unexpected packet with field_count=" + body[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -303,7 +303,7 @@ public class MysqlConnection implements ErosaConnection {
|
|||||||
err.fromBytes(body);
|
err.fromBytes(body);
|
||||||
throw new IOException("Error When doing Register slave:" + err.toString());
|
throw new IOException("Error When doing Register slave:" + err.toString());
|
||||||
} else {
|
} else {
|
||||||
throw new IOException("unpexpected packet with field_count=" + body[0]);
|
throw new IOException("Unexpected packet with field_count=" + body[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ public class DirectLogFetcherTest {
|
|||||||
err.fromBytes(body);
|
err.fromBytes(body);
|
||||||
throw new IOException("Error When doing Register slave:" + err.toString());
|
throw new IOException("Error When doing Register slave:" + err.toString());
|
||||||
} else {
|
} else {
|
||||||
throw new IOException("unpexpected packet with field_count=" + body[0]);
|
throw new IOException("Unexpected packet with field_count=" + body[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user