Оптимизации и исправления топов.
This commit is contained in:
parent
77fa3dbd5e
commit
0f4b2fb722
25 changed files with 109 additions and 53 deletions
|
|
@ -21,6 +21,6 @@ class Database_IdGenerator {
|
|||
} else {
|
||||
$result = $this->db->fetchOneArray("SELECT last_insert_rowid() AS nextval");
|
||||
}
|
||||
return intval($result['nextval']);
|
||||
return (int)$result['nextval'];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ class Database_PDOStatement extends PDOStatement implements IteratorAggregate
|
|||
}
|
||||
|
||||
function getInt($name) {
|
||||
return intval($this->fields[$name]);
|
||||
return (int)$this->fields[$name];
|
||||
}
|
||||
|
||||
function getBlob($name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue