question: public void addTemporaryResult ( LocalResult result ) { if ( ! result . needToClose ( ) ) { return ; } if ( temporaryResults == null ) { temporaryResults = New . hashSet ( ) ; } if ( temporaryResults . size ( ) < 100 ) { temporaryResults . add ( result ) ; } }
target:  Remember the result set and close it as soon as the transaction is committed (if it needs to be closed). This is done to delete temporary files as soon as possible, and free object ids of temporary tables.