Skip to content

Commit

Permalink
add query_s delete_records_s
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacyking committed Feb 20, 2024
1 parent f7f5e23 commit 6178aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ormpp/mysql.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ class mysql {
if constexpr (sizeof...(Args) > 0) {
size_t index = 0;
std::vector<MYSQL_BIND> param_binds;
(set_param_bind(param_binds, args), 0)...);
(set_param_bind(param_binds, args), ...);
if (mysql_stmt_bind_param(stmt_, &param_binds[0])) {
set_last_error(mysql_stmt_error(stmt_));
return false;
Expand Down

0 comments on commit 6178aea

Please sign in to comment.