List:Commits« Previous MessageNext Message »
From:marko.makela Date:November 4 2010 1:12pm
Subject:bzr commit into mysql-5.1-innodb branch (marko.makela:3656)
View as plain text  
#At file:///home/marko/innobase/dev/mysql2a/5.1-innodb/ based on revid:sunny.bains@strippedwpmt1rnvmd2

 3656 Marko Mäkelä	2010-11-04
      row_ins_index_entry(): Note that only CREATE INDEX sets foreign=FALSE.

    modified:
      storage/innodb_plugin/include/row0ins.h
      storage/innodb_plugin/row/row0ins.c
=== modified file 'storage/innodb_plugin/include/row0ins.h'
--- a/storage/innodb_plugin/include/row0ins.h	revid:sunny.bains@stripped
+++ b/storage/innodb_plugin/include/row0ins.h	revid:marko.makela@oracle.com-20101104131215-pfxnpidlrzd4krg0
@@ -86,7 +86,8 @@ row_ins_index_entry(
 	dict_index_t*	index,	/*!< in: index */
 	dtuple_t*	entry,	/*!< in/out: index entry to insert */
 	ulint		n_ext,	/*!< in: number of externally stored columns */
-	ibool		foreign,/*!< in: TRUE=check foreign key constraints */
+	ibool		foreign,/*!< in: TRUE=check foreign key constraints
+				(foreign=FALSE only during CREATE INDEX) */
 	que_thr_t*	thr);	/*!< in: query thread */
 /***********************************************************//**
 Inserts a row to a table. This is a high-level function used in

=== modified file 'storage/innodb_plugin/row/row0ins.c'
--- a/storage/innodb_plugin/row/row0ins.c	revid:sunny.bains@strippedewpmt1rnvmd2
+++ b/storage/innodb_plugin/row/row0ins.c	revid:marko.makela@strippedg0
@@ -2160,7 +2160,8 @@ row_ins_index_entry(
 	dict_index_t*	index,	/*!< in: index */
 	dtuple_t*	entry,	/*!< in/out: index entry to insert */
 	ulint		n_ext,	/*!< in: number of externally stored columns */
-	ibool		foreign,/*!< in: TRUE=check foreign key constraints */
+	ibool		foreign,/*!< in: TRUE=check foreign key constraints
+				(foreign=FALSE only during CREATE INDEX) */
 	que_thr_t*	thr)	/*!< in: query thread */
 {
 	ulint	err;

Attachment: [text/bzr-bundle] bzr/marko.makela@oracle.com-20101104131215-pfxnpidlrzd4krg0.bundle
Thread
bzr commit into mysql-5.1-innodb branch (marko.makela:3656) marko.makela4 Nov