mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Fix project backup
I broke this in the development version by changing the return type of FastMode to return an Sqlite return code.
This commit is contained in:
@@ -879,7 +879,7 @@ bool ProjectFileIO::CopyTo(const FilePath &destpath,
|
||||
//
|
||||
// NOTE: Between the above attach and setting the mode here, a normal DELETE
|
||||
// mode journal will be used and will briefly appear in the filesystem.
|
||||
if (!pConn->FastMode("outbound"))
|
||||
if ( pConn->FastMode("outbound") != SQLITE_OK)
|
||||
{
|
||||
SetDBError(
|
||||
XO("Unable to switch to fast journaling mode")
|
||||
|
||||
Reference in New Issue
Block a user