                             @current_results.push data
                             @state.cursor.next get_result_callback
                         else if @current_results.length is @limit
+                            # We buffer one row to be able to tell if there are more results or not
                             @extra_row = data
                             get_result_callback() # Display results
                         return true

            @skip_value += @current_results.length
            try
                @current_results = []
                if @extra_row isnt undefined
                    @current_results.push @extra_row
                    @extra_row = undefined

                @start_time = new Date()


                        skip_value: @skip_value
                        execution_time: new Date() - @start_time
                        query: @query
                        has_more_data: @extra_row isnt undefined # If we could buffer one more row, it means that there are more results available

                    @results_view.render_result
                        results: @current_results # The first parameter is null ( = query, so we don't display it)
