fkey field is not set for primary keys.
Caused no problems because it just didn't reserve space. So the only side effect was slightly reduced performance.
This commit is contained in:
parent
6c76c70a97
commit
266e479344
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ const CrudModel::ModifiedRow* CrudModel::getModifiedRow(int row) const
|
|||
CrudModel::PKeyValues CrudModel::getPKeyForRow(int row) const
|
||||
{
|
||||
PKeyValues values;
|
||||
values.reserve(m_primaryKey->fkey.size());
|
||||
values.reserve(m_primaryKey->key.size());
|
||||
|
||||
auto mod_row = getModifiedRow(row);
|
||||
if (mod_row){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue