Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-11-04 00:19:35 +0000
committerRyan D. Brooks2010-11-04 00:19:35 +0000
commitfb53c032ce0e53494bf184ba65c38d42b2b7d626 (patch)
treeeb4f09938ded64973b498aadad029bcf5b4452ee
parentc2cd3a01d613fc48f4a6e8583e3d9de1ed3304b4 (diff)
downloadorg.eclipse.osee-fb53c032ce0e53494bf184ba65c38d42b2b7d626.tar.gz
org.eclipse.osee-fb53c032ce0e53494bf184ba65c38d42b2b7d626.tar.xz
org.eclipse.osee-fb53c032ce0e53494bf184ba65c38d42b2b7d626.zip
bug: Fix PurgeTransactionOperation txcurrent order
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/PurgeTransactionOperation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/PurgeTransactionOperation.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/PurgeTransactionOperation.java
index 6008b85ff37..1c37176357d 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/PurgeTransactionOperation.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/PurgeTransactionOperation.java
@@ -67,7 +67,7 @@ public class PurgeTransactionOperation extends AbstractDbTxOperation {
"SELECT %s as item_id, txs.branch_id from osee_join_transaction ojt, osee_txs txs, %s item where ojt.query_id = ? AND ojt.transaction_id = txs.transaction_id AND txs.gamma_id = item.gamma_id";
private final static String FIND_NEW_TX_CURRENTS =
- "SELECT oj.id as item_id, txs.mod_type, txs.gamma_id, txs.transaction_id from osee_join_id oj, %s item, osee_txs txs where oj.query_id = ? and oj.id = item.%s and item.gamma_id = txs.gamma_id and txs.branch_id = ? order by txs.transaction_id desc, oj.id desc";
+ "SELECT oj.id as item_id, txs.mod_type, txs.gamma_id, txs.transaction_id from osee_join_id oj, %s item, osee_txs txs where oj.query_id = ? and oj.id = item.%s and item.gamma_id = txs.gamma_id and txs.branch_id = ? order by oj.id desc, txs.transaction_id desc";
private static final String UPDATE_TX_CURRENT =
"update osee_txs set tx_current = ? where transaction_id = ? and gamma_id = ?";

Back to the top