Skip to content

2.25.2.0-b254

@arpang arpang tagged this 29 Mar 15:11
Summary:
yb_single_row_update_or_delete_path() incorrectly assumes that leftop of the WHERE clause is a Var. Remove this assumption using the following logic:

Single row path is applicable iff the WHERE clause specifies only the values of all the PK columns. So, if the leftop is not a Var, single row path is not possible.
Jira: DB-15899

Test Plan:
   ./yb_build.sh --java-test 'org.yb.pgsql.TestPgRegressPushdown'

Reviewers: kramanathan

Reviewed By: kramanathan

Subscribers: yql

Differential Revision: https://phorge.dev.yugabyte.com/D42809
Assets 2
Loading