Skip to content

Commit 5cbd12c

Browse files
committed
Fix partitions() & tableSize()
1 parent 0203f60 commit 5cbd12c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Client.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -740,12 +740,11 @@ public function dropOldPartitions($table_name, $days_ago, $count_partitons_per_o
740740
}
741741
}
742742

743+
$result=[];
743744
foreach ($drop as $partition_id) {
744-
$this->dropPartition($table_name, $partition_id);
745+
$result[$partition_id]=$this->dropPartition($table_name, $partition_id);
745746
}
746747

747-
return $drop;
748+
return $result;
748749
}
749-
750-
751750
}

0 commit comments

Comments
 (0)