forked from qt-creator/qt-creator
UnitTests: Fix LastChangedRowId
Change-Id: I538d068168488eee2662618dede598135c45e396 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -40,7 +40,7 @@ public:
|
||||
: database(database)
|
||||
|
||||
{
|
||||
callback = [=](ChangeType, char const *database, char const *table, long long rowId) {
|
||||
callback = [=](ChangeType, char const *, char const *, long long rowId) {
|
||||
this->lastRowId = rowId;
|
||||
};
|
||||
|
||||
@@ -51,7 +51,7 @@ public:
|
||||
: database(database)
|
||||
|
||||
{
|
||||
callback = [=](ChangeType, char const *database, char const *table, long long rowId) {
|
||||
callback = [=](ChangeType, char const *database, char const *, long long rowId) {
|
||||
if (databaseName == database)
|
||||
this->lastRowId = rowId;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user