mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Small improvement to alloc_root
Add support for LIMIT # OFFSET # Changed lock handling: Now all locks should be stored in TABLE_LIST instead of passed to functions. Don't call query_cache_invalidate() twice in some cases mysql_change_user() now clears states to be equal to close + connect. Fixed a bug with multi-table-update and multi-table-delete when used with LOCK TABLES Fixed a bug with replicate-do and UPDATE
This commit is contained in:
@ -1663,6 +1663,17 @@ extern "C" int my_message_sql(uint error, const char *str,
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Forget last error message (if we got one)
|
||||
*/
|
||||
|
||||
void clear_error_message(THD *thd)
|
||||
{
|
||||
thd->net.last_error[0]= 0;
|
||||
}
|
||||
|
||||
|
||||
#ifdef __WIN__
|
||||
|
||||
struct utsname
|
||||
|
Reference in New Issue
Block a user