diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-02-08 13:13:04 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-02-08 13:38:05 -0800 |
commit | 8ce57652b224c01d474ef20b27ea3c3838534467 (patch) | |
tree | 077245c169199ce849c89116e62e91eaab3f0de0 /activerecord | |
parent | ee0b92ec7a87967c55fa2992350b12493d3c148b (diff) | |
download | rails-8ce57652b224c01d474ef20b27ea3c3838534467.tar.gz rails-8ce57652b224c01d474ef20b27ea3c3838534467.tar.bz2 rails-8ce57652b224c01d474ef20b27ea3c3838534467.zip |
ignore max identifier length queries from pg
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb index 1019ea1dda..7e9007ef73 100644 --- a/activerecord/test/cases/helper.rb +++ b/activerecord/test/cases/helper.rb @@ -51,7 +51,7 @@ end module ActiveRecord class SQLCounter - IGNORED_SQL = [/^PRAGMA (?!(table_info))/, /^SELECT currval/, /^SELECT CAST/, /^SELECT @@IDENTITY/, /^SELECT @@ROWCOUNT/, /^SAVEPOINT/, /^ROLLBACK TO SAVEPOINT/, /^RELEASE SAVEPOINT/] + IGNORED_SQL = [/^PRAGMA (?!(table_info))/, /^SELECT currval/, /^SELECT CAST/, /^SELECT @@IDENTITY/, /^SELECT @@ROWCOUNT/, /^SAVEPOINT/, /^ROLLBACK TO SAVEPOINT/, /^RELEASE SAVEPOINT/, /^SHOW max_identifier_length/] # FIXME: this needs to be refactored so specific database can add their own # ignored SQL. This ignored SQL is for Oracle. |