Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor select() to use two parameters #33

Merged
3 commits merged into from Oct 27, 2010
Merged

Conversation

tenderlove
Copy link
Collaborator

Hi,

I'm refactoring ActiveRecord to add prepared statement caching. I need the adapters to use the same interface as the abstract adapter. These commits make the select method line up with the abstract adapter.

Once these are integrated, I will add the statement cache to the oracle adapter and send you a pull request.

@rsim
Copy link
Owner

rsim commented Oct 26, 2010

If I remember correctly I created this "hack for returning clause" because in AR tests "executed" method was aliased and it was counted how many time "execute" was called. If I will not call "execute" from insert_sql then I will get some failing tests - need to check that (see execute_with_query_record method in test/cases/helper.rb).

Don't remember if there was any other reason :)

@rsim
Copy link
Owner

rsim commented Oct 27, 2010

I merged in your commits and added one small bugfix. Now all AR master branch tests are passing - don't know why I did this hack with instance variable :)

If you need any help with adding statement cache to oracle adapter then let me know.

yahonda added a commit to yahonda/oracle-enhanced that referenced this pull request Nov 3, 2017
`JDBCConnection#exec_with_returning`

Both of them have not called since rsim@5b1198b
Refer rsim#33
yahonda added a commit to yahonda/oracle-enhanced that referenced this pull request Nov 4, 2017
`JDBCConnection#exec_with_returning`

Both of them have not called since rsim@5b1198b
Refer rsim#33
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants