1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fixed error handling bug

This commit is contained in:
bell@sanja.is.com.ua
2002-11-04 00:56:25 +02:00
parent e65fd5d574
commit c94b39134f
6 changed files with 16 additions and 13 deletions

View File

@ -625,6 +625,12 @@ public:
void add_changed_table(const char *key, long key_length);
CHANGED_TABLE_LIST * changed_table_dup(const char *key, long key_length);
int send_explain_fields(select_result *result);
inline void clear_error()
{
net.last_error[0]= 0;
net.last_errno= 0;
net.report_error= 0;
}
};
/*