We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8a2e26 commit 32ed591Copy full SHA for 32ed591
src/odbc_result.cpp
@@ -402,7 +402,7 @@ void odbc_result::bind_datetime(
402
param_data& buffers) {
403
404
buffers.nulls_[column] = std::vector<uint8_t>(size, false);
405
- auto d = (SourceType*)DATAPTR(data[column]);
+ auto d = (SourceType*)DATAPTR_RO(data[column]);
406
407
nanodbc::timestamp ts;
408
short precision = 3;
@@ -443,7 +443,7 @@ void odbc_result::bind_date(
443
444
445
446
447
448
nanodbc::date dt;
449
for (size_t i = 0; i < size; ++i) {
0 commit comments