Commit 6f89e1ce authored by osku@127.(none)'s avatar osku@127.(none)

InnoDB: Fix compile warning.

parent 099c25e1
Branches unavailable
Tags unavailable
No related merge requests found
......@@ -61,8 +61,8 @@ Set detailed error message for the transaction. */
void
trx_set_detailed_error(
/*===================*/
trx_t* trx, /* in: transaction struct */
char* msg); /* in: detailed error message */
trx_t* trx, /* in: transaction struct */
const char* msg); /* in: detailed error message */
/*****************************************************************
Set detailed error message for the transaction from a file. Note that the
file is rewinded before reading from it. */
......
......@@ -58,8 +58,8 @@ Set detailed error message for the transaction. */
void
trx_set_detailed_error(
/*===================*/
trx_t* trx, /* in: transaction struct */
char* msg) /* in: detailed error message */
trx_t* trx, /* in: transaction struct */
const char* msg) /* in: detailed error message */
{
ut_strlcpy(trx->detailed_error, msg, sizeof(trx->detailed_error));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment