Commit 69abef7b authored by Ivan Tashkinov's avatar Ivan Tashkinov

Updated #indexes method (added explicit schema specification).

parent a2a2c4a9
......@@ -368,7 +368,7 @@ module ActiveRecord
def indexes(table_name, name = nil)
sql_query = " SELECT distinct as index_name, k.\"name\",
idxs i, #{MDB_SYS_SCHEMA}_tables t, objects k
#{MDB_SYS_SCHEMA}idxs i, #{MDB_SYS_SCHEMA}_tables t, #{MDB_SYS_SCHEMA}objects k
i.type = 0 AND not like '%pkey'
AND = AND = i.table_id
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment