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

Add column type info checking tests #277

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions driver/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ function (declare_odbc_test_targets libname UNICODE)
misc_it.cpp
statement_parameters_it.cpp
performance_it.cpp
types_it.cpp
)

target_link_libraries (${libname}-client-it
Expand Down
4 changes: 2 additions & 2 deletions driver/test/statement_parameters_it.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ class ParameterColumnRoundTrip
throw std::runtime_error("SQLFetch return code: " + std::to_string(rc));

T col;
value_manip::to_default(col);
value_manip::to_null(col);

SQLLEN col_ind = 0;

Expand Down Expand Up @@ -476,7 +476,7 @@ class ParameterColumnRoundTrip
throw std::runtime_error("SQLFetch return code: " + std::to_string(rc));

T col;
value_manip::to_default(col);
value_manip::to_null(col);

SQLLEN col_ind = 0;

Expand Down
Loading