diff options
author | holyfoot/hf@mysql.com/deer.(none) <> | 2006-10-01 16:36:26 +0500 |
---|---|---|
committer | holyfoot/hf@mysql.com/deer.(none) <> | 2006-10-01 16:36:26 +0500 |
commit | e1f31863ab255d3b5b7080cade58cc4e5983f6ce (patch) | |
tree | f4c9c4882dc86ded8240ce7ebceee870e3fd2188 /sql/handler.cc | |
parent | dead2e0f147017e85e4934fb65103adc464041ec (diff) | |
download | mariadb-git-e1f31863ab255d3b5b7080cade58cc4e5983f6ce.tar.gz |
bug #21790 (UNKNOWN ERROR message in geometry)
We issued UNKNOWN ERROR initially in this place and forgot to
fix it when we implemented informative error message for this
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 4accc746664..3516b55feb5 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -1788,8 +1788,8 @@ void handler::print_error(int error, myf errflag) break; } case HA_ERR_NULL_IN_SPATIAL: - textno= ER_UNKNOWN_ERROR; - break; + my_error(ER_CANT_CREATE_GEOMETRY_OBJECT, MYF(0)); + DBUG_VOID_RETURN; case HA_ERR_FOUND_DUPP_UNIQUE: textno=ER_DUP_UNIQUE; break; |