Permalink
Browse files

Merge pull request #3622 from noefroidevaux/issue_3595

Fix pull request #3609
  • Loading branch information...
2 parents d37e169 + bf6efa8 commit 2ec8d52b0cb830412e02b2504f9f2c3a12483b52 @wycats wycats committed Nov 13, 2011
@@ -127,7 +127,7 @@ def table_exists?(name)
with_connection do |conn|
conn.tables.each { |table| @tables[table] = true }
- @tables[name] = !@tables.key?(name) && conn.table_exists?(name)
+ @tables[name] = conn.table_exists?(name) if !@tables.key?(name)
end
@tables[name]

0 comments on commit 2ec8d52

Please sign in to comment.