-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Testing fix #173
Testing fix #173
Conversation
Testing: Checks the parameter array to ensure the correct number of values inside the parameter with sequential integer indexes. Production: Strips out any non-integer indexes from the parameter array inside the _log_query function.
Fixed regex issue that caused almost all tests to fail.
Updated regex to disregard placeholders within quotes.
Fixed the regex not having backslashes escaped.
Added debug code to see why it's failing.
Added some more debug code.
Changed some debugging code.
Updated preg_match_all parameters.
Remove some empty results from the array before checking.
Is this really an issue. I am not sure in what instance this would be useful. Please could you give some examples. |
This is mainly for testing that the concatenated keys PR gets properly
|
Merged into develop with thanks! |
This fix should validate that all the arrays are integer indexes only which is the only type of indexes PDO accepts when using question mark placeholders in queries, it generates errors otherwise.