[ library(mysql) | ]

sql_lastmsg(?ReturnCode, ?ReturnString, ?RowsProcessed)

Get the status of the last MySQL operation
ReturnCode
Variable or integer
ReturnString
Variable or string
RowsProcessed
Variable or integer

Description

This predicate unifies the three paramenters with the status of the last operation performed by MySQL. Please refer to the MySQL documentation for the meaning of the return codes. If the last operation selected or modified any tuples, RowsProcessed indocates how many (0 otherwise).

See Also