Subject Small bug in PLAN retrieval?
Author Martijn Tonies
Hi all,

I've been looking at the PLAN that IBO returns from the server -
and in IB_Session.pas:

function GetStatementPlanFromHandle( st_hnd: pisc_stmt_handle ): string;
StrLCopy( PChar(Result), @PlanBuffer[4], PlanLen - 1 );

The plan string is copied to the resulting string - but why from
and not PlanBuffer[3] (like in IBExpress). I had a plan that missed a
"(" - and it displayed fine on IBX ... and it messed up the plan parser I'm
using :)


With regards,

Martijn Tonies
InterBase Workbench - the developer tool for InterBase

Firebird Workbench - the developer tool for Firebird

Upscene Productions

"This is an object-oriented system.
If we change anything, the users object."