Has anyone had problems with the latest build of Chromium?  We are
having issues where our insert statements are returning a result of:

SQLResultSet
insertId: 1
rows: SQLResultSetRowList
length: 0
rowsAffected: 1

And Our Select statements are all empty.

Is this a problem with our code or is this an issue with chromium.  I
am on build 25308 and as far as I can tell our SQL statements are
correct.  I can post more if need be.

On Sep 2, 10:49 am, Scott Ferguson <[email protected]> wrote:
> Cool thanks!  It looks like it doesn't work currently out of context
> of the extension, but within the extension's commandline it works
> totally fine.
>
> On Sep 1, 11:39 pm, Marcos Aruj <[email protected]> wrote:
>
>
>
> > this._database =
> >       window.openDatabase("test", "1.0", "test Database",  250 * 1024);
>
> > if (!this._database) {
> >   // TODO: handle error.
>
> > }
>
> > //Arguments is an Array.
>
> > this._database.transaction(function(aTransaction) {
> >   aTransaction.executeSql(aSQLQuery, aSQLArguments, successCallback,
> > errorCallback);
>
> > });
>
> > successCallback : function (aTransaction, aResult) {
> >   var length = aResult.rows.length; //number of rows in result set.
> >   var rowsAffected = aResult.rowsAffected; //rows affected, applies for
> > update, delete statements...
>
> > }
>
> > errorCallback : function(aTransaction, aError) {
> >   var message = aError.message;// error message
>
> > }
>
> > Hope this helps.
>
> > Best regards,
>
> > Marcos
>
> > On Tue, Sep 1, 2009 at 8:40 PM, Scott Ferguson <[email protected]> wrote:
>
> > > Could you provide a quick demonstration of how to useopenDatabase()?
> > > Documentation is sketchy right now, it'd be much appreciated.
>
> > > On Sep 1, 5:00 pm, "Mike H." <[email protected]> wrote:
> > > > i made an ad blocking extension two months ago that uses the database 
> > > > and
> > > > its working fine... i meant to release it but haven't gotten around to
> > > it.
>
> > > > On Tue, Sep 1, 2009 at 4:10 PM, Scott Ferguson <[email protected]>
> > > wrote:
>
> > > > > So I see thatopenDatabase() is an available call but is it working in
> > > > > the latest Chromium builds?  Or maybe I just can't find the
> > > > > appropriate API documentation for it?
>
> > --
> > Marcos Aruj Alvarez
> > Ingeniero de Software
> > -------------------------------
> > [email protected]
> > -----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to