New ncdu, ncdc + btrfssize + misc changes
This commit is contained in:
parent
7cf772d968
commit
07143cfb36
17 changed files with 182 additions and 84 deletions
2
Bug.pm
2
Bug.pm
|
|
@ -103,7 +103,7 @@ sub dbSave {
|
|||
$TUWF::OBJ->dbExec(
|
||||
"INSERT INTO !s (issue, date, closed, summary, name, email, type, status, message, admin) VALUES ($issue, ?, ?, !l)",
|
||||
$self->{table}, $id || $self->{table}, time(), $closed?1:0, \@a);
|
||||
return $TUWF::OBJ->dbRow('SELECT MAX(issue) AS issue FROM !s', $self->{table})->{issue};
|
||||
return $TUWF::OBJ->dbRow('SELECT issue FROM !s ORDER BY date DESC LIMIT 1 ', $self->{table})->{issue};
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue