bin/explain in shiba-0.9.1 vs bin/explain in shiba-0.9.2
- old
+ new
@@ -40,10 +40,10 @@
file = $stdin if file.nil?
if options["verbose"]
$stderr.puts "Reading queries from '#{file.inspect}'..."
- $stderr.puts "Analyzing SQL to '#{json.inspect}'..."
+ $stderr.puts "Analyzing SQL to '#{options["json"].inspect}'..."
end
table_stats = Shiba::TableStats.new(Shiba.index_config, Shiba.connection, {})
queries = Shiba::Analyzer.analyze(file, table_stats, options)