mirror of
https://github.com/dg/dibi.git
synced 2025-08-27 07:54:21 +02:00
typos
This commit is contained in:
@@ -135,7 +135,7 @@ class DibiOracleDriver extends DibiObject implements IDibiDriver
|
||||
{
|
||||
$this->query("SELECT $sequence.CURRVAL AS ID FROM DUAL");
|
||||
$row = $this->fetch(TRUE);
|
||||
return isset($row['ID']) : (int) $row['ID'] : FALSE;
|
||||
return isset($row['ID']) ? (int) $row['ID'] : FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -349,7 +349,7 @@ class DibiSqlite3Driver extends DibiObject implements IDibiDriver
|
||||
{
|
||||
$count = $this->resultSet->numColumns();
|
||||
$res = array();
|
||||
static $types = array(SQLITE3_INTEGER => 'int', SQLITE3_FLOAT => 'float', SQLITE3_TEXT => 'text', SQLITE3_BLOB => 'blob', or SQLITE3_NULL => 'null');
|
||||
static $types = array(SQLITE3_INTEGER => 'int', SQLITE3_FLOAT => 'float', SQLITE3_TEXT => 'text', SQLITE3_BLOB => 'blob', SQLITE3_NULL => 'null');
|
||||
for ($i = 0; $i < $count; $i++) {
|
||||
$res[] = array(
|
||||
'name' => $this->resultSet->columnName($i),
|
||||
|
Reference in New Issue
Block a user