mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ignore max identifier length queries from pg
This commit is contained in:
parent
ee0b92ec7a
commit
8ce57652b2
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue