Skip to content

Commit

Permalink
JDBC-266 On closer examination isc_spb_tra_id is an information item …
Browse files Browse the repository at this point in the history
…as part of isc_spb_multi_tra_id and not actually a limbo transaction
  • Loading branch information
mrotteveel committed Nov 17, 2012
1 parent 75862c0 commit e0b2203
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -286,14 +286,16 @@ public List<Integer> limboTransactionsAsList() throws SQLException {
int idx = 0;
while (idx < output.length) {
switch (output[idx++]) {
case ISCConstants.isc_spb_tra_id:
case ISCConstants.isc_spb_single_tra_id:
case ISCConstants.isc_spb_multi_tra_id:
int trId = getGds().iscVaxInteger(output, idx, 4);
idx += 4;
result.add(Integer.valueOf(trId));
break;
// Information items we will ignore for now
case ISCConstants.isc_spb_tra_id:
idx += 4;
break;
case ISCConstants.isc_spb_tra_state:
case ISCConstants.isc_spb_tra_advise:
idx++;
Expand Down

0 comments on commit e0b2203

Please sign in to comment.