Skip to content
Merged
Changes from 2 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
2 changes: 1 addition & 1 deletion mssql_python/pybind/connection/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ SQLRETURN Connection::setAttribute(SQLINTEGER attribute, py::object value) {
LOG("Setting SQL attribute");
SQLPOINTER ptr = nullptr;
SQLINTEGER length = 0;
std::string buffer; // to hold sensitive data temporarily
static std::string buffer; // to hold sensitive data temporarily

if (py::isinstance<py::int_>(value)) {
int intValue = value.cast<int>();
Expand Down
Loading