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

Bug#20159 Inconsistant generation of generic error messages

- Use hardcoded error message instead of ER_GET_ERRNO
This commit is contained in:
msvensson@neptunus.(none)
2006-06-07 14:07:11 +02:00
parent 076ddbf840
commit 2e0cad5404

View File

@ -237,7 +237,7 @@ void udf_init()
}
}
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);
new_thd->version--; // Force close to free memory