Subject Re: [firebird-support] internal gds software consistency check
Author Ann W. Harrison
Markus Ostenried wrote:
> Hi all,
> internal gds software consistency check (invalid SEND request (167))
> The error occurs in a piece of code that RECREATEs a statistics
> stored proc and then tries to select from it.

Did you commit between the RECREATE and the select? The error indicates
that a lack of synchronization between the compiled procedure and the
code that communicates with it. That's entirely possible with an
uncommitted change to a procedure. It happens on the second select
because some part of the system context was left hanging during the
first select.