Hi, I am closing the db after each worker has done the insert. I have RazorSQl for checking the db and the database is empty, devoid of any tables and I haven't dropped them or the db. This is happening continually. What would cause corruption regularly? Thanks, meerkat
> -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of Srikanth > Sent: Tuesday, February 24, 2009 9:49 AM > To: Gears Users > Subject: [gears-users] Re: Database opening > > > Check if the DB got corrupted. You coud use sqlite command utility. > > BTW when you call db.open multiple times with out closing, you would > get error message stating the db is already opened. > > Srikanth > > On Feb 24, 5:23 am, meerkat <[email protected]> wrote: > > Hello, > > > > I have a script that opens a database and loads data. I am using > > db.open('aaa_xxx_gears'); However, when I run the script again db.open > > ('aaa_xxx_gears') is actually creating a database called > > aaa_xxx_gears#database[1]. I notice this when I go to do a SELECT on > > 'aaa_xxx_gears' and there is no data there. > > > > What am I missing in the database opening rules? > > meerkat.
