drivers added optional access check

This commit is contained in:
silverqx
2024-08-10 11:58:06 +02:00
parent ff360f5ef9
commit e2ce873715

View File

@@ -89,7 +89,7 @@ namespace Orm::Drivers::Support
statement like: return cache.put(SqlRecord &). In this case the given SqlRecord
must have the same memory address as the current cached SqlRecord.
Used with: populateFieldDefaultValues(d->recordCache.get()) */
Q_ASSERT(std::addressof(record) == std::addressof(*cache));
Q_ASSERT(cache && std::addressof(record) == std::addressof(*cache));
hasDefaultValues = defaultValues;