2024-04-21 06:45 ftp://ftp.de.debian.org/debian/pool/main/p/postgresql-mysql-fdw/postgresql-mysql-fdw_2.9.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: fb15ac6 (2024-04-20 19:16:41 +0200) count: 120 46 elapsed-time: 2.4 2.4 head-timing-info: old-timing-info: head results: mysql_fdw-REL-2_9_1/connection.c:79:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag_hash [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/connection.c:162:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG3 [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/connection.c:188:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG3 [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/connection.c:210:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_init [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/connection.c:268:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOREIGNSERVEROID [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/connection.c:172:33: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_1/deparse.c:370:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoLock [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:401:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:437:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BMS_MULTIPLE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:534:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FirstLowInvalidHeapAttributeNumber [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:729:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:771:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:885:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BMS_MULTIPLE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:1066:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Var [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:1124:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COERCE_IMPLICIT_CAST [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:1177:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:1224:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PG_CATALOG_NAMESPACE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:1307:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:1404:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DistinctExpr [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:1438:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_NULL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:1495:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FirstBootstrapObjectId [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:1525:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:2000:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:2051:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RestrictInfo [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:2139:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoLock [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:2184:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:2205:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:2229:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AGGSPLIT_SIMPLE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:2324:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Const [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:2443:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/deparse.c:405:9: style: Condition 'i>0' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_1/deparse.c:399:12: note: Assignment 'i=0', assigned value is 0 mysql_fdw-REL-2_9_1/deparse.c:405:9: note: Condition 'i>0' is always false mysql_fdw-REL-2_9_1/deparse.c:485:9: style: Variable 'first' is reassigned a value before the old one has been used. [redundantAssignment] mysql_fdw-REL-2_9_1/deparse.c:477:10: note: first is assigned mysql_fdw-REL-2_9_1/deparse.c:485:9: note: first is overwritten mysql_fdw-REL-2_9_1/deparse.c:2212:10: style: Variable 'proname' is reassigned a value before the old one has been used. [redundantAssignment] mysql_fdw-REL-2_9_1/deparse.c:2209:10: note: proname is assigned mysql_fdw-REL-2_9_1/deparse.c:2212:10: note: proname is overwritten mysql_fdw-REL-2_9_1/deparse.c:510:34: style:inconclusive: Function 'mysql_deparse_analyze' argument 1 names different: declaration 'buf' definition 'sql'. [funcArgNamesDifferent] mysql_fdw-REL-2_9_1/mysql_fdw.h:315:46: note: Function 'mysql_deparse_analyze' argument 1 names different: declaration 'buf' definition 'sql'. mysql_fdw-REL-2_9_1/deparse.c:510:34: note: Function 'mysql_deparse_analyze' argument 1 names different: declaration 'buf' definition 'sql'. mysql_fdw-REL-2_9_1/deparse.c:679:19: style:inconclusive: Function 'deparseExpr' argument 1 names different: declaration 'expr' definition 'node'. [funcArgNamesDifferent] mysql_fdw-REL-2_9_1/deparse.c:108:31: note: Function 'deparseExpr' argument 1 names different: declaration 'expr' definition 'node'. mysql_fdw-REL-2_9_1/deparse.c:679:19: note: Function 'deparseExpr' argument 1 names different: declaration 'expr' definition 'node'. mysql_fdw-REL-2_9_1/deparse.c:1490:22: style:inconclusive: Function 'mysql_is_builtin' argument 1 names different: declaration 'objectId' definition 'oid'. [funcArgNamesDifferent] mysql_fdw-REL-2_9_1/mysql_fdw.h:340:34: note: Function 'mysql_is_builtin' argument 1 names different: declaration 'objectId' definition 'oid'. mysql_fdw-REL-2_9_1/deparse.c:1490:22: note: Function 'mysql_is_builtin' argument 1 names different: declaration 'objectId' definition 'oid'. mysql_fdw-REL-2_9_1/deparse.c:2077:16: style:inconclusive: Function 'mysql_deparse_from_expr_for_rel' argument 5 names different: declaration 'param_list' definition 'params_list'. [funcArgNamesDifferent] mysql_fdw-REL-2_9_1/deparse.c:150:35: note: Function 'mysql_deparse_from_expr_for_rel' argument 5 names different: declaration 'param_list' definition 'params_list'. mysql_fdw-REL-2_9_1/deparse.c:2077:16: note: Function 'mysql_deparse_from_expr_for_rel' argument 5 names different: declaration 'param_list' definition 'params_list'. mysql_fdw-REL-2_9_1/deparse.c:574:11: style: Variable 'colname' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/deparse.c:929:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_1/deparse.c:1299:11: style: Variable 'opname' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/deparse.c:1302:11: style: Variable 'extval' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/deparse.c:1455:26: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_1/deparse.c:1464:29: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_1/deparse.c:1563:15: style: Variable 'c' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/deparse.c:1581:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/deparse.c:2053:18: style: Variable 'ri' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/deparse.c:2196:58: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_1/deparse.c:2420:12: style: Variable 'sortby_dir' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/mysql_fdw.c:395:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _MYSQL_LIBNAME [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:474:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:527:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FdwRoutine [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:595:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSOR_TYPE_READ_ONLY [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:819:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Datum [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:976:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_free_result [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:1048:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_query [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:1179:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_query [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:1248:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:1271:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:1549:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_query [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:1590:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:1722:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:1852:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:1912:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:2060:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:2098:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:2132:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_stmt_close [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:2144:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:2452:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:2467:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:2490:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FmgrInfo [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:2587:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:2660:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_errno [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:2688:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_stmt_errno [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:2719:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:2805:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_DELETE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:2895:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JOIN_RIGHT [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:3129:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:3250:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:3380:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Var [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:3539:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:3788:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UPPERREL_GROUP_AGG [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:3893:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:3926:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:4022:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:4126:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:4381:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RelabelType [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:4833:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPEFUNC_COMPOSITE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:4907:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_fdw.c:585:18: style: Variable 'tupleSlot' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/mysql_fdw.c:814:15: style: Variable 'fsplan' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/mysql_fdw.c:951:15: style: Variable 'options' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/mysql_fdw.c:1105:18: style: Variable 'field' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/mysql_fdw.c:1208:51: style: Parameter 'baserel' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_1/mysql_fdw.c:1211:14: style: Variable 'options' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/mysql_fdw.c:2126:54: style: Parameter 'resultRelInfo' can be declared as pointer to const. However it seems that 'mysqlEndForeignModify' is a callback function, if 'resultRelInfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mysql_fdw-REL-2_9_1/mysql_fdw.c:545:33: note: You might need to cast the function pointer here mysql_fdw-REL-2_9_1/mysql_fdw.c:2126:54: note: Parameter 'resultRelInfo' can be declared as pointer to const mysql_fdw-REL-2_9_1/mysql_fdw.c:2312:13: style: Variable 'attnotnull' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/mysql_fdw.c:3507:53: style: Parameter 'values' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_1/mysql_fdw.c:3507:67: style: Parameter 'nulls' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_1/mysql_fdw.c:3834:12: style: Variable 'parse' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/mysql_fdw.c:4025:20: style: Variable 'query_ec' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/mysql_fdw.c:4068:15: style: Variable 'query_pathkey' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/mysql_fdw.c:4894:18: style: Variable 'typentry' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/mysql_pushability.c:48:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPGPATH [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_pushability.c:73:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_FIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_pushability.c:101:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentMemoryContext [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_pushability.c:295:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_pushability.c:263:61: warning:inconclusive: Either the condition 'file==NULL' is redundant or there is possible null pointer dereference: stream. [nullPointerRedundantCheck] mysql_fdw-REL-2_9_1/mysql_pushability.c:117:11: note: Assuming that condition 'file==NULL' is not redundant mysql_fdw-REL-2_9_1/mysql_pushability.c:134:22: note: Calling function 'get_line_buf', 1st argument 'file' value is 0 mysql_fdw-REL-2_9_1/mysql_pushability.c:263:61: note: Null pointer dereference mysql_fdw-REL-2_9_1/mysql_pushability.c:65:36: style:inconclusive: Function 'mysql_check_remote_pushability' argument 1 names different: declaration 'objectOid' definition 'object_oid'. [funcArgNamesDifferent] mysql_fdw-REL-2_9_1/mysql_pushability.h:32:48: note: Function 'mysql_check_remote_pushability' argument 1 names different: declaration 'objectOid' definition 'object_oid'. mysql_fdw-REL-2_9_1/mysql_pushability.c:65:36: note: Function 'mysql_check_remote_pushability' argument 1 names different: declaration 'objectOid' definition 'object_oid'. mysql_fdw-REL-2_9_1/mysql_pushability.c:297:21: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/mysql_query.c:67:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDATELEN [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_query.c:143:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_TYPE_SHORT [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_query.c:193:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_query.c:421:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/mysql_query.c:365:14: style: Variable 'outputString' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/mysql_query.c:380:14: style: Variable 'dat' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_1/option.c:115:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/option.c:215:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_1/option.c:139:25: warning: Either the condition 'inputVal' is redundant or there is possible null pointer dereference: inputVal. [nullPointerRedundantCheck] mysql_fdw-REL-2_9_1/option.c:129:11: note: Assuming that condition 'inputVal' is not redundant mysql_fdw-REL-2_9_1/option.c:139:25: note: Null pointer dereference mysql_fdw-REL-2_9_1/option.c:188:23: style:inconclusive: Function 'mysql_get_options' argument 1 names different: declaration 'foreigntableid' definition 'foreignoid'. [funcArgNamesDifferent] mysql_fdw-REL-2_9_1/mysql_fdw.h:304:41: note: Function 'mysql_get_options' argument 1 names different: declaration 'foreigntableid' definition 'foreignoid'. mysql_fdw-REL-2_9_1/option.c:188:23: note: Function 'mysql_get_options' argument 1 names different: declaration 'foreigntableid' definition 'foreignoid'. mysql_fdw-REL-2_9_1/mysql_pushability.c:263:61: warning: Null pointer dereference: stream [ctunullpointer] mysql_fdw-REL-2_9_1/mysql_pushability.c:117:11: note: Assuming that condition 'file==NULL' is not redundant mysql_fdw-REL-2_9_1/mysql_pushability.c:134:21: note: Calling function get_line_buf, 1st argument is null mysql_fdw-REL-2_9_1/mysql_pushability.c:263:61: note: Dereferencing argument stream that is null diff: head mysql_fdw-REL-2_9_1/connection.c:162:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG3 [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/connection.c:188:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG3 [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/connection.c:210:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_init [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/connection.c:268:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOREIGNSERVEROID [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:1066:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Var [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:1124:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COERCE_IMPLICIT_CAST [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:1177:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:1224:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PG_CATALOG_NAMESPACE [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:1307:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:1404:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DistinctExpr [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:1438:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_NULL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:1495:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FirstBootstrapObjectId [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:1525:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:2000:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:2051:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RestrictInfo [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:2139:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoLock [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:2184:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:2205:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:2229:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AGGSPLIT_SIMPLE [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:2324:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Const [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:2443:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:401:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:437:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BMS_MULTIPLE [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:534:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FirstLowInvalidHeapAttributeNumber [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:729:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:771:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/deparse.c:885:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BMS_MULTIPLE [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:1048:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_query [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:1179:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_query [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:1248:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:1271:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:1549:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_query [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:1590:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:1722:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:1852:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:1912:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:2060:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:2098:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:2126:54: style: Parameter 'resultRelInfo' can be declared as pointer to const. However it seems that 'mysqlEndForeignModify' is a callback function, if 'resultRelInfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mysql_fdw-REL-2_9_1/mysql_fdw.c:545:33: note: You might need to cast the function pointer here mysql_fdw-REL-2_9_1/mysql_fdw.c:2126:54: note: Parameter 'resultRelInfo' can be declared as pointer to const head mysql_fdw-REL-2_9_1/mysql_fdw.c:2132:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_stmt_close [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:2144:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:2452:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:2467:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:2490:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FmgrInfo [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:2587:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:2660:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_errno [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:2688:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_stmt_errno [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:2719:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:2805:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_DELETE [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:2895:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JOIN_RIGHT [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:3129:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:3250:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:3380:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Var [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:3539:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:3788:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UPPERREL_GROUP_AGG [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:3893:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:3926:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:4022:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:4126:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:4381:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RelabelType [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:474:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:4833:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPEFUNC_COMPOSITE [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:4907:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:527:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FdwRoutine [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:595:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSOR_TYPE_READ_ONLY [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:819:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Datum [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_fdw.c:976:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_free_result [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_pushability.c:101:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentMemoryContext [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_pushability.c:295:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_pushability.c:73:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_FIND [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_query.c:143:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_TYPE_SHORT [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_query.c:193:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/mysql_query.c:421:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] head mysql_fdw-REL-2_9_1/option.c:215:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] DONE