MCPcopy Create free account
hub / github.com/colmap/colmap / PreMigrateTables

Method PreMigrateTables

src/colmap/scene/database_sqlite.cc:2068–2076  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2066 }
2067
2068 void PreMigrateTables() {
2069 if (ExistsColumn("pose_priors", "image_id")) {
2070 // To be migrated and dropped in PostMigrateTables() after creating the
2071 // new table in CreateTables().
2072 SQLITE3_EXEC(database_,
2073 "ALTER TABLE pose_priors RENAME TO pose_priors_old;",
2074 nullptr);
2075 }
2076 }
2077
2078 void PostMigrateTables() {
2079 auto maybe_add_two_view_geometries_blob_column =

Callers 1

OpenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected