1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-20 12:51:40 +02:00

* fixed identifier delimitation in DibiPostgreDriver (table.col -> table."col")

* better SQL syntax highlighting
* removed addslashes from DibiPostgreDriver
This commit is contained in:
David Grudl
2007-12-01 17:24:49 +00:00
parent cbd37021f2
commit 7d964e054b
6 changed files with 18 additions and 15 deletions

View File

@@ -320,8 +320,7 @@ class DibiMySqliDriver extends NObject implements DibiDriverInterface
$meta = array();
for ($i = 0; $i < $count; $i++) {
// items 'name' and 'table' are required
$info = (array) mysqli_fetch_field_direct($this->resultset, $i);
$meta[] = $info;
$meta[] = (array) mysqli_fetch_field_direct($this->resultset, $i);
}
return $meta;
}