diff options
author | Marco Bubke <marco.bubke@qt.io> | 2020-05-12 12:54:18 +0200 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2020-05-12 13:05:57 +0000 |
commit | a4b00a7742bd7f0ecee2d8dc567079440a1e88f0 (patch) | |
tree | 4f4f8e751d482850cdf142ae22f7ab858387c590 /tests/unit/unittest/unittest.pro | |
parent | fded8150218ab3b96b86216f6bfd4a7a50ff8ec0 (diff) |
Sqlite: Add update hook and use it to get the last changed id
Sqlite has a function to get the last inserted rowid but very often you
want to get the updated rowid too.
Change-Id: Ie276a5039682813ad16597433996a2959f54d9ba
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'tests/unit/unittest/unittest.pro')
-rw-r--r-- | tests/unit/unittest/unittest.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/unittest/unittest.pro b/tests/unit/unittest/unittest.pro index 6155cf3212..7340f00775 100644 --- a/tests/unit/unittest/unittest.pro +++ b/tests/unit/unittest/unittest.pro @@ -63,6 +63,7 @@ SOURCES += \ filepathview-test.cpp \ gtest-creator-printing.cpp \ gtest-qt-printing.cpp \ + lastchangedrowid-test.cpp \ lineprefixer-test.cpp \ locatorfilter-test.cpp \ matchingtext-test.cpp \ |