Any way to stop copying sqldb to Document folder?

Ask questions and share your skills here

Any way to stop copying sqldb to Document folder?

Postby FitoDotNET » Wed Jul 28, 2010 5:12 am

is there a way?, because my DB it's 25MB so it's take too long to copying even crushing the app.
I don't need to modify the data, it's a read-only db.
FitoDotNET
 
Posts: 7
Joined: Fri Jun 18, 2010 7:13 am

Re: Any way to stop copying sqldb to Document folder?

Postby Big-O » Thu Jul 29, 2010 7:34 am

That should only happen on the first launch, right? If you're having a big lag like that every time you launch, you might have a different problem.
I am a small and fragile flower.

-- Big-O
User avatar
Big-O
NimbleKit Expert
 
Posts: 310
Joined: Thu Sep 24, 2009 4:02 am

Re: Any way to stop copying sqldb to Document folder?

Postby sunny » Thu Jul 29, 2010 8:44 am

if you open database with rewrite parameter set to "yes" then it will copy the database every time.
User avatar
sunny
Staff
 
Posts: 1786
Joined: Sat May 30, 2009 5:18 am
Location: kiev, Ukraine


Return to How To...

Who is online

Users browsing this forum: Google [Bot] and 1 guest