Skip to content
Permalink
Browse files
Clean up debug statements
  • Loading branch information
geographika committed Feb 11, 2020
1 parent cb2f603 commit 91ef9a6e26a52d37fc2481514332ce0928db3d86
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
@@ -544,7 +544,7 @@ if(ORACLE_FOUND AND WITH_ORACLE_PLUGIN)
endif(ORACLE_FOUND AND WITH_ORACLE_PLUGIN)

if(WITH_MSSQL2008)
# Temporarily Suppress warnings for mapmssql2008.c
# Temporarily suppress warnings for mapmssql2008.c
set_source_files_properties(mapmssql2008.c PROPERTIES COMPILE_FLAGS /w)
find_package(ODBC)
if(ODBC_FOUND)
@@ -759,7 +759,7 @@ static void setConnError(msODBCconn *conn)
}

/* Connect to db */
static msODBCconn * mssql2008Connect(char * connString)
static msODBCconn * mssql2008Connect(const char * connString)
{
SQLCHAR outConnString[1024];
SQLSMALLINT outConnStringLen;
@@ -2,7 +2,6 @@ set SQLPASSWORD=Password12!
set SERVER=(local)\SQL2017

sqlcmd -S "%SERVER%" -Q "USE [master]; CREATE DATABASE msautotest;"
REM sqlcmd -S "%SERVER%" -Q "USE [master]; DROP DATABASE msautotest;"

ogr2ogr -s_srs epsg:26915 -t_srs epsg:26915 -f MSSQLSpatial "MSSQL:server=%SERVER%;database=msautotest;User Id=sa;Password=%SQLPASSWORD%;" "query/data/bdry_counpy2.shp" -nln "bdry_counpy2"
ogr2ogr -s_srs epsg:26915 -t_srs epsg:26915 -f MSSQLSpatial "MSSQL:server=%SERVER%;database=msautotest;User Id=sa;Password=%SQLPASSWORD%;" "renderers/data/cities.shp" -nln "cities"
@@ -109,8 +109,6 @@ def has_requires( version_info, gdal_version, requires_list ):
if compare_version(gdal_version, item[len('GDAL=='):]) != 0:
return 0
elif version_info.find( item ) == -1:
print(version_info)
print(item)
return 0

return 1

0 comments on commit 91ef9a6

Please sign in to comment.