For the first step add autotests for bool KDb::deleteRecords(*)
All to KDbTest.cpp. Cover all typical and corner cases.
Congratulations