Skip to content

Commit 302824c

Browse files
committed
fix allowDistributeScan default value
1 parent 8ec2716 commit 302824c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/alipay/oceanbase/rpc/protocol/payload/impl/execute/syncquery/ObTableQueryAsyncRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class ObTableQueryAsyncRequest extends ObTableAbstractOperationRequest {
4040
private long querySessionId;
4141
private ObQueryOperationType queryType = ObQueryOperationType.QUERY_START;
4242

43-
private boolean allowDistributeScan;
43+
private boolean allowDistributeScan = true;
4444

4545
/**
4646
* Get pcode.

src/main/java/com/alipay/oceanbase/rpc/table/ObTableClientQueryImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class ObTableClientQueryImpl extends AbstractTableQueryImpl {
5050

5151
private Row rowKey; // only used by BatchOperation
5252

53-
private boolean allowDistributeScan;
53+
private boolean allowDistributeScan = true;
5454

5555
/*
5656
* Add aggregation.

0 commit comments

Comments
 (0)