diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-10-21 23:07:13 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-10-21 23:07:13 +0200 |
commit | aeaa112edbf40f17c7978642539443544241185d (patch) | |
tree | 97faebc5269e23af60a451907271bfa11643f353 /storage/federated | |
parent | b3223453f7e4398ff0f55471ac7dc4aecf2caf8d (diff) | |
download | mariadb-git-aeaa112edbf40f17c7978642539443544241185d.tar.gz |
fixes for windows
Diffstat (limited to 'storage/federated')
-rw-r--r-- | storage/federated/ha_federated.cc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/storage/federated/ha_federated.cc b/storage/federated/ha_federated.cc index 0756b77180a..48b88060a69 100644 --- a/storage/federated/ha_federated.cc +++ b/storage/federated/ha_federated.cc @@ -3027,8 +3027,19 @@ int ha_federated::delete_all_rows() } + + /* - The idea with handler::store_lock() is the following: + Used to manually truncate the table via a delete of all rows in a table. +*/ + +int ha_federated::truncate() +{ + return delete_all_rows(); +} + + +/* The idea with handler::store_lock() is the following: The statement decided which locks we should need for the table for updates/deletes/inserts we get WRITE locks, for SELECT... we get |