if (csid < 0) {
csid = nextID();
int schemaid = cs.getSchemaName().hashCode();
LongValueHashMap sqlMap =
(LongValueHashMap) schemaMap.get(schemaid);
if (sqlMap == null) {
sqlMap = new LongValueHashMap();
schemaMap.put(schemaid, sqlMap);
}
sqlMap.put(cs.getSQL(), csid);
sqlLookup.put(csid, cs.getSQL());
}
cs.setID(csid);
cs.setCompileTimestamp(database.txManager.getGlobalChangeTimestamp());