#56 Database improvements

병합
carlos.garcia stefan.schmidt/db_versioning 에서 SPIN/master 로 3 commits 를 머지했습니다 6 년 전
Stefan Schmidt 코멘트됨, 6 년 전

This adds two improvements to the statistics database.

  • Code was added to use SQLite's user_version field to specify database versions. When the database is outdated, ID2T automatically regenerates the database. This depends on the developers manually changing DB_VERSION in statistics_db.h whenever the structure of the database or the meaning of fields in the database changes.
  • I added a byteCount field to ip_protocol and ip_ports. I implemented it like issue #7 suggested, so the fields contain the number of bytes instead of kbytes like ip_statistics. Let me know if you'd prefer kbytes.
This adds two improvements to the statistics database. * Code was added to use SQLite's user_version field to specify database versions. When the database is outdated, ID2T automatically regenerates the database. This depends on the developers manually changing **DB_VERSION** in statistics_db.h whenever the structure of the database or the meaning of fields in the database changes. * I added a byteCount field to ip_protocol and ip_ports. I implemented it like issue #7 suggested, so the fields contain the number of bytes instead of kbytes like ip_statistics. Let me know if you'd prefer kbytes.
Carlos Garcia 코멘트됨, 6 년 전
소유자

This is a great change. Could you please add this information to the WIKI as well?

This is a great change. Could you please add this information to the WIKI as well?
이 풀리퀘스트가 성공적으로 머지되었습니다!
로그인하여 이 대화에 참여
레이블 없음
Bug
마일스톤 없음
담당자 없음
참여자 2명
로딩중...
취소
저장
아직 콘텐츠가 없습니다.