1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-15 22:57:12 +02:00

Remove the SQLite methods that could be used to copy the database to and from memory because it they could crash easilly and didn't make much sense.

This commit is contained in:
Sandu Liviu Catalin
2016-03-23 08:24:14 +02:00
parent 41f5cfe663
commit 9657905586
3 changed files with 0 additions and 171 deletions

View File

@ -445,16 +445,6 @@ public:
sqlite3_db_release_memory(m_Handle);
}
/* --------------------------------------------------------------------------------------------
* Move the whole database into memory.
*/
Connection CopyToMemory();
/* --------------------------------------------------------------------------------------------
* Takes a snapshot of a database which is located in memory and saves it to a database file.
*/
void CopyToDatabase(const Connection & db);
/* --------------------------------------------------------------------------------------------
* Returns internal runtime status information associated with the current database connection.
*/
@ -584,21 +574,6 @@ protected:
* Callback function for ActivateProfiling()
*/
static void ProfileOutput(void * ptr, const char * sql, sqlite3_uint64 time);
/* --------------------------------------------------------------------------------------------
* Build and modify the structure of tables and other objects in the memory database.
*/
static int ProcessDDLRow(void * db, int columns_count, char ** values, char ** columns);
/* --------------------------------------------------------------------------------------------
* Insert all data from the origin database into the memory database.
*/
static int ProcessDMLRow(void * db, int columns_count, char ** values, char ** columns);
/* --------------------------------------------------------------------------------------------
* Takes and saves a snapshot of the memory database in a file.
*/
void TakeSnapshot(const ConnHnd & destination);
};
} // Namespace:: SqMod