summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbackend/backend.php2
-rw-r--r--depend2
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/backend.php b/backend/backend.php
index c35385e..7c5e54b 100755
--- a/backend/backend.php
+++ b/backend/backend.php
@@ -53,12 +53,12 @@ while (true) {
$r=query('SELECT * FROM `builds` WHERE `status`=-128 ORDER BY `ctime` ASC LIMIT 1');
if ($r->rowCount()) {
$build=new sql_build($r->fetch(PDO::FETCH_ASSOC));
- $owner=$build->get_owner();
$build->start=time();
$build->status=-1;
$build->write();
query('UNLOCK TABLES');
debug('Starting build id='.$build->id);
+ $owner=$build->get_owner();
$file=null;
try {
if ($S['conf']['split_setup']) {
diff --git a/depend b/depend
index 4cd7265..e1b6963 100644
--- a/depend
+++ b/depend
@@ -1,4 +1,4 @@
->=dev-lang/php-5.2.2 USE=pdo hash pcntl pcre cli mysqli apache2 curl ctype reflection posix
+>=dev-lang/php-5.2.2 USE=pdo hash pcntl pcre cli mysql apache2 curl ctype reflection posix
>=virtual/mysql-5
sys-apps/portage # In case you use paludis
sys-apps/sed