From b0c92beb6f269bd49bcc5eda11eae553251e121d Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Thu, 25 Jun 2015 22:00:13 +0200 Subject: [PATCH] Fix a crash in remoteglot.pl with the new SQL stuff. --- remoteglot.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remoteglot.pl b/remoteglot.pl index 9502a71..7846e83 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -1183,7 +1183,7 @@ sub find_clock_start { } local $dbh->{AutoCommit} = 0; $dbh->do('DELETE FROM clock_info WHERE id=?', undef, $id); - $dbh->do('INSERT INTO clock_info (id, white_clock, black_clock, white_clock_target, black_clock_target)', undef, + $dbh->do('INSERT INTO clock_info (id, white_clock, black_clock, white_clock_target, black_clock_target) VALUES (?, ?, ?, ?, ?)', undef, $id, $pos->{'white_clock'}, $pos->{'black_clock'}, $white_clock_target, $black_clock_target); $dbh->commit; } -- 2.39.2