Browse files

Fix warning

  • Loading branch information...
rouault committed Jul 7, 2013
1 parent 198248a commit fa6acef998116f04c401bb4bb1942ebb1ee74b7b
Showing with 2 additions and 2 deletions.
  1. +2 −2 mapjoin.c
@@ -609,8 +609,8 @@ int msMySQLJoinConnect(layerObj *layer, joinObj *join)
char tmp[4000];
snprintf( tmp, sizeof(tmp), "Failed to connect to SQL server: Error: %s\nHost: %s\nUsername:%s\nPassword:%s\n", mysql_error(joininfo->conn), DB_HOST, DB_USER, DB_PASSWD);
msSetError(MS_QUERYERR, tmp,
msSetError(MS_QUERYERR, "%s",
"msMYSQLLayerOpen()", tmp);
return MS_FAILURE;

0 comments on commit fa6acef

Please sign in to comment.