aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-02-08 13:13:04 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-02-08 13:38:05 -0800
commit8ce57652b224c01d474ef20b27ea3c3838534467 (patch)
tree077245c169199ce849c89116e62e91eaab3f0de0 /activerecord/test
parentee0b92ec7a87967c55fa2992350b12493d3c148b (diff)
downloadrails-8ce57652b224c01d474ef20b27ea3c3838534467.tar.gz
rails-8ce57652b224c01d474ef20b27ea3c3838534467.tar.bz2
rails-8ce57652b224c01d474ef20b27ea3c3838534467.zip
ignore max identifier length queries from pg
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/helper.rb2
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.