drivers mysql added Q_ASSERT()

This commit is contained in:
silverqx
2024-07-24 19:41:03 +02:00
parent abc9902878
commit a1ce7bb31a

View File

@@ -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))