Browse Source

row_ins_index_entry(): Note that only CREATE INDEX sets foreign=FALSE.

pull/843/head
Marko Mäkelä 15 years ago
parent
commit
57cb45514d
  1. 3
      storage/innodb_plugin/include/row0ins.h
  2. 3
      storage/innodb_plugin/row/row0ins.c

3
storage/innodb_plugin/include/row0ins.h

@ -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

3
storage/innodb_plugin/row/row0ins.c

@ -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;

Loading…
Cancel
Save