From a9c32293404dfa5daafe69f1c2b6745825eff5a5 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 6 Apr 2001 20:37:31 +0300 Subject: univ.i Prevent inlining of functions on HP-UX because GCC is broken there configure.in Prevent inlining of functions on HP-UX because GCC is broken there trx0trx.h Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t trx0trx.c Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t ha_innobase.cc Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t sql/ha_innobase.cc: Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t innobase/trx/trx0trx.c: Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t innobase/include/trx0trx.h: Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t innobase/configure.in: Prevent inlining of functions on HP-UX because GCC is broken there innobase/include/univ.i: Prevent inlining of functions on HP-UX because GCC is broken there BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted --- innobase/trx/trx0trx.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'innobase/trx/trx0trx.c') diff --git a/innobase/trx/trx0trx.c b/innobase/trx/trx0trx.c index 4676606d4de..b365341d3b8 100644 --- a/innobase/trx/trx0trx.c +++ b/innobase/trx/trx0trx.c @@ -30,6 +30,17 @@ sess_t* trx_dummy_sess = NULL; the kernel mutex */ ulint trx_n_mysql_transactions = 0; +/******************************************************************** +Retrieves the error_info field from a trx. */ + +void* +trx_get_error_info( +/*===============*/ + /* out: the error info */ + trx_t* trx) /* in: trx object */ +{ + return(trx->error_info); +} /******************************************************************** Creates and initializes a transaction object. */ -- cgit v1.2.1