Changeset 736
- Timestamp:
- Jul 10, 2015, 2:39:24 PM (9 years ago)
- Location:
- branches/branch-1.5
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1.5
-
branches/branch-1.5/docs/contribute/release.rst
r725 r736 77 77 cd zoo-project/zoo-kernel 78 78 autoconf 79 # In case you did not build ZOO-Kernel 79 80 cd ../../.. 81 # In case you built ZOO-Kernel, then remove the generated file from the archive 82 make clean 83 rm -f {Makefile,ZOOMakefile.opts} 84 cd ../../.. 85 # In case you built one or more ZOO-Services, then remove the generated file from the archive 86 rm $(find ./zoo-project-$VERSION/zoo-project/zoo-services -name "*zo") 80 87 # Remove documentation from the archive 81 rm -rf ./zoo-project-$VERSION/ docs88 rm -rf ./zoo-project-$VERSION/{docs,workshop} 82 89 tar -cvjf ./zoo-project-$VERSION.tar.bz2 ./zoo-project-$VERSION 83 90 zip -r ./zoo-project-$VERSION.zip ./zoo-project-$VERSION -
branches/branch-1.5/zoo-project/zoo-kernel/Makefile.in
r673 r736 40 40 41 41 sqlapi.o: sqlapi.c sqlapi.h 42 g++ -fPIC ${ XML2CFLAGS} ${CFLAGS} ${JSCFLAGS} ${JS_ENABLED} -c sqlapi.c42 g++ -fPIC ${GDAL_CFLAGS} ${XML2CFLAGS} ${CFLAGS} ${JSCFLAGS} ${JS_ENABLED} -c sqlapi.c 43 43 44 44 caching.o: caching.c … … 112 112 ln -s ${LIBZOO_SERVICE} libzoo_service.${EXT}) 113 113 install -d ${DESTDIR}${INST_INCLUDE}/zoo 114 install s ervice.h service_internal.h ${DESTDIR}${INST_INCLUDE}/zoo114 install sqlapi.h service.h service_internal.h ${DESTDIR}${INST_INCLUDE}/zoo 115 115 116 116 clean: -
branches/branch-1.5/zoo-project/zoo-kernel/sqlapi.c
r654 r736 183 183 sprintf(sqlQuery,"INSERT INTO %s.files (uuid,filename,nature,name) VALUES ('%s','%s','%s',NULL);",schema->value,uusid->value,filename,type); 184 184 execSql(conf,sqlQuery); 185 free(sqlQuery); 185 186 cleanUpResultSet(conf); 186 187 } … … 206 207 uusid->value,sid->value,osid->value); 207 208 execSql(conf,sqlQuery); 209 free(sqlQuery); 208 210 cleanUpResultSet(conf); 209 211 } … … 229 231 sprintf(sqlQuery,"INSERT INTO %s.responses (content,uuid) VALUES ($$%s$$,$$%s$$);",schema->value,tmps,sid->value); 230 232 execSql(conf,sqlQuery); 233 free(sqlQuery); 234 free(tmps); 231 235 cleanUpResultSet(conf); 232 236 } … … 250 254 execSql(conf,sqlQuery); 251 255 cleanUpResultSet(conf); 256 free(sqlQuery); 252 257 return 0; 253 258 } … … 280 285 } 281 286 cleanUpResultSet(conf); 287 free(sqlQuery); 282 288 return (char*)tmp1; 283 289 } … … 316 322 tmp1=NULL; 317 323 cleanUpResultSet(conf); 324 free(sqlQuery); 318 325 return (char*)tmp1; 319 326 } … … 338 345 cleanUpResultSet(conf); 339 346 close_sql(conf); 347 free(sqlQuery); 340 348 end_sql(); 341 349 } … … 363 371 cleanUpResultSet(conf); 364 372 close_sql(conf); 373 free(sqlQuery); 365 374 end_sql(); 366 375 } … … 397 406 if(hasRes<0) 398 407 tmp1=NULL; 408 free(sqlQuery); 399 409 return (char*)tmp1; 400 410 } … … 429 439 if(hasRes<0) 430 440 addToMap(statusInfo,"Status","Failed"); 441 free(sqlQuery); 431 442 return; 432 443 } … … 460 471 } 461 472 cleanUpResultSet(conf); 473 free(sqlQuery); 462 474 return res; 463 475 }
Note: See TracChangeset
for help on using the changeset viewer.