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

Check that buffer is correctly accessed in WHERE clause #1074

Open
stefandrissen opened this issue Oct 10, 2023 · 1 comment
Open

Check that buffer is correctly accessed in WHERE clause #1074

stefandrissen opened this issue Oct 10, 2023 · 1 comment

Comments

@stefandrissen
Copy link

I activated this rule today, it seems to be checking the underlying table and not the actual buffer being used:

block-level on error undo, throw.

define buffer customer for customer.
define buffer bucustomer for customer.

find first customer no-lock no-error.
for each bucustomer
   where bucustomer.custnum > 0
   and   customer.custnum > 0
no-lock:
   // false positive on buffer usage customer.custnum > 0
end.
@gquerret
Copy link
Contributor

Reproduced. Investigating root cause.

@gquerret gquerret changed the title FP: Check that buffer is correctly accessed in WHERE clause Check that buffer is correctly accessed in WHERE clause Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants