# File SQLRelay.rb, line 218 def execute # otherwise execute the already-prepared query, raising an error if it fails if @handle.executeQuery == 0 then raise DBI::ProgrammingError.new(@handle.errorMessage) end # initialize some values @row_index = 0 @row_count = @handle.rowCount @affected_rows = @handle.affectedRows # clear bind values so the statement can be re-bound and re-executed @handle.clearBinds end