Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5ca225ed

Von Christian Ehringfeld vor fast 7 Jahren hinzugefügt

  • ID 5ca225ed434f1c27ac23e0089bbc01bf2204431a
  • Vorgänger 279f967d
  • Nachfolger 7f1090e5

improvement

Unterschiede anzeigen:

src/sqlitebackupprocessor.cpp
const char *zFilename = array.data();
int rc; /* Function return code */
sqlite3 *pFile; /* Database connection opened on zFilename */
sqlite3_backup *pBackup; /* Backup object used to copy data */
sqlite3 *pTo; /* Database to copy to (pFile or pInMemory) */
sqlite3 *pFrom; /* Database to copy from (pFile or pInMemory) */
/* Open the database file identified by zFilename. Exit early if this fails
** for any reason. */
rc = sqlite3_open( zFilename, &pFile );
if ( rc == SQLITE_OK ) {
sqlite3_backup *pBackup; /* Backup object used to copy data */
sqlite3 *pTo; /* Database to copy to (pFile or pInMemory) */
sqlite3 *pFrom; /* Database to copy from (pFile or pInMemory) */
/* If this is a 'load' operation (isSave==0), then data is copied
** from the database file just opened to database pInMemory.
** Otherwise, if this is a 'save' operation (isSave==1), then data

Auch abrufbar als: Unified diff