summaryrefslogtreecommitdiff
path: root/innobase/include
diff options
context:
space:
mode:
authorunknown <osku@127.(none)>2005-09-27 09:42:41 +0300
committerunknown <osku@127.(none)>2005-09-27 09:42:41 +0300
commitbb292ca1399869d6e65900d385627d03988ab7b2 (patch)
treec15a7ea8996578430e837717dba35f82527f8be4 /innobase/include
parent6f126ba4d0964304937f5a26d7e33c56933fe42b (diff)
downloadmariadb-git-bb292ca1399869d6e65900d385627d03988ab7b2.tar.gz
InnoDB: Fix compile warning.
innobase/include/trx0trx.h: Change trx_set_detailed_error's second argument to const char*. innobase/trx/trx0trx.c: Change trx_set_detailed_error's second argument to const char*.
Diffstat (limited to 'innobase/include')
-rw-r--r--innobase/include/trx0trx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/innobase/include/trx0trx.h b/innobase/include/trx0trx.h
index 964491f747b..0dc82893ad1 100644
--- a/innobase/include/trx0trx.h
+++ b/innobase/include/trx0trx.h
@@ -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. */