mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Merge branch 'jruby_issue' of https://github.com/ahorek/database_cleaner into ahorek-jruby_issue
This commit is contained in:
commit
12ad822458
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ module DatabaseCleaner::ActiveRecord
|
|||
def information_schema_exists? connection
|
||||
@information_schema_exists ||=
|
||||
begin
|
||||
connection.execute("SELECT * FROM information_schema.tables")
|
||||
connection.execute("SELECT 1 FROM information_schema.tables")
|
||||
true
|
||||
rescue
|
||||
false
|
||||
|
|
Loading…
Reference in a new issue