Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.2.9
Description
Source code is
case GRN_OBJ_KEY_UINT :\ |
if (((pat)->obj.header.domain != GRN_DB_TOKYO_GEO_POINT) &&\ |
((pat)->obj.header.domain != GRN_DB_WGS84_GEO_POINT)) {\
|
grn_hton((keybuf), (key), (size));\
|
break;\ |
}\
|
Suggest move break from inside if to outside.
This code is for backward compatibility and this break position is right.
We need to add a /* FALLTHROUGH */ comment.
I'll do it in upstream and update bundled Groonga as MDEV-20544.