diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2009-09-10 11:15:39 +0200 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2009-09-10 11:15:39 +0200 |
commit | d0d52e9f11ab7bad11d34d207139a26f26dd362c (patch) | |
tree | e4de6989be4d51f542339759b99eec9a100c3c33 /sql/handler.cc | |
parent | 905d715f10e711860311e0a10488c6bb5e19ee49 (diff) | |
download | mariadb-git-d0d52e9f11ab7bad11d34d207139a26f26dd362c.tar.gz |
WL#4444 Added TRUNCATE partition support, fixes bug#19405 and bug #35111
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 0e83d2911f2..97e49ef2157 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -2742,6 +2742,9 @@ void handler::print_error(int error, myf errflag) case HA_ERR_TABLE_NEEDS_UPGRADE: textno=ER_TABLE_NEEDS_UPGRADE; break; + case HA_ERR_NO_PARTITION_FOUND: + textno=ER_WRONG_PARTITION_NAME; + break; case HA_ERR_TABLE_READONLY: textno= ER_OPEN_AS_READONLY; break; |