Hello,
I don't understand why db.open('aaa_xxx_gears'); actually opens/creates a db
called aaa_xxx_gears#database[1]. I thought it was because 'aaa_xxx_gears'
already existed, but I have deleted that and gears(?) still creates a db
called aaa_xxx_gears#database[1]. Why does this happen?
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.

Reply via email to