From c3d061893b3d49ad725d1518ff0c27db54669015 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Mon, 14 Jan 2013 04:06:12 -0500 Subject: [PATCH] Don't attempt to write to 'system' table if it doesn't exist --- bin/updatedb.sh | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/bin/updatedb.sh b/bin/updatedb.sh index bc86d04..9f2aef1 100755 --- a/bin/updatedb.sh +++ b/bin/updatedb.sh @@ -159,6 +159,11 @@ } } + // escape if 'system' table does not exist + if ($version < 2013011000) { + return; + } + $DB->query("UPDATE " . $DB->quote_identifier('system') ." SET " . $DB->quote_identifier('value') . " = ?" ." WHERE " . $DB->quote_identifier('name') . " = ?", -- Gitblit v1.9.1