Bug#20159 Inconsistant generation of generic error messages
- Use hardcoded error message instead of ER_GET_ERRNO sql/sql_udf.cc: Use hardcoded error message "Got unknown error: %d" instead of system error message "Got error %d from storage engine" as the "storage engine" has nothing to do with this.
This commit is contained in:
parent
83063c5034
commit
6c4102cee2
@ -237,7 +237,7 @@ void udf_init()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (error > 0)
|
if (error > 0)
|
||||||
sql_print_error(ER(ER_GET_ERRNO), my_errno);
|
sql_print_error("Got unknown error: %d", my_errno);
|
||||||
end_read_record(&read_record_info);
|
end_read_record(&read_record_info);
|
||||||
new_thd->version--; // Force close to free memory
|
new_thd->version--; // Force close to free memory
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user