Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pramsey committed Dec 8, 2023
1 parent ff0dad3 commit 6abbd13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ogr_fdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1978,7 +1978,7 @@ ogrFeatureToSlot(const OGRFeatureH feat, TupleTableSlot* slot, const OgrFdwExecS
snprintf(cstr, 256, "%d-%02d-%02d %02d:%02d:%02d", year, month, day, hour, minute, second);
}
#else
const char* cstr = OGR_F_GetFieldAsISO8601DateTime(feat, ogrfldnumm, NULL);
const char* cstr = OGR_F_GetFieldAsISO8601DateTime(feat, ogrfldnum, NULL);
#endif
nulls[i] = false;
values[i] = pgDatumFromCString(cstr, pgtype, pgtypmod, pginputfunc);
Expand Down

0 comments on commit 6abbd13

Please sign in to comment.