Skip to content

Commit

Permalink
Fix issue with PostgreSQL 2nd level dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
jbo-ads committed Jul 15, 2019
1 parent 98a4f43 commit a785e62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/dimension_pg.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ static void _mapcache_dimension_postgresql_bind_parameters(mapcache_context *ctx

paramidx = VOIDP2INT(apr_hash_get(param_indexes,":dim",APR_HASH_KEY_STRING));
if (paramidx) {
paramidx-=1;
(*paramValues)[paramidx] = dim_value;
(*paramLengths)[paramidx] = strlen(dim_value);
(*paramFormats)[paramidx] = 0;
Expand Down

0 comments on commit a785e62

Please sign in to comment.