1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

fixed error handling in SET and DO operators (BUG#1484)

This commit is contained in:
bell@laptop.sanja.is.com.ua
2003-10-08 11:19:09 +03:00
parent 9b4018066e
commit 381b680868
4 changed files with 60 additions and 5 deletions

View File

@ -29,6 +29,7 @@ int mysql_do(THD *thd, List<Item> &values)
DBUG_RETURN(-1);
while ((value = li++))
value->val_int();
thd->clear_error(); // DO always is OK
send_ok(thd);
DBUG_RETURN(0);
}