Skip to content

Commit 8cd7717

Browse files
committed
Fix version logic
1 parent c49d576 commit 8cd7717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Database/SQLite3/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ protected function _truncate(string $table): string
7676
*/
7777
protected function _updateBatch(string $table, array $values, string $index): string
7878
{
79-
if ((float) $this->db->getVersion() >= 3.33) {
79+
if (version_compare($this->db->getVersion(), '3.33.0') >= 0) {
8080
return parent::_updateBatch($table, $values, $index);
8181
}
8282

0 commit comments

Comments
 (0)