The PRPSQLSTT packet is sent by client to start the processing of a prepared statement.
This packet may contain a number of parameters, the most common are:
MONITOR (int): a set of flags specifying whether this command should be monitored. The following flags can be combined:Â
0x80000000: return server ETIME (this is the most common)
0x40000000: return statement monitoring identifier
0x20000000: return unit of work sequence
RDBNAM (string): the name of the database
The SQL statement is not available in this packet because it has not yet been received.
Prepared statements are treated like all other statements, and can be influenced in a query filter.
context.packet.MONITOR = 0x80000000;