Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test failed #4

Open
SongChujun opened this issue May 8, 2020 · 1 comment
Open

test failed #4

SongChujun opened this issue May 8, 2020 · 1 comment

Comments

@SongChujun
Copy link

Hello, I ran the command "pg_prove -U postgres -d postgres encdb/run_test.sql" and got the following error meassege:

image
Any idea on that?

@55199789
Copy link

55199789 commented Feb 12, 2022

There are some bugs in their codes.

  1. src/untrusted/extensions/enc_int4.c line 673:
    resp = enc_float32_div(pSrc1, pTemp, pSrc2); should be resp = enc_int32_div(pSrc1, pTemp, pSrc2);
  2. src/untrusted/extensions/encdb--0.0.1.sql line 143 and 148:
    The return type should be enc_int4 rather than enc_float8

Remember to drop and re-create the extension after re-install the encdb, otherwise, it won't work.


Also please tell me whether you can run the benchmark... I have no idea about how to fix that :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants