Skip to content

Fix calling Stored Procedure with kwargs #65

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

Closed
wants to merge 1 commit into from
Closed

Fix calling Stored Procedure with kwargs #65

wants to merge 1 commit into from

Conversation

treycucco
Copy link

Fixes issue with calling a StoredProcedure with kwargs. The for loop depended on the variable 'argc' which was not declared. This declares the variable, and updates the handling of current_word in the loop to handle instances where the number of items in kw is less than the number of arguments the stored procedure requires.

…depended on the variable 'argc' which was not declared. This declares the variable, and updates the handling of current_word in the loop to handle instances where the number of items in kw is less than the number of arguments the stored procedure requires.
@jwp
Copy link
Contributor

jwp commented Feb 15, 2013

Wow. Keyword handling was obviously missing some tests. I'll commit this once I get around to testing it.

@jwp
Copy link
Contributor

jwp commented Mar 5, 2013

Speaking of tests, could you add some to your patch?

@treycucco
Copy link
Author

I will. I noticed an issue with my patch, so I'll fix that and write some tests.

@jwp jwp closed this Jan 5, 2014
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.

2 participants