-
Notifications
You must be signed in to change notification settings - Fork 373
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
adjust sql_data_type and column_size for NULL parameters #1311
Conversation
with a very specific limited scope.
Codecov Report
@@ Coverage Diff @@
## dev #1311 +/- ##
=======================================
Coverage 83.41% 83.42%
=======================================
Files 22 22
Lines 7822 7824 +2
=======================================
+ Hits 6525 6527 +2
Misses 1297 1297 |
Please make changes to the method sqlsrv_param::process_null_param() instead (line 2146), because that is for input parameters:
|
@gjcarrette any update? Would you want me to make the suggested changes? |
Yes, that makes sense, because the SQLRelay source file odbc.cpp that I mentioned in the issue also uses SQL_C_BINARY for both binary or non-binary T-SQL NULL. So one thing we didn't do here is make a phpt file, a test case, that fails with the old code but passes with the new code. |
Thanks @gjcarrette this looks good. |
Hello @yitam, I'm reaching out from Wayfair's Open Source Program Office. We're holding a company-wide Hacktoberfest event, and were hoping to recognize @gjcarrette's contribution here as part of the festivities. In order to receive full credit for Hacktoberfest, accepted PRs must include a |
Done @lelia |
Fantastic. Thanks again @yitam ! |
This is a proposed fix for #1310