The current Pikefarm builds from my machine is not usefull to debug this due to clock scew. So:
#### Making dynamic: modules/Mysql Compiling modules/Mysql/mysql.c Compiling modules/Mysql/result.c B:\test\Pike-v7.8.342\src\modules\Mysql\result.c(688) : error C2143: syntax error : missing ';' before 'type' B:\test\Pike-v7.8.342\src\modules\Mysql\result.c(689) : error C2065: 'res' : undeclared identifier B:\test\Pike-v7.8.342\src\modules\Mysql\result.c(689) : warning C4133: 'function' : incompatible types - from 'int *' to 'string_builder *' B:\test\Pike-v7.8.342\src\modules\Mysql\result.c(690) : error C2065: 'res' : undeclared identifier B:\test\Pike-v7.8.342\src\modules\Mysql\result.c(690) : warning C4133: 'function' : incompatible types - from 'int *' to 'string_builder *' B:\test\Pike-v7.8.342\src\modules\Mysql\result.c(697) : error C2143: syntax error : missing ';' before 'type' B:\test\Pike-v7.8.342\src\modules\Mysql\result.c(707) : error C2065: 'r' : undeclared identifier B:\test\Pike-v7.8.342\src\modules\Mysql\result.c(708) : error C2065: 'res' : undeclared identifier B:\test\Pike-v7.8.342\src\modules\Mysql\result.c(708) : warning C4133: 'function' : incompatible types - from 'int *' to 'string_builder *' B:\test\Pike-v7.8.342\src\modules\Mysql\result.c(710) : error C2065: 'res' : undeclared identifier
*snip*