#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( IndexedTableUsage , self ) . setUp ( ) #NEWLINE# self . table . cols . c_bool . create_index ( _blocksizes = small_blocksizes ) #NEWLINE# self . table . cols . c_int32 . create_index ( _blocksizes = small_blocksizes ) #NEWLINE# self . will_query_use_indexing = self . table . will_query_use_indexing #NEWLINE# self . compileCondition = self . table . _compile_condition #NEWLINE# self . requiredExprVars = self . table . _required_expr_vars #NEWLINE# usable_idxs = set ( ) #NEWLINE# for expr in self . idx_expr : #NEWLINE# #INDENT# idxvar = expr [ 0 ] #NEWLINE# if ( idxvar not in usable_idxs ) : #NEWLINE# #INDENT# usable_idxs . add ( idxvar ) #NEWLINE# #UNINDENT# #UNINDENT# self . usable_idxs = frozenset ( usable_idxs )