On Thu, 9 Nov 2006, Darren Chamberlain wrote:

> On 11/9/06, Jess Robinson <[EMAIL PROTECTED]> wrote:
>> ***************
>> *** 264,268 ****
>>       $create .= ";\n\n";
>>
>> !     return $create;
>>   }
>>
>> --- 266,270 ----
>>       $create .= ";\n\n";
>>
>> !     return $drop ? ($drop,$create) : $create;
>>   }
>
> This changes what comes back if create_table is called in non-scalar
> context, which is a potential bug.  Shouldn't the change account for
> that?
>


Hi Darren,

Not quite sure what you mean there? It should probably check wantarray 
there, true.. otherwise, my aim is in general to have all the producers 
return a list of statements in list context, and the usual 
scalar-with-everything otherwise.. iirc this hasnt broken any existing 
tests.

Jess


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-- 
sqlfairy-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlfairy-developers

Reply via email to