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

InnoDB: Fix compile warning.

parent 099c25e1
...@@ -62,7 +62,7 @@ void ...@@ -62,7 +62,7 @@ void
trx_set_detailed_error( trx_set_detailed_error(
/*===================*/ /*===================*/
trx_t* trx, /* in: transaction struct */ trx_t* trx, /* in: transaction struct */
char* msg); /* in: detailed error message */ const char* msg); /* in: detailed error message */
/***************************************************************** /*****************************************************************
Set detailed error message for the transaction from a file. Note that the Set detailed error message for the transaction from a file. Note that the
file is rewinded before reading from it. */ file is rewinded before reading from it. */
......
...@@ -59,7 +59,7 @@ void ...@@ -59,7 +59,7 @@ void
trx_set_detailed_error( trx_set_detailed_error(
/*===================*/ /*===================*/
trx_t* trx, /* in: transaction struct */ trx_t* trx, /* in: transaction struct */
char* msg) /* in: detailed error message */ const char* msg) /* in: detailed error message */
{ {
ut_strlcpy(trx->detailed_error, msg, sizeof(trx->detailed_error)); 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