public GLStateTextureDBTableManager() {
addColumn(new DBColumn(CONTEXT_ID, DBConstants.NOT_NULL, DBConstants.LONG));
- addColumn(new DBColumn(CHANGE_SEQ, DBConstants.NOT_NULL, DBConstants.INTEGER));
+ addColumn(new DBColumn(CHANGE_SEQ, DBConstants.NOT_NULL, DBConstants.LONG));
addColumn(new DBColumn(TEXTURE_UNIT_TYPE, DBConstants.NOT_NULL, DBConstants.INTEGER));
addColumn(new DBColumn(TEXTURE_OBJ_ID, DBConstants.NOT_NULL, DBConstants.INTEGER));
addColumn(new DBColumn(TEXTURE_OBJ_MAG_FUNC, DBConstants.NOT_NULL, DBConstants.INTEGER));
try {
while (rs.next()) {
long contextID = rs.getLong(TABLE_CONTEXT_ID_INDEX + 1);
- int seq = rs.getInt(TABLE_CHANGE_SEQ_INDEX + 1);
+ long seq = rs.getInt(TABLE_CHANGE_SEQ_INDEX + 1);
int unitType = rs.getInt(TABLE_TEXTURE_UNIT_TYPE_INDEX + 1);
int textureId = rs.getInt(TABLE_TEXTURE_OBJ_ID_INDEX + 1);
int magFilter = rs.getInt(TABLE_TEXTURE_OBJ_MAG_FUNC_INDEX + 1);
try {
prep.setLong(TABLE_CONTEXT_ID_INDEX + 1,
(Long) (rowData.get(TABLE_CONTEXT_ID_INDEX)));
- prep.setInt(TABLE_CHANGE_SEQ_INDEX + 1,
- (Integer) (rowData.get(TABLE_CHANGE_SEQ_INDEX)));
+ prep.setLong(TABLE_CHANGE_SEQ_INDEX + 1,
+ (Long) (rowData.get(TABLE_CHANGE_SEQ_INDEX)));
prep.setInt(TABLE_TEXTURE_UNIT_TYPE_INDEX + 1,
(Integer) (rowData.get(TABLE_TEXTURE_UNIT_TYPE_INDEX)));
prep.setInt(TABLE_TEXTURE_OBJ_ID_INDEX + 1,
}
// private void checkUserFuncLeakData(LogData log, LeakInfo chk) {
- // HashMap<Integer, CallStackData> cdMap = AnalyzerManager
+ // HashMap<Long, CallStackData> cdMap = AnalyzerManager
// .getCallstackManager().getCallStackDataBySeqMap();
// // HashMap<Long, String> apiMap = LogSpliter.getCallStackApiByAddrMap();
// HashMap<Long, CallStackUnit> addrMap = AnalyzerManager