Revision 2604
Added by Jing Tao about 19 years ago
src/edu/ucsb/nceas/metacat/AccessControlList.java | ||
---|---|---|
516 | 516 |
pstmt.setString(5, permOrder); |
517 | 517 |
pstmt.setString(7, aclid); |
518 | 518 |
if ( ticketCount > 0 ) { |
519 |
pstmt.setString(6, "" + ticketCount);
|
|
519 |
pstmt.setInt(6, ticketCount);
|
|
520 | 520 |
} else { |
521 |
pstmt.setString(6, null);
|
|
521 |
pstmt.setInt(6, 0);
|
|
522 | 522 |
} |
523 | 523 |
|
524 | 524 |
//incrase usagecount for DBConnection |
Also available in: Unified diff
Change setString to setInt for ticket account because driver changes.