| 2006 | } |
| 2007 | |
| 2008 | void CreateKeypointsTable() const { |
| 2009 | const std::string sql = |
| 2010 | "CREATE TABLE IF NOT EXISTS keypoints" |
| 2011 | " (image_id INTEGER PRIMARY KEY NOT NULL," |
| 2012 | " rows INTEGER NOT NULL," |
| 2013 | " cols INTEGER NOT NULL," |
| 2014 | " data BLOB," |
| 2015 | " FOREIGN KEY(image_id) REFERENCES images(image_id) ON DELETE " |
| 2016 | "CASCADE);"; |
| 2017 | |
| 2018 | SQLITE3_EXEC(database_, sql.c_str(), nullptr); |
| 2019 | } |
| 2020 | |
| 2021 | void CreateDescriptorsTable() const { |
| 2022 | const std::string sql = |
nothing calls this directly
no outgoing calls
no test coverage detected