MySQL utils

All MySQL filters have access to the object context.myutils, which provides the following facilities:


ColumnDefinitionPacket createColumnDefinition(String catalog, String schema, String table, String column, int dataType)

Creates a new column definition.


ErrPacket createErrorPacket(int errorCode, String sqlState, String errorMessage)

Creates a new error packet.


EOFPacket createEOFPacket()

Creates a new EOF packet.


MySQLPacket createPacket(String type)

Creates a new, empty packet of the specified type, e.g. "OK" or "ResultsetRow".