forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
112897: builtins: return expected error for null arguments to PLpgSQL builtins r=DrewKimball a=DrewKimball This patch adds checks for NULL arguments to the `crdb_internal.plpgsql_close` and `crdb_internal.plpgsql_fetch` builtin functions so that they will now return an expected error, rather than an assertion failure. Fixes cockroachdb#112895 Release note: None 113166: opt: disallow mutations on virtual tables r=DrewKimball a=DrewKimball This patch adds a defensive check to verify that the target of an insert, delete, or update is not a virtual table. Note that virtual tables already disallow all access privileges apart from `SELECT`, but we've seen internal errors due to an (unknown) code path where that check is failing. This patch doesn't add tests because the privilege check is expected to fail before the virtual table check. Fixes cockroachdb#111414 Fixes cockroachdb#111644 Release note: None 113286: kvserver: deflake test base requeue r=arulajmani a=kvoli It was possible for there to be concurrent r/w to the testing `err` value in `TestBaseQueueRequeue` if the succeeds soon loop exited quickly enough. Defer the atomic `processed` increment, so that it blocks the succeeds soon loop from exiting before reading the test `err`. Fixes: cockroachdb#113045 Release note: None Co-authored-by: Drew Kimball <[email protected]> Co-authored-by: Austen McClernon <[email protected]>
- Loading branch information
Showing
6 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters