diff options
Diffstat (limited to 'chromium/sql/connection.h')
-rw-r--r-- | chromium/sql/connection.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/sql/connection.h b/chromium/sql/connection.h index 24f06deaedc..79386064228 100644 --- a/chromium/sql/connection.h +++ b/chromium/sql/connection.h @@ -389,6 +389,11 @@ class SQL_EXPORT Connection { // last sqlite operation. const char* GetErrorMessage() const; + // Return a reproducible representation of the schema equivalent to + // running the following statement at a sqlite3 command-line: + // SELECT type, name, tbl_name, sql FROM sqlite_master ORDER BY 1, 2, 3, 4; + std::string GetSchema() const; + private: // For recovery module. friend class Recovery; |