Skip to content

Commit a4d24ad

Browse files
committed
CLOUDSTACK-8146: close search builder using done()
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 68b5440 commit a4d24ad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ public VolumeDaoImpl() {
386386
primaryStorageSearch2.cp();
387387
primaryStorageSearch2.and("displayVolume", primaryStorageSearch2.entity().isDisplayVolume(), Op.EQ);
388388
primaryStorageSearch2.and("isRemoved", primaryStorageSearch2.entity().getRemoved(), Op.NULL);
389+
primaryStorageSearch2.done();
389390

390391
secondaryStorageSearch = createSearchBuilder(SumCount.class);
391392
secondaryStorageSearch.select("sum", Func.SUM, secondaryStorageSearch.entity().getSize());

0 commit comments

Comments
 (0)