Core/DataStores: Warning fixes for .db2