From b4b73d9520a2ff27021b530ccd3dcd96973ce5fe Mon Sep 17 00:00:00 2001 From: Emilio Tagua Date: Wed, 29 Apr 2009 19:38:39 -0300 Subject: Added DISTINCT support. Modified when to quote or not columns and tables. --- spec/doubles/database.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec/doubles') diff --git a/spec/doubles/database.rb b/spec/doubles/database.rb index 7670958d7a..f8a4b38e17 100644 --- a/spec/doubles/database.rb +++ b/spec/doubles/database.rb @@ -34,6 +34,10 @@ module Fake def quote_table_name(table_name) "`#{table_name}`" end + + def supports_count_distinct? + true + end end class Column -- cgit v1.2.3