On 23/12/15 11:54, Lester Caine wrote: >> However, there are some test fails, which I am not quite sure about. > I'll work through the 5 make test failures later, but suspect it will > just be reply formats.
OK nothing particularly heavy on the failures. Actually it's mainly due to the 'non-real-world' nature of the tests using combinations of connections one should never use in practice. It is not normal practice to create and delete new databases from any application when using Firebird. One would normally be working with data stored long term, so some of the problems are due to trying to delete a database that is still being created asynchronously. The ibtest.php script works with one of the existing demo databases so only relies on a stable link. That said, I think there is a leak of some sort, or rather not clearing down properly which is the error in both 004.phpt and 005.phpt Both give an 'invalid statement handle' which did not make sense initially since the same ibase_query() had been run before and after without an error. The problem is where the same variable is used a second time, after the first use has been cleared down. For example ... 004.phpt line 31 creates $q ... Line 60 reuses it without a problem, but line 102 creates the 'invalid statement handle' warning. Changing that handle from $q to $r moves the warning to line 112 which I've changed to $s and the test now runs clean. ( line numbers for .php copy of test) OK ... cross checking that it would seem that the problem is with ibase_free_result() which I think should actually free the statement handle? If I try an unset() before the next use, it's the unset which gets the warning, then the actual query runs clean. Any pointers where I should dig next? Will dig into the actual code now I know where to start ... I think. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php