lib/dexter/query.rb in pgdexter-0.3.1 vs lib/dexter/query.rb in pgdexter-0.3.2

- old
+ new

@@ -1,9 +1,9 @@ module Dexter class Query attr_reader :statement, :fingerprint, :plans attr_writer :tables - attr_accessor :missing_tables, :new_cost, :total_time, :calls, :indexes, :suggest_index, :pass1_indexes, :pass2_indexes + attr_accessor :missing_tables, :new_cost, :total_time, :calls, :indexes, :suggest_index, :pass1_indexes, :pass2_indexes, :candidate_tables def initialize(statement, fingerprint = nil) @statement = statement unless fingerprint fingerprint = PgQuery.fingerprint(statement) rescue "unknown"