Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Possible Interface Change in storage

0 views
Skip to first unread message

Shawn Wilsher

unread,
Oct 10, 2008, 8:28:25 PM10/10/08
to
Hey all,

Over in bug 458811 [1], I'm looking at adding a method to
mozIStorageConnection. This allows for the execution of multiple
storage statements to be executed asynchronously, in the order they are
given. This complements mozIStorageStatement::executeAsync that was
added earlier in July.

I just want to make sure there are no complaints on doing this like we
are supposed to for interface changes in 1.9.1.

Cheers,

Shawn

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=458811

Arivald

unread,
Oct 13, 2008, 4:07:14 AM10/13/08
to
Shawn Wilsher pisze:

I am not very familiar with storage API, but you give SQL string to
execute, right? Then you may just append many statements, one after
another, separated by semi-colons.
I personally use this technique with ODBC, to execute long and
complicated statements, even if they contain conditional parts (For
example I check column exists before altering table, all in one statement).

But if you want many/every statement to return something, Then of course
this method will not work.

--
Arivald

0 new messages