Create a mechanism to retrieve information about the last execute error
Create a mechanism to retrieve information about the last execute error

Stores error information into an associative array (one for each
connection) which can be retrieved only once before it is set to NULL.

Milantex/limitless-bayou-2996