summaryrefslogtreecommitdiff
path: root/innobase/include/row0upd.h
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2002-12-22 01:54:29 +0200
committerheikki@hundin.mysql.fi <>2002-12-22 01:54:29 +0200
commit843e1d8e9c6bff2b25a2ac8c367f9d7fcbc528cc (patch)
tree120402316f5b15cb879b72bdb1c4cf59c8d932cb /innobase/include/row0upd.h
parentf03bbd3fe28455885603890a21eebfe2792f2704 (diff)
downloadmariadb-git-843e1d8e9c6bff2b25a2ac8c367f9d7fcbc528cc.tar.gz
Many files:
Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE sql_select.cc: Remove superfluous prints to .err log when a locking SELECT fails to a deadlock or a lock wait timeout
Diffstat (limited to 'innobase/include/row0upd.h')
-rw-r--r--innobase/include/row0upd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/innobase/include/row0upd.h b/innobase/include/row0upd.h
index 9a3e2463267..273ec6074eb 100644
--- a/innobase/include/row0upd.h
+++ b/innobase/include/row0upd.h
@@ -312,8 +312,11 @@ struct upd_node_struct{
ibool in_mysql_interface;
/* TRUE if the update node was created
for the MySQL interface */
+ dict_foreign_t* foreign;/* NULL or pointer to a foreign key
+ constraint if this update node is used in
+ doing an ON DELETE or ON UPDATE operation */
upd_node_t* cascade_node;/* NULL or an update node template which
- is used to implement ON DELETE CASCADE
+ is used to implement ON DELETE/UPDATE CASCADE
or ... SET NULL for foreign keys */
mem_heap_t* cascade_heap;/* NULL or a mem heap where the cascade
node is created */