diff --git a/db/sqlite3/src/sqlite.def b/db/sqlite3/src/sqlite.def index 6d957da2fe70..09ec0a831f40 100644 --- a/db/sqlite3/src/sqlite.def +++ b/db/sqlite3/src/sqlite.def @@ -51,7 +51,6 @@ EXPORTS sqlite3_create_function16 sqlite3_create_module sqlite3_data_count - sqlite3_dbstat_register sqlite3_db_filename sqlite3_db_handle sqlite3_db_mutex diff --git a/storage/mozStorageConnection.cpp b/storage/mozStorageConnection.cpp index f0b5ff750575..e6b9d7d4caf5 100644 --- a/storage/mozStorageConnection.cpp +++ b/storage/mozStorageConnection.cpp @@ -62,10 +62,6 @@ PRLogModuleInfo* gStorageLog = nullptr; #define CHECK_MAINTHREAD_ABUSE() do { /* Nothing */ } while(0) #endif -extern "C" { -int sqlite3_dbstat_register(sqlite3 *db); -} - namespace mozilla { namespace storage { @@ -148,14 +144,7 @@ struct Module }; Module gModules[] = { - { "filesystem", RegisterFileSystemModule }, - { "dbstat", - [](sqlite3* aDatabase, const char* aName) -> int - { - MOZ_ASSERT(!strcmp(aName, "dbstat")); - return sqlite3_dbstat_register(aDatabase); - } - } + { "filesystem", RegisterFileSystemModule } }; ////////////////////////////////////////////////////////////////////////////////