Skip to content

Commit

Permalink
Merge pull request #51 from dutow/fix_ssl_err
Browse files Browse the repository at this point in the history
Remove incorrect assertion and enable assertions in meson CI runner
  • Loading branch information
dutow authored Oct 20, 2023
2 parents 9c83573 + 57586e8 commit 7f8974b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/postgresql-16-src-meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Build postgres
run: |
meson setup build --prefix `pwd`/../inst
meson setup build --prefix `pwd`/../inst --buildtype=debug -Dcassert=true
cd build && ninja && ninja install
working-directory: src

Expand Down
2 changes: 0 additions & 2 deletions src/access/pg_tde_tdemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ pg_tde_create_key_fork(const RelFileLocator *newrlocator, Relation rel)
(errmsg("encrypted internal_key: %s", tde_sprint_key(&encData->internal_key[0]))));
#endif

Assert(encsz == sz - SizeOfRelKeysDataHeader);

if (FileWrite(file, dataEnc, sz, 0, WAIT_EVENT_DATA_FILE_WRITE) != sz)
{
ereport(FATAL,
Expand Down

0 comments on commit 7f8974b

Please sign in to comment.