2025-07-10 22:52 ftp://ftp.de.debian.org/debian/pool/main/p/postgresql-mysql-fdw/postgresql-mysql-fdw_2.9.2.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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 8f3d36a (2025-07-08 11:07:56 +0200) count: 133 133 elapsed-time: 0.6 0.6 head-timing-info: old-timing-info: head results: mysql_fdw-REL-2_9_2/mysql_pushability.c:48:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPGPATH [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_pushability.c:73:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_FIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_pushability.c:101:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentMemoryContext [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_pushability.c:295:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/connection.c:79:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag_hash [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/connection.c:162:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG3 [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/connection.c:188:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG3 [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/connection.c:210:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_init [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/connection.c:286:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOREIGNSERVEROID [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/connection.c:172:33: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_2/option.c:116:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/option.c:216:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_query.c:63:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDATELEN [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_query.c:139:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_TYPE_SHORT [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_query.c:189:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_query.c:417:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/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_2/mysql_pushability.c:117:11: note: Assuming that condition 'file==NULL' is not redundant mysql_fdw-REL-2_9_2/mysql_pushability.c:134:22: note: Calling function 'get_line_buf', 1st argument 'file' value is 0 mysql_fdw-REL-2_9_2/mysql_pushability.c:263:61: note: Null pointer dereference mysql_fdw-REL-2_9_2/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_2/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_2/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_2/mysql_pushability.c:297:21: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/mysql_query.c:361:14: style: Variable 'outputString' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/mysql_query.c:376:14: style: Variable 'dat' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/option.c:140:25: warning: Either the condition 'inputVal' is redundant or there is possible null pointer dereference: inputVal. [nullPointerRedundantCheck] mysql_fdw-REL-2_9_2/option.c:130:11: note: Assuming that condition 'inputVal' is not redundant mysql_fdw-REL-2_9_2/option.c:140:25: note: Null pointer dereference mysql_fdw-REL-2_9_2/option.c:189:23: style:inconclusive: Function 'mysql_get_options' argument 1 names different: declaration 'foreigntableid' definition 'foreignoid'. [funcArgNamesDifferent] mysql_fdw-REL-2_9_2/mysql_fdw.h:302:41: note: Function 'mysql_get_options' argument 1 names different: declaration 'foreigntableid' definition 'foreignoid'. mysql_fdw-REL-2_9_2/option.c:189:23: note: Function 'mysql_get_options' argument 1 names different: declaration 'foreigntableid' definition 'foreignoid'. mysql_fdw-REL-2_9_2/option.c:128:13: style: Variable 'inputVal' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/deparse.c:362:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoLock [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:393:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:429:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BMS_MULTIPLE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:526:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FirstLowInvalidHeapAttributeNumber [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:683:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:725:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:839:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BMS_MULTIPLE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:1016:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Var [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:1074:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COERCE_IMPLICIT_CAST [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:1127:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:1174:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PG_CATALOG_NAMESPACE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:1254:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:1367:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DistinctExpr [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:1401:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_NULL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:1458:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FirstBootstrapObjectId [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:1488:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:1981:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:2032:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RestrictInfo [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:2120:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoLock [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:2165:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:2186:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:2210:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AGGSPLIT_SIMPLE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:2305:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Const [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:2424:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:396:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _MYSQL_LIBNAME [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:475:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:528:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FdwRoutine [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:596:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSOR_TYPE_READ_ONLY [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:808:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Datum [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:961:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_free_result [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:1033:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_query [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:1164:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_query [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:1246:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:1275:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:1549:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_query [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:1590:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:1722:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:1859:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:1919:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:2067:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:2105:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:2139:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_stmt_close [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:2151:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:2460:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:2475:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:2498:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FmgrInfo [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:2595:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:2668:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_errno [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:2696:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_stmt_errno [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:2727:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:2813:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_DELETE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:2909:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JOIN_RIGHT [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:3143:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:3264:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:3394:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Var [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:3553:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:3799:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UPPERREL_FINAL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:3931:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:4027:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:4138:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:4294:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RELOPT_BASEREL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:4419:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RelabelType [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:4470:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:4895:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPEFUNC_COMPOSITE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/mysql_fdw.c:4969:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_2/deparse.c:397:9: style: Condition 'i>0' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_2/deparse.c:391:12: note: Assignment 'i=0', assigned value is 0 mysql_fdw-REL-2_9_2/deparse.c:397:9: note: Condition 'i>0' is always false mysql_fdw-REL-2_9_2/deparse.c:405:8: style: Condition 'i==0' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_2/deparse.c:391:12: note: Assignment 'i=0', assigned value is 0 mysql_fdw-REL-2_9_2/deparse.c:402:3: note: i is incremented', new value is 1 mysql_fdw-REL-2_9_2/deparse.c:405:8: note: Condition 'i==0' is always false mysql_fdw-REL-2_9_2/deparse.c:467:8: style: Condition '!first' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_2/deparse.c:462:11: note: Assignment 'first=true', assigned value is 1 mysql_fdw-REL-2_9_2/deparse.c:467:8: note: Condition '!first' is always false mysql_fdw-REL-2_9_2/deparse.c:480:8: style: Condition '!first' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_2/deparse.c:477:11: note: Assignment 'first=true', assigned value is 1 mysql_fdw-REL-2_9_2/deparse.c:480:8: note: Condition '!first' is always false mysql_fdw-REL-2_9_2/deparse.c:596:14: style: Condition 'colname==NULL' is always true [knownConditionTrueFalse] mysql_fdw-REL-2_9_2/deparse.c:566:21: note: Assignment 'colname=NULL', assigned value is 0 mysql_fdw-REL-2_9_2/deparse.c:585:43: note: Assuming condition is false mysql_fdw-REL-2_9_2/deparse.c:596:14: note: Condition 'colname==NULL' is always true mysql_fdw-REL-2_9_2/deparse.c:789:7: style: Condition '!first' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_2/deparse.c:781:10: note: Assignment 'first=true', assigned value is 1 mysql_fdw-REL-2_9_2/deparse.c:786:14: note: Assuming condition is false mysql_fdw-REL-2_9_2/deparse.c:789:7: note: Condition '!first' is always false mysql_fdw-REL-2_9_2/deparse.c:1102:7: style: Condition '!first' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_2/deparse.c:1099:10: note: Assignment 'first=true', assigned value is 1 mysql_fdw-REL-2_9_2/deparse.c:1102:7: note: Condition '!first' is always false mysql_fdw-REL-2_9_2/deparse.c:1383:7: style: Condition '!first' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_2/deparse.c:1380:10: note: Assignment 'first=true', assigned value is 1 mysql_fdw-REL-2_9_2/deparse.c:1383:7: note: Condition '!first' is always false mysql_fdw-REL-2_9_2/deparse.c:2040:7: style: Condition '!is_first' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_2/deparse.c:2021:19: note: Assignment 'is_first=true', assigned value is 1 mysql_fdw-REL-2_9_2/deparse.c:2040:7: note: Condition '!is_first' is always false mysql_fdw-REL-2_9_2/deparse.c:2236:8: style: Condition '!first' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_2/deparse.c:2225:17: note: Assignment 'first=true', assigned value is 1 mysql_fdw-REL-2_9_2/deparse.c:2233:11: note: Assuming condition is false mysql_fdw-REL-2_9_2/deparse.c:2236:8: note: Condition '!first' is always false mysql_fdw-REL-2_9_2/deparse.c:477:9: style: Variable 'first' is reassigned a value before the old one has been used. [redundantAssignment] mysql_fdw-REL-2_9_2/deparse.c:469:10: note: first is assigned mysql_fdw-REL-2_9_2/deparse.c:477:9: note: first is overwritten mysql_fdw-REL-2_9_2/deparse.c:2193:10: style: Variable 'proname' is reassigned a value before the old one has been used. [redundantAssignment] mysql_fdw-REL-2_9_2/deparse.c:2190:10: note: proname is assigned mysql_fdw-REL-2_9_2/deparse.c:2193:10: note: proname is overwritten mysql_fdw-REL-2_9_2/deparse.c:502:34: style:inconclusive: Function 'mysql_deparse_analyze' argument 1 names different: declaration 'buf' definition 'sql'. [funcArgNamesDifferent] mysql_fdw-REL-2_9_2/mysql_fdw.h:313:46: note: Function 'mysql_deparse_analyze' argument 1 names different: declaration 'buf' definition 'sql'. mysql_fdw-REL-2_9_2/deparse.c:502:34: note: Function 'mysql_deparse_analyze' argument 1 names different: declaration 'buf' definition 'sql'. mysql_fdw-REL-2_9_2/deparse.c:638:19: style:inconclusive: Function 'deparseExpr' argument 1 names different: declaration 'expr' definition 'node'. [funcArgNamesDifferent] mysql_fdw-REL-2_9_2/deparse.c:104:31: note: Function 'deparseExpr' argument 1 names different: declaration 'expr' definition 'node'. mysql_fdw-REL-2_9_2/deparse.c:638:19: note: Function 'deparseExpr' argument 1 names different: declaration 'expr' definition 'node'. mysql_fdw-REL-2_9_2/deparse.c:1453:22: style:inconclusive: Function 'mysql_is_builtin' argument 1 names different: declaration 'objectId' definition 'oid'. [funcArgNamesDifferent] mysql_fdw-REL-2_9_2/mysql_fdw.h:338:34: note: Function 'mysql_is_builtin' argument 1 names different: declaration 'objectId' definition 'oid'. mysql_fdw-REL-2_9_2/deparse.c:1453:22: note: Function 'mysql_is_builtin' argument 1 names different: declaration 'objectId' definition 'oid'. mysql_fdw-REL-2_9_2/deparse.c:2058: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_2/deparse.c:142:35: note: Function 'mysql_deparse_from_expr_for_rel' argument 5 names different: declaration 'param_list' definition 'params_list'. mysql_fdw-REL-2_9_2/deparse.c:2058:16: note: Function 'mysql_deparse_from_expr_for_rel' argument 5 names different: declaration 'param_list' definition 'params_list'. mysql_fdw-REL-2_9_2/deparse.c:566:11: style: Variable 'colname' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/deparse.c:883:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_2/deparse.c:1249:11: style: Variable 'opname' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/deparse.c:1418:26: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_2/deparse.c:1427:29: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_2/deparse.c:1526:15: style: Variable 'c' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/deparse.c:1544:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/deparse.c:1677:14: style: Variable 'opname' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/deparse.c:2034:18: style: Variable 'ri' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/deparse.c:2177:58: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_2/deparse.c:2401:12: style: Variable 'sortby_dir' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/mysql_fdw.c:1957:6: style: Condition '!found_row_id_col' is always true [knownConditionTrueFalse] mysql_fdw-REL-2_9_2/mysql_fdw.c:1912:27: note: Assignment 'found_row_id_col=false', assigned value is 0 mysql_fdw-REL-2_9_2/mysql_fdw.c:1933:14: note: Assuming condition is false mysql_fdw-REL-2_9_2/mysql_fdw.c:1957:6: note: Condition '!found_row_id_col' is always true mysql_fdw-REL-2_9_2/mysql_fdw.c:3164:6: style: Condition '!has_whole_row' is always true [knownConditionTrueFalse] mysql_fdw-REL-2_9_2/mysql_fdw.c:3140:24: note: Assignment 'has_whole_row=false', assigned value is 0 mysql_fdw-REL-2_9_2/mysql_fdw.c:3157:21: note: Assuming condition is false mysql_fdw-REL-2_9_2/mysql_fdw.c:3164:6: note: Condition '!has_whole_row' is always true mysql_fdw-REL-2_9_2/mysql_fdw.c:586:18: style: Variable 'tupleSlot' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/mysql_fdw.c:803:15: style: Variable 'fsplan' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/mysql_fdw.c:936:15: style: Variable 'options' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/mysql_fdw.c:1090:18: style: Variable 'field' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/mysql_fdw.c:1193:51: style: Parameter 'baserel' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_2/mysql_fdw.c:1196:14: style: Variable 'options' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/mysql_fdw.c:2133: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_2/mysql_fdw.c:546:33: note: You might need to cast the function pointer here mysql_fdw-REL-2_9_2/mysql_fdw.c:2133:54: note: Parameter 'resultRelInfo' can be declared as pointer to const mysql_fdw-REL-2_9_2/mysql_fdw.c:2320:13: style: Variable 'attnotnull' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/mysql_fdw.c:3521:53: style: Parameter 'values' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_2/mysql_fdw.c:3521:67: style: Parameter 'nulls' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_2/mysql_fdw.c:3839:12: style: Variable 'parse' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/mysql_fdw.c:4030:20: style: Variable 'query_ec' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/mysql_fdw.c:4073:15: style: Variable 'query_pathkey' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/mysql_fdw.c:4268:24: style: Variable 'ifpinfo' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_2/mysql_fdw.c:4956:18: style: Variable 'typentry' can be declared as pointer to const [constVariablePointer] diff: DONE