2025-11-23 09:47 ftp://ftp.de.debian.org/debian/pool/main/p/postgresql-mysql-fdw/postgresql-mysql-fdw_2.9.3.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 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 133 133 elapsed-time: 0.6 0.6 head-timing-info: old-timing-info: head results: mysql_fdw-REL-2_9_3/mysql_pushability.c:48:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPGPATH [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_pushability.c:73:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_FIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_pushability.c:101:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentMemoryContext [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_pushability.c:295:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/connection.c:77:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag_hash [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/connection.c:160:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG3 [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/connection.c:186:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG3 [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/connection.c:208:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_init [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/connection.c:284:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOREIGNSERVEROID [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/connection.c:170:33: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_3/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_3/mysql_pushability.c:117:11: note: Assuming that condition 'file==NULL' is not redundant mysql_fdw-REL-2_9_3/mysql_pushability.c:134:22: note: Calling function 'get_line_buf', 1st argument 'file' value is 0 mysql_fdw-REL-2_9_3/mysql_pushability.c:263:61: note: Null pointer dereference mysql_fdw-REL-2_9_3/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_3/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_3/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_3/mysql_pushability.c:297:21: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/mysql_query.c:63:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDATELEN [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_query.c:139:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_TYPE_SHORT [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_query.c:189:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_query.c:417:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_query.c:361:14: style: Variable 'outputString' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/mysql_query.c:376:14: style: Variable 'dat' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/option.c:116:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/option.c:216:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:361:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoLock [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:385:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:421:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BMS_MULTIPLE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:518:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FirstLowInvalidHeapAttributeNumber [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:675:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:717:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:831:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BMS_MULTIPLE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:1008:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Var [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:1062:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COERCE_IMPLICIT_CAST [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:1115:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:1162:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PG_CATALOG_NAMESPACE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:1242:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:1355:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DistinctExpr [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:1389:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_NULL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:1446:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FirstBootstrapObjectId [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:1476:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:1977:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:2028:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RestrictInfo [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:2115:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoLock [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:2153:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:2174:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:2198:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AGGSPLIT_SIMPLE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:2293:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Const [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:2412:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/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_3/option.c:130:11: note: Assuming that condition 'inputVal' is not redundant mysql_fdw-REL-2_9_3/option.c:140:25: note: Null pointer dereference mysql_fdw-REL-2_9_3/option.c:189:23: style:inconclusive: Function 'mysql_get_options' argument 1 names different: declaration 'foreigntableid' definition 'foreignoid'. [funcArgNamesDifferent] mysql_fdw-REL-2_9_3/mysql_fdw.h:298:41: note: Function 'mysql_get_options' argument 1 names different: declaration 'foreigntableid' definition 'foreignoid'. mysql_fdw-REL-2_9_3/option.c:189:23: note: Function 'mysql_get_options' argument 1 names different: declaration 'foreigntableid' definition 'foreignoid'. mysql_fdw-REL-2_9_3/option.c:128:13: style: Variable 'inputVal' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:400:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _MYSQL_LIBNAME [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:479:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:532:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FdwRoutine [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:600:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSOR_TYPE_READ_ONLY [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:812:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Datum [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:965:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_free_result [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:1037:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_query [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:1168:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_query [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:1263:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:1292:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:1566:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_query [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:1607:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:1731:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:1868:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:1928:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:2076:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:2114:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:2148:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_stmt_close [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:2160:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:2469:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:2484:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:2507:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FmgrInfo [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:2604:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:2677:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_errno [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:2705:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mysql_stmt_errno [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:2736:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:2822:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_DELETE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:2931:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JOIN_RIGHT [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:3165:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:3286:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:3408:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Var [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:3567:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:3813:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UPPERREL_FINAL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:3957:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:4053:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:4171:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:4353:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RELOPT_BASEREL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:4490:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RelabelType [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:4541:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:4990:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPEFUNC_COMPOSITE [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/mysql_fdw.c:5076:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] mysql_fdw-REL-2_9_3/deparse.c:389:9: style: Condition 'i>0' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_3/deparse.c:383:12: note: Assignment 'i=0', assigned value is 0 mysql_fdw-REL-2_9_3/deparse.c:389:9: note: Condition 'i>0' is always false mysql_fdw-REL-2_9_3/deparse.c:397:8: style: Condition 'i==0' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_3/deparse.c:383:12: note: Assignment 'i=0', assigned value is 0 mysql_fdw-REL-2_9_3/deparse.c:394:3: note: i is incremented', new value is 1 mysql_fdw-REL-2_9_3/deparse.c:397:8: note: Condition 'i==0' is always false mysql_fdw-REL-2_9_3/deparse.c:459:8: style: Condition '!first' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_3/deparse.c:454:11: note: Assignment 'first=true', assigned value is 1 mysql_fdw-REL-2_9_3/deparse.c:459:8: note: Condition '!first' is always false mysql_fdw-REL-2_9_3/deparse.c:472:8: style: Condition '!first' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_3/deparse.c:469:11: note: Assignment 'first=true', assigned value is 1 mysql_fdw-REL-2_9_3/deparse.c:472:8: note: Condition '!first' is always false mysql_fdw-REL-2_9_3/deparse.c:588:14: style: Condition 'colname==NULL' is always true [knownConditionTrueFalse] mysql_fdw-REL-2_9_3/deparse.c:558:21: note: Assignment 'colname=NULL', assigned value is 0 mysql_fdw-REL-2_9_3/deparse.c:577:43: note: Assuming condition is false mysql_fdw-REL-2_9_3/deparse.c:588:14: note: Condition 'colname==NULL' is always true mysql_fdw-REL-2_9_3/deparse.c:781:7: style: Condition '!first' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_3/deparse.c:773:10: note: Assignment 'first=true', assigned value is 1 mysql_fdw-REL-2_9_3/deparse.c:778:14: note: Assuming condition is false mysql_fdw-REL-2_9_3/deparse.c:781:7: note: Condition '!first' is always false mysql_fdw-REL-2_9_3/deparse.c:1090:7: style: Condition '!first' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_3/deparse.c:1087:10: note: Assignment 'first=true', assigned value is 1 mysql_fdw-REL-2_9_3/deparse.c:1090:7: note: Condition '!first' is always false mysql_fdw-REL-2_9_3/deparse.c:1371:7: style: Condition '!first' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_3/deparse.c:1368:10: note: Assignment 'first=true', assigned value is 1 mysql_fdw-REL-2_9_3/deparse.c:1371:7: note: Condition '!first' is always false mysql_fdw-REL-2_9_3/deparse.c:2036:7: style: Condition '!is_first' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_3/deparse.c:2017:19: note: Assignment 'is_first=true', assigned value is 1 mysql_fdw-REL-2_9_3/deparse.c:2036:7: note: Condition '!is_first' is always false mysql_fdw-REL-2_9_3/deparse.c:2224:8: style: Condition '!first' is always false [knownConditionTrueFalse] mysql_fdw-REL-2_9_3/deparse.c:2213:17: note: Assignment 'first=true', assigned value is 1 mysql_fdw-REL-2_9_3/deparse.c:2221:11: note: Assuming condition is false mysql_fdw-REL-2_9_3/deparse.c:2224:8: note: Condition '!first' is always false mysql_fdw-REL-2_9_3/deparse.c:469:9: style: Variable 'first' is reassigned a value before the old one has been used. [redundantAssignment] mysql_fdw-REL-2_9_3/deparse.c:461:10: note: first is assigned mysql_fdw-REL-2_9_3/deparse.c:469:9: note: first is overwritten mysql_fdw-REL-2_9_3/deparse.c:2181:10: style: Variable 'proname' is reassigned a value before the old one has been used. [redundantAssignment] mysql_fdw-REL-2_9_3/deparse.c:2178:10: note: proname is assigned mysql_fdw-REL-2_9_3/deparse.c:2181:10: note: proname is overwritten mysql_fdw-REL-2_9_3/deparse.c:494:34: style:inconclusive: Function 'mysql_deparse_analyze' argument 1 names different: declaration 'buf' definition 'sql'. [funcArgNamesDifferent] mysql_fdw-REL-2_9_3/mysql_fdw.h:309:46: note: Function 'mysql_deparse_analyze' argument 1 names different: declaration 'buf' definition 'sql'. mysql_fdw-REL-2_9_3/deparse.c:494:34: note: Function 'mysql_deparse_analyze' argument 1 names different: declaration 'buf' definition 'sql'. mysql_fdw-REL-2_9_3/deparse.c:630:19: style:inconclusive: Function 'deparseExpr' argument 1 names different: declaration 'expr' definition 'node'. [funcArgNamesDifferent] mysql_fdw-REL-2_9_3/deparse.c:104:31: note: Function 'deparseExpr' argument 1 names different: declaration 'expr' definition 'node'. mysql_fdw-REL-2_9_3/deparse.c:630:19: note: Function 'deparseExpr' argument 1 names different: declaration 'expr' definition 'node'. mysql_fdw-REL-2_9_3/deparse.c:1441:22: style:inconclusive: Function 'mysql_is_builtin' argument 1 names different: declaration 'objectId' definition 'oid'. [funcArgNamesDifferent] mysql_fdw-REL-2_9_3/mysql_fdw.h:334:34: note: Function 'mysql_is_builtin' argument 1 names different: declaration 'objectId' definition 'oid'. mysql_fdw-REL-2_9_3/deparse.c:1441:22: note: Function 'mysql_is_builtin' argument 1 names different: declaration 'objectId' definition 'oid'. mysql_fdw-REL-2_9_3/deparse.c:2054: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_3/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_3/deparse.c:2054:16: note: Function 'mysql_deparse_from_expr_for_rel' argument 5 names different: declaration 'param_list' definition 'params_list'. mysql_fdw-REL-2_9_3/deparse.c:558:11: style: Variable 'colname' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/deparse.c:875:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_3/deparse.c:1237:11: style: Variable 'opname' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/deparse.c:1406:26: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_3/deparse.c:1415:29: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_3/deparse.c:1514:15: style: Variable 'c' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/deparse.c:1532:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/deparse.c:1673:14: style: Variable 'opname' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/deparse.c:2030:18: style: Variable 'ri' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/deparse.c:2165:58: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_3/deparse.c:2389:12: style: Variable 'sortby_dir' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:1966:6: style: Condition '!found_row_id_col' is always true [knownConditionTrueFalse] mysql_fdw-REL-2_9_3/mysql_fdw.c:1921:27: note: Assignment 'found_row_id_col=false', assigned value is 0 mysql_fdw-REL-2_9_3/mysql_fdw.c:1942:14: note: Assuming condition is false mysql_fdw-REL-2_9_3/mysql_fdw.c:1966:6: note: Condition '!found_row_id_col' is always true mysql_fdw-REL-2_9_3/mysql_fdw.c:3186:6: style: Condition '!has_whole_row' is always true [knownConditionTrueFalse] mysql_fdw-REL-2_9_3/mysql_fdw.c:3162:24: note: Assignment 'has_whole_row=false', assigned value is 0 mysql_fdw-REL-2_9_3/mysql_fdw.c:3179:21: note: Assuming condition is false mysql_fdw-REL-2_9_3/mysql_fdw.c:3186:6: note: Condition '!has_whole_row' is always true mysql_fdw-REL-2_9_3/mysql_fdw.c:590:18: style: Variable 'tupleSlot' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:807:15: style: Variable 'fsplan' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:940:15: style: Variable 'options' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:1094:18: style: Variable 'field' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:1197:51: style: Parameter 'baserel' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:1200:14: style: Variable 'options' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:2142: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_3/mysql_fdw.c:550:33: note: You might need to cast the function pointer here mysql_fdw-REL-2_9_3/mysql_fdw.c:2142:54: note: Parameter 'resultRelInfo' can be declared as pointer to const mysql_fdw-REL-2_9_3/mysql_fdw.c:2329:13: style: Variable 'attnotnull' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:3535:53: style: Parameter 'values' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:3535:67: style: Parameter 'nulls' can be declared as pointer to const [constParameterPointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:3853:12: style: Variable 'parse' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:4056:20: style: Variable 'query_ec' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:4099:15: style: Variable 'query_pathkey' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:4327:24: style: Variable 'ifpinfo' can be declared as pointer to const [constVariablePointer] mysql_fdw-REL-2_9_3/mysql_fdw.c:5051:18: style: Variable 'typentry' can be declared as pointer to const [constVariablePointer] diff: DONE