summaryrefslogtreecommitdiff
path: root/innobase/include/trx0trx.h
diff options
context:
space:
mode:
authorheikki@donna.mysql.fi <>2001-03-06 19:45:10 +0200
committerheikki@donna.mysql.fi <>2001-03-06 19:45:10 +0200
commit0ba8d3efd2bd78a2726ad9de98a46ebe035cd95a (patch)
tree8379d144f3d45e35f34cbed179ce3e5d5c26c30a /innobase/include/trx0trx.h
parent853a2f01604b17b4611778d89bf178ccee3901c3 (diff)
downloadmariadb-git-0ba8d3efd2bd78a2726ad9de98a46ebe035cd95a.tar.gz
trx0trx.h Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
row0ins.c Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs row0mysql.c Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs row0mysql.h Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs ha_innobase.cc Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
Diffstat (limited to 'innobase/include/trx0trx.h')
-rw-r--r--innobase/include/trx0trx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/innobase/include/trx0trx.h b/innobase/include/trx0trx.h
index e2a1b4435e7..b74dea2319e 100644
--- a/innobase/include/trx0trx.h
+++ b/innobase/include/trx0trx.h
@@ -307,6 +307,9 @@ struct trx_struct{
/*------------------------------*/
ulint error_state; /* 0 if no error, otherwise error
number */
+ void* error_info; /* if the error number indicates a
+ duplicate key error, a pointer to
+ the problematic index is stored here */
sess_t* sess; /* session of the trx, NULL if none */
ulint que_state; /* TRX_QUE_RUNNING, TRX_QUE_LOCK_WAIT,
... */