1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 16:39:30 +02: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:
James Crook 2021-04-30 09:07:20 +01:00
parent 19312e44c8
commit cf0293396d

View File

@ -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")