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

Prepared Statements #10

Closed
sbuberl opened this issue Mar 23, 2016 · 3 comments
Closed

Prepared Statements #10

sbuberl opened this issue Mar 23, 2016 · 3 comments
Assignees
Milestone

Comments

@sbuberl
Copy link
Owner

sbuberl commented Mar 23, 2016

This are pretty much a requirement nowadays especially for blocking SQL Injection

The old 1.4 branch add prepared statements but no placeholder support.

@sbuberl
Copy link
Owner Author

sbuberl commented Aug 26, 2017

This is blocked by #15 until everything is in Statement classes

@sbuberl sbuberl added this to the 1.4 milestone Aug 28, 2017
@sbuberl
Copy link
Owner Author

sbuberl commented Feb 28, 2019

Started working on these.

sbuberl added a commit that referenced this issue Mar 1, 2019
Fixes prepare tests to use result_metadata()
@sbuberl sbuberl self-assigned this Mar 1, 2019
sbuberl added a commit that referenced this issue Mar 5, 2019
Adds errors
Add NULL support for bind_param
Moves assignment of params so it can handle execute without a bind param
sbuberl added a commit that referenced this issue Mar 7, 2019
Cleaned unnecessary code into prepare test
sbuberl added a commit that referenced this issue Mar 7, 2019
If query fails in execute, copy error from Environment
free_result now nulls the result
More tests
sbuberl added a commit that referenced this issue Mar 10, 2019
sbuberl added a commit that referenced this issue Mar 10, 2019
sbuberl added a commit that referenced this issue Mar 17, 2019
sbuberl added a commit that referenced this issue Apr 20, 2019
sbuberl added a commit that referenced this issue Apr 20, 2019
sbuberl added a commit that referenced this issue May 26, 2019
Adds check to execute to verify it called bind_param if params found
Adds tests
@sbuberl
Copy link
Owner Author

sbuberl commented May 26, 2019

Prepared Statements should be done now.

@sbuberl sbuberl closed this as completed May 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant