mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 12:18:01 +01:00
Add SQLite Notifier table name getter (#1691)
* Add table name in SQLite Notifier * Converted spaces to tabs to conform to Poco coding style * One more spaces to tab change * Added table compare to Notifier equality operator * Returning const ref instead of string copy in Notifier getTable
This commit is contained in:
committed by
Aleksandar Fabijanic
parent
61f0bb2c2b
commit
3bacb6696f
@@ -2886,6 +2886,8 @@ void SQLiteTest::testNotifier()
|
||||
assert (_updateCounter == 3);
|
||||
assert (notifier.getRow() == 3);
|
||||
|
||||
assert (notifier.getTable() == "Person");
|
||||
|
||||
notifier.setRow(0);
|
||||
// SQLite optimizes DELETE so here we must have
|
||||
// the WHERE clause to trigger per-row notifications
|
||||
|
||||
Reference in New Issue
Block a user