Skip to content

Commit 8f5ed9f

Browse files
christophvwColinFinck
authored andcommitted
[TESTMAN] do not cast boot_cycles to int, use PDO::PARAM_STR for bigint
1 parent 5e8f185 commit 8f5ed9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

www/www.reactos.org/testman/webservice/lib/WineTest_Writer.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public function finish($test_id, $performance)
233233
);
234234
$stmt->bindValue(":sourceid", (int)$this->_source_id, PDO::PARAM_INT);
235235
$stmt->bindValue(":testid", (int)$test_id, PDO::PARAM_INT);
236-
$stmt->bindValue(":boot_cycles", (int)$performance["boot_cycles"], PDO::PARAM_INT);
236+
$stmt->bindValue(":boot_cycles", $performance["boot_cycles"], PDO::PARAM_STR);
237237
$stmt->bindValue(":context_switches", (int)$performance["context_switches"], PDO::PARAM_INT);
238238
$stmt->bindValue(":interrupts", (int)$performance["interrupts"], PDO::PARAM_INT);
239239
$stmt->bindValue(":reboots", (int)$performance["reboots"], PDO::PARAM_INT);

0 commit comments

Comments
 (0)