33 #include "nsISupports.idl"
49 [scriptable,
uuid(2fbdee94-afa1-4fd3-abec-c87e5c340681)]
72 void dumpDatabase(in AString aDatabaseGUID, in nsIFile aOutFile);
readonly attribute AString localeCollationID
Returns the identifier of the localized collation sequence.
void closeDatabase(in AString aDatabaseGUID)
Shutdown a database.
void releaseMemory()
Release all non-essential memory. Attempt to release all non-essential memory currently held by SQLit...
[USER CODE SHOULD NOT REFERENCE THIS CLASS]
native CDatabaseQueryPtr(CDatabaseQuery)
native stlCStringRef(std::string)
long getCurrentMemoryUsage(in long flag)
Get the current amount of memory in use for a given sqlite3 flag.
PRInt32 SubmitQuery(in CDatabaseQueryPtr aDBQuery)
Submit a query to the database engine for processing.
const long DATABASE_MEMORYUSED
MEMORYUSED: total dynamically alocated memory use.
const long DATABASE_PAGECACHEUSED
attribute boolean localeCollationEnabled
This flag may be set to false to disable locale collation sequences (eg, for consistent unit tests re...
void dumpMemoryStatistics()
Dump memory usage to the console. See components/dbengine/src/sqlite3.c#6625 for details.
void dumpDatabase(in AString aDatabaseGUID, in nsIFile aOutFile)
Dump the contents of a database to file.
const long DATABASE_PAGECACHEOVERFLOW
long getHighWaterMemoryUsage(in long flag)
Get the high water mark memory in use for a given SQLite3 flag.