mirror of
https://github.com/dg/dibi.git
synced 2025-08-04 13:17:58 +02:00
MySQLi: fixed columns types detection [Closes #6]
This commit is contained in:
@@ -389,6 +389,7 @@ class DibiMySqliDriver extends DibiObject implements IDibiDriver, IDibiReflector
|
|||||||
$types[$value] = substr($key, 12);
|
$types[$value] = substr($key, 12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$types[MYSQLI_TYPE_TINY] = $types[MYSQLI_TYPE_SHORT] = $types[MYSQLI_TYPE_LONG] = 'INT';
|
||||||
}
|
}
|
||||||
|
|
||||||
$count = mysqli_num_fields($this->resultSet);
|
$count = mysqli_num_fields($this->resultSet);
|
||||||
|
Reference in New Issue
Block a user