Skip to content

Commit 085a18f

Browse files
committed
fix get out of index
1 parent 00a074f commit 085a18f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ public void setAggPropertiesNames(List<String> columnNames) {
373373

374374
public Map<String, Object> getSimpleProperties() {
375375
Map<String, Object> values = new HashMap<String, Object>((int) propertiesValues.size());
376-
for (int i = 0; i < propertiesNames.size(); i++) {
376+
for (int i = 0; i < propertiesNames.size() && i < propertiesValues.size(); i++) {
377377
values.put(propertiesNames.get(i), propertiesValues.get(i).getValue());
378378
}
379379
return values;

0 commit comments

Comments
 (0)