ErrorCode returns the error code resulting from executing the query. See https://dev.mysql.com/doc/refman/5.5/en/error-messages-server.html for additional details.
()
| 117 | // See https://dev.mysql.com/doc/refman/5.5/en/error-messages-server.html |
| 118 | // for additional details. |
| 119 | func (e *QueryEvent) ErrorCode() mysql_proto.ErrorCode_Type { |
| 120 | return e.errorCode |
| 121 | } |
| 122 | |
| 123 | // StatusBytes returns the uninterpreted status block as bytes. |
| 124 | func (e *QueryEvent) StatusBytes() []byte { |
no outgoing calls