diff options
author | unknown <heikki@donna.mysql.fi> | 2001-03-06 19:45:10 +0200 |
---|---|---|
committer | unknown <heikki@donna.mysql.fi> | 2001-03-06 19:45:10 +0200 |
commit | e58c19253841961fa558625746a8a0e780427f0d (patch) | |
tree | 8379d144f3d45e35f34cbed179ce3e5d5c26c30a /innobase/include/trx0trx.h | |
parent | 277d59b86e14fc5443bc5a87fc399ee2d5491069 (diff) | |
download | mariadb-git-e58c19253841961fa558625746a8a0e780427f0d.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
sql/ha_innobase.cc:
Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
innobase/include/row0mysql.h:
Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
innobase/include/trx0trx.h:
Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
innobase/row/row0ins.c:
Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
innobase/row/row0mysql.c:
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.h | 3 |
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, ... */ |