Changeset: a91826a62be1 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a91826a62be1
Modified Files:
        java/src/nl/cwi/monetdb/jdbc/MonetTwoStageCommit.java
Branch: HTM
Log Message:

Use sendIndependentCommand instead of sendControlCommand


diffs (19 lines):

diff --git a/java/src/nl/cwi/monetdb/jdbc/MonetTwoStageCommit.java 
b/java/src/nl/cwi/monetdb/jdbc/MonetTwoStageCommit.java
--- a/java/src/nl/cwi/monetdb/jdbc/MonetTwoStageCommit.java
+++ b/java/src/nl/cwi/monetdb/jdbc/MonetTwoStageCommit.java
@@ -45,13 +45,13 @@ public class MonetTwoStageCommit {
                        throw new SQLException("Cannot execute preCommit - 
autocommit enabled", "3B000");
                }
                savepoint = connection.setSavepoint(name);
-               connection.sendControlCommand("pre_commit");
+               connection.sendIndependentCommand("pre_commit");
                
                return savepoint;
        }
        
        public void persistCommit(Savepoint savepoint) throws SQLException {
-               connection.sendControlCommand("presist_commit");
+               connection.sendIndependentCommand("presist_commit");
                connection.releaseSavepoint(savepoint);
                return;
        }
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to