On Fri, Oct 10, 2003 at 03:04:46PM +0200, Steffen Goeldner wrote:
> Tim Bunce wrote:
> >
> > On Wed, Oct 08, 2003 at 09:23:25AM +0200, Steffen Goeldner wrote:
> > > What's the expected output of the attached script?
> >
> > Something hopefully useful. That's about all that's guaranteed.
> >
> > Why do you ask?
>
> As my replies show, something changed between 1.35 and 1.36:
> traces with trace level < 8 disappeared (unexpectedly).
Ah, I follow you now.
> I compared both releases, but lost the trail in dbi.xs - one
> idea was that it has something to do with the trace_msg signature:
>
> trace_msg => { ..., T=>8 }
Yes, it's a bug. Try this:
--- DBI.xs 2003/08/21 22:34:45 11.32
+++ DBI.xs 2003/10/10 15:23:34
@@ -2354,10 +2354,10 @@
if (debug) {
SAVEI32(DBIS->debug); /* fall back to orig value later */
+ DBIS->debug = debug; /* make value global (for now) */
if (ima && debug < ima->trace_level) {
debug = 0; /* silence dispatch log for this method */
}
- DBIS->debug = debug; /* make value global (for now) */
}
imp_msv = (SV*)gv_fetchmethod(DBIc_IMP_STASH(imp_xxh), meth_name);
Tim.