Closed stenlarsson closed 9 years ago
Added constants for all error codes.
One final request: put the ErrorCodes
module inside of the Protocol
module.
The Protocol
module is private, so if I do that the error codes will not be visible in the documentation.
Good point. It doesn't look like it's possible to make Yard understand that it should show the constants as public under QueryError
when they are included there while also hiding ErrorCodes
(or even making ErrorCodes
visible when Protocol
is private).
I'll release this as v2.0.5
If an ALTER TABLE is performed the prepared statements are lost. In this case the statement should be prepared again.