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

Merge osalerma@bk-internal.mysql.com:/home/bk/mysql-5.0

into  127.(none):/home/osku/mysql/5.0/clean
parents cef2b507 6f89e1ce
...@@ -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