Skip to content

Commit

Permalink
drivers mysql added Q_ASSERT()
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Jul 24, 2024
1 parent abc9902 commit a1ce7bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mysql/src/orm/drivers/mysql/mysqlresult_p.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ bool MySqlResultPrivate::bindResultValues()
in mysql_stmt_bind_result() -> setup_one_fetch_function(), these assert-s
of course kick-in in Debug builds only. */
resultBind.buffer_length = field.fieldValueSize = fieldInfo->length;
Q_ASSERT(resultBind.buffer_length);
hasBlobs = true;
}
else if (MySqlUtils::isTimeOrDate(fieldInfo->type))
Expand Down

0 comments on commit a1ce7bb

Please sign in to comment.