[ic] [interchange] Rely on DBI to provide quoting when necessary, prevent problems

David Christensen david at endpoint.com
Fri Feb 4 05:22:55 UTC 2011


On Feb 3, 2011, at 9:31 PM, Mike Heins wrote:

> Quoting David Christensen (david at endpoint.com):
>>> +	$key = $s->[$WDBI]->quote($key, $s->[$KEY]);
>> 
>> 
>> Mike,
>> 
>> Did you mean $DBI instead of $WDBI?
> 
> No, I was duplicating the same handle used by the previous code.
> 
> In fact, I would think the second one should be $WDBI, and I will
> correct that, as I believe it is a bug for it to be $DBI. You caught
> that with your question, thank you. 8-)


I'm confused, then; this looks like the only instance of $WDBI in the entire codebase.  Where is this defined, otherwise?

Regards,

David
--
David Christensen
End Point Corporation
david at endpoint.com







More information about the interchange-users mailing list