New topic: 

Sandboxing SQLite database possible corruption :(

<http://forums.realsoftware.com/viewtopic.php?t=46190>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        HardyMachia          Post subject: Sandboxing SQLite database 
possible corruption :(Posted: Mon Dec 10, 2012 10:27 am                         
Joined: Mon Dec 11, 2006 12:25 pm
Posts: 55                Is this the best advice for dealing with databases 
with the new OS X sandboxing?

Quote:For read-write databases, you can use "PRAGMA journal_mode = MEMORY;" 
instead. The journal files will be created in memory. However, be aware that 
the database will probably get corrupted in case of power outage. 
 - from http://support.realsoftware.com/listarc ... 00635.html
 
Seems like corruption is a pretty poor tradeoff.      
_________________
http://www.catamount.com 
PocketMoney for iOS, OSX, Linux, Windows, and Android  
                             Top                HardyMachia          Post 
subject: Re: Sandboxing SQLite database possible corruption :(Posted: Mon Dec 
10, 2012 1:46 pm                         
Joined: Mon Dec 11, 2006 12:25 pm
Posts: 55                So Apple says the above is a bad solution.

If you have access to developer forums...
https://devforums.apple.com/thread/1130 ... 0&tstart=0

They want you to user file (document) wrapper (NSDocument).      
_________________
http://www.catamount.com 
PocketMoney for iOS, OSX, Linux, Windows, and Android  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to