compiles an sql statement and returns a compiledstatement object concode_field_sep Database database concode_elem_sep IntKeyHashMap schemaMap concode_elem_sep LongKeyHashMap sqlLookup concode_elem_sep LongKeyHashMap csidMap concode_elem_sep long next_cs_id concode_field_sep long nextID concode_elem_sep void reset concode_elem_sep long getStatementID concode_elem_sep Statement getStatement concode_elem_sep void freeStatement concode_elem_sep long registerStatement
Statement function ( Session arg0 , Result arg1 ) { String loc0 = arg1 . getMainString ( ) ; long loc1 = getStatementID ( arg0 . currentSchema , loc0 ) ; Statement loc2 = ( Statement ) csidMap . get ( loc1 ) ; if ( loc2 == null || ! loc2 . isValid ( ) ) { loc2 = arg0 . compileStatement ( loc0 ) ; loc1 = registerStatement ( loc1 , loc2 ) ; } return loc2 ; }