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

Mike Heins mike at perusion.com
Fri Feb 4 05:56:31 UTC 2011

Quoting David Christensen (david at endpoint.com):
> 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?

You are correct. I was working off of a branch. I knew git was going
to get me... 8-). I will get better at it as I finally start to use

$WDBI is a change I have in a branch. It allows a separate write handle
so that you can operate a the catalog off of a slave while making any
updates to a separate write handle.

Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.328.4479  <mike at perusion.com>

"It is a remarkable fact that despite the worldwide expenditure of perhaps
US$50 billion since 1990, and the efforts of tens of thousands of scientists
worldwide, no human climate signal has yet been detected that is distinct
from natural variation." - Bob Carter

More information about the interchange-users mailing list