Please enable JavaScript to view this site.

A-Shell Development History

ASQL / MySQL connector enhancement: version 1.4.140 supports the new opcode SQLOP_DISCONNECT_ALL (24). Syntax:

XCALL SQL, SQLOP_DISCONNECT_ALL, cmdhdr

The cmdhdr argument is required as a formality, but the contents are ignored.

This opcode is mainly for internal use, to support the auto-close feature described above, but might also be useful in an application error handling routine, particularly if using the AF_SQLPERSIST flag.

If SQLOP_DISCONNECT_ALL is passed to a connector that doesn't support the feature, the rc field of the cmdhdr structure will be set to SQLERR_BADOPCODE (9).

Note that the 1.4.140 connector update also fixes a problem parsing the SQLOP_CONNECT connectstring that was causing connection failure for otherwise valid connection parameters due to multiple spaces between the parameters in the string.