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:
parent
19312e44c8
commit
cf0293396d
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user