forked from mariadb-corporation/mariadb-connector-j
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CONJ-152 - rewriteBatchedStatements and multiple executeBatch error
- Loading branch information
Showing
13 changed files
with
282 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/main/java/org/mariadb/jdbc/internal/common/packet/MaxAllowedPacketException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package org.mariadb.jdbc.internal.common.packet; | ||
|
||
import java.io.IOException; | ||
|
||
/** | ||
* Created by diego_000 on 03/06/2015. | ||
*/ | ||
public class MaxAllowedPacketException extends IOException { | ||
boolean mustReconnect; | ||
public MaxAllowedPacketException(String message, boolean mustReconnect) { | ||
super(message); | ||
this.mustReconnect = mustReconnect; | ||
} | ||
|
||
public boolean isMustReconnect() { | ||
return mustReconnect; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.