1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

Fixed error handling bug

sql/sql_class.h:
  new function for clean out error message
This commit is contained in:
unknown
2002-11-04 00:56:25 +02:00
parent 4358ac0c9f
commit a4e64e252d
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;
}
};
/*