Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
activerecord-monetdb-adapter
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
simcaq
activerecord-monetdb-adapter
Commits
69abef7b
Commit
69abef7b
authored
Nov 21, 2012
by
Ivan Tashkinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated #indexes method (added explicit schema specification).
parent
a2a2c4a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
adapter/lib/active_record/connection_adapters/monetdb_adapter.rb
.../lib/active_record/connection_adapters/monetdb_adapter.rb
+1
-1
No files found.
adapter/lib/active_record/connection_adapters/monetdb_adapter.rb
View file @
69abef7b
...
...
@@ -368,7 +368,7 @@ module ActiveRecord
def
indexes
(
table_name
,
name
=
nil
)
sql_query
=
" SELECT distinct i.name as index_name, k.
\"
name
\"
, k.nr
FROM
idxs i,
#{
MDB_SYS_SCHEMA
}
_tables t,
objects k
#{
MDB_SYS_SCHEMA
}
idxs i,
#{
MDB_SYS_SCHEMA
}
_tables t,
#{
MDB_SYS_SCHEMA
}
objects k
WHERE
i.type = 0 AND i.name not like '%pkey'
AND i.id = k.id AND t.id = i.table_id
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment