Skip to content

Commit

Permalink
Merge pull request #203 from jbo-ads/fix-dimension-pg
Browse files Browse the repository at this point in the history
Fix issue with PostgreSQL 2nd level dimensions
  • Loading branch information
jbo-ads authored Jul 15, 2019
2 parents 98a4f43 + a785e62 commit 357ec11
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 357ec11

Please sign in to comment.