diff options
author | ramil@mysql.com <> | 2006-05-18 17:10:58 +0500 |
---|---|---|
committer | ramil@mysql.com <> | 2006-05-18 17:10:58 +0500 |
commit | c583de95f8cf7d685e893ae4298c032cb1077078 (patch) | |
tree | ad8c692a0ce54fbfdaf87579463668ae92d4bdd9 /sql/examples | |
parent | 28cf106088c52959dda095d702d2e1252a980a37 (diff) | |
download | mariadb-git-c583de95f8cf7d685e893ae4298c032cb1077078.tar.gz |
Fix for bug #15558: truncate doesn't clear table on archive storage engine tables.
Diffstat (limited to 'sql/examples')
-rw-r--r-- | sql/examples/ha_archive.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/examples/ha_archive.cc b/sql/examples/ha_archive.cc index ee4cad25460..55fc359348f 100644 --- a/sql/examples/ha_archive.cc +++ b/sql/examples/ha_archive.cc @@ -1010,6 +1010,6 @@ ha_rows ha_archive::records_in_range(uint inx, key_range *min_key, int ha_archive::delete_all_rows() { DBUG_ENTER("ha_archive::delete_all_rows"); - DBUG_RETURN(0); + DBUG_RETURN(HA_ERR_WRONG_COMMAND); } #endif /* HAVE_ARCHIVE_DB */ |