You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation builds temporary strings (unneded allocation) and loses the information on their length by passing -1.
This looks like a simple thing to fix - while also giving the opportunity to add support for non-null-terminated strings such as std::string_view. I propose database_binder::bind_next(T* ptr, int length).
The text was updated successfully, but these errors were encountered:
Right now there is such thing in the implementation:
The implementation builds temporary strings (unneded allocation) and loses the information on their length by passing
-1
.This looks like a simple thing to fix - while also giving the opportunity to add support for non-null-terminated strings such as
std::string_view
. I proposedatabase_binder::bind_next(T* ptr, int length)
.The text was updated successfully, but these errors were encountered: