Kouhei Sutou
null+****@clear*****
Tue Feb 4 12:09:48 JST 2014
Kouhei Sutou 2014-02-04 12:09:48 +0900 (Tue, 04 Feb 2014) New Revision: 9f60e6c1f1172ee6b4eb08dba7f634bc2c48844b https://github.com/mroonga/mroonga/commit/9f60e6c1f1172ee6b4eb08dba7f634bc2c48844b Message: Use named error number instead of unknown -1 Modified files: ha_mroonga.cpp Modified: ha_mroonga.cpp (+1 -1) =================================================================== --- ha_mroonga.cpp 2014-02-04 11:05:35 +0900 (c99a815) +++ ha_mroonga.cpp 2014-02-04 12:09:48 +0900 (4fb4293) @@ -1185,7 +1185,7 @@ static int mrn_set_geometry(grn_ctx *ctx, grn_obj *buf, geometry = Geometry::construct(&buffer, wkb, wkb_size); if (!geometry) { - return -1; + return ER_CANT_CREATE_GEOMETRY_OBJECT; } switch (geometry->get_class_info()->m_type_id) { case Geometry::wkb_point: -------------- next part -------------- HTML����������������������������... Download