Re: Are there Sql backends that return an array from big_query()?

"H. William Welliver III" <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
Will there be compatibility glue for those who’ve worked with the current system? I know of a more than a few cases that would be affected by this change… (such as direct access to master_sql, etc).

Would this change be committed to 8.0 or 8.1?

Bill

> On Oct 30, 2014, at 10:36 AM, Stephen R. van den Berg <[email protected]> wrote:
> 
> Henrik Grubbstr?m wrote:
>>> I'm toying with something like this:
> 
>>> Instantiate the .pike programs in the Sql.pmod directory using:
>> [...]
>>> As before, this to make sure that we have a driver.
> 
>>> Then, instead of using the compiled program find_dbm returns, we do
>>> something along the lines of:
> 
>>> program realclass =
>>> compile_string("inherit Sql.SQL;inherit Sql."+program_name+";");
> 
>> I don't see a reason not to have the providers inherit the base API
>> directly, now that it is reasonably easy to inherit Pike-code from
>> modules written in C (cf Nettle and __builtin.Nettle).
> 
> Erm, yes, KISS.  All the Sql.pmod/*.pike files could simply be
> made to inherit the Sql.SQL class.  This is possible at the pike
> level (obviously).  Well, that makes the change rather trivial.
> In fact so trivial that it almost seems like I must be overlooking
> something; we could have done this 10 years ago.
> -- 
> Stephen.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.