-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[YSQL][SQLsmith] Delete statement involving triggers fails assertion in debug build for invalid tupleid #11303
Comments
Which build did you use ?
|
Build is bd9950e. I guess these triggers are also important, especially since it fails in trigger.c:
|
The inserted data also mattered, added it now, can reproduce locally on a clean DB. |
With one row in the table:
I added two triggers and populated table_create_org table. |
Just to make sure, but with the full command including the |
The above is not relevant to YB. |
If these constructs cause crashes, then we should disable them. I'd have to change SQLsmith to exclude pg_* functions, but this seems like we'd just hide the existing problems. (Haven't checked if it's actually related to this functino) |
Without accessing catalog, the following query crashes:
I suggest changing the title of this issue to: Delete statement involving triggers fails assertion in debug build for invalid tupleid |
Jira Link: DB-1028
Description
SQLsmith found this, the null pointer looks like it will cause problems later on. Can be reproduced:
Failure in tserver logs:
The text was updated successfully, but these errors were encountered: