-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store db schema version and ROS_DISTRO name in db3 files (#1156)
* Add new tables for `schema` and `metadata` Signed-off-by: Michael Orlov <[email protected]> * Add `SqliteWrapper::table_exists(table_name)` Signed-off-by: Michael Orlov <[email protected]> * Add `get_db_schema_versio()` and `get_recorded_ros_distro()` Signed-off-by: Michael Orlov <[email protected]> * Add unit tests for checking new and old db schema versions Added following unit tests: - `get_db_schema_version_returns_correct_value` - `get_recorded_ros_distro_returns_correct_value` - `check_backward_compatibility_with_schema_version_2` Signed-off-by: Michael Orlov <[email protected]> Signed-off-by: Michael Orlov <[email protected]> (cherry picked from commit 9498426) # Conflicts: # rosbag2_storage_default_plugins/include/rosbag2_storage_default_plugins/sqlite/sqlite_storage.hpp # rosbag2_storage_default_plugins/src/rosbag2_storage_default_plugins/sqlite/sqlite_storage.cpp
- Loading branch information
1 parent
deaed25
commit a272433
Showing
7 changed files
with
194 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters