summaryrefslogtreecommitdiff
path: root/include/my_base.h
diff options
context:
space:
mode:
authormskold/marty@mysql.com/linux.site <>2007-04-05 08:39:12 +0200
committermskold/marty@mysql.com/linux.site <>2007-04-05 08:39:12 +0200
commit3e8cf5958b967d0ad8041bc1d99ba46630c2a018 (patch)
tree65f485d2be885f33d90600d09460d7d0e3505d99 /include/my_base.h
parentb3ce01771a10d0b3ff3e443fac11e6434318e130 (diff)
parentee034c0e594c24ee2bfcbb87af4333e03eecff53 (diff)
downloadmariadb-git-3e8cf5958b967d0ad8041bc1d99ba46630c2a018.tar.gz
Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0
into mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb
Diffstat (limited to 'include/my_base.h')
-rw-r--r--include/my_base.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/my_base.h b/include/my_base.h
index f832d9aea70..d07a4de8e6a 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -160,7 +160,15 @@ enum ha_extra_function {
Off by default.
*/
HA_EXTRA_WRITE_CAN_REPLACE,
- HA_EXTRA_WRITE_CANNOT_REPLACE
+ HA_EXTRA_WRITE_CANNOT_REPLACE,
+ /*
+ Inform handler that delete_row()/update_row() cannot batch deletes/updates
+ and should perform them immediately. This may be needed when table has
+ AFTER DELETE/UPDATE triggers which access to subject table.
+ These flags are reset by the handler::extra(HA_EXTRA_RESET) call.
+ */
+ HA_EXTRA_DELETE_CANNOT_BATCH,
+ HA_EXTRA_UPDATE_CANNOT_BATCH
};
/* The following is parameter to ha_panic() */