Disable database cleanup code until more investigation is done
@@ -125,9 +125,9 @@ void DeRestPluginPrivate::cleanUpDb()
" AND type = 'ZHAPresence'",
// delete duplicates in device_descriptors
- "DELETE FROM device_descriptors WHERE rowid NOT IN"
- " (SELECT max(rowid) FROM device_descriptors GROUP BY device_id,type,endpoint)",
- nullptr
+ //"DELETE FROM device_descriptors WHERE rowid NOT IN"
+ //" (SELECT max(rowid) FROM device_descriptors GROUP BY device_id,type,endpoint)",
+ //nullptr
};
for (int i = 0; sql[i] != nullptr; i++)
