!2744 函数IsConvertableType的修饰关键字inline应放在返回类型前

Merge pull request !2744 from foolishlee/IsConvertableType
This commit is contained in:
opengauss-bot 2023-01-05 03:28:33 +00:00 committed by Gitee
commit d8b7f4ab74
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ static bool IsConvertableInlistRestrict(RelOptInfo* rel, const RestrictInfo* res
static bool HasConvertableInlistCond(RelOptInfo* rel);
static int ConvertableInlistMaxNum(const RelOptInfo* rel);
static bool IsEqualOpr(Oid opno);
static bool inline IsConvertableType(Oid typoid);
static inline bool IsConvertableType(Oid typoid);
static List* convert_constarray_to_simple(Const* combined_const, Var* listvar, Oid* paramtype);
static char* get_attr_name(int attrnum);
static void rebuild_subquery(PlannerInfo* root, RelOptInfo* rel, RangeTblEntry* rte, RangeTblEntry* new_rte);
@ -834,7 +834,7 @@ static bool IsEqualOpr(Oid opno)
*
* Return: bool. indicate Yes/Not for convertable type for check
*/
static bool inline IsConvertableType(Oid typoid)
static inline bool IsConvertableType(Oid typoid)
{
switch (typoid) {
case INT1OID: /* for TINYINT */