DB_Nestedset, quoteIdentifier and Oracle
| From: | Olivier Mansour | Date: | Thu, 24 Nov 2005 18:05:27 +0000 |
| Subject: | DB_Nestedset, quoteIdentifier and Oracle | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-40499@lists.php.net to get a copy of this message | ||
Hello All,
(please apologize for my english)
I'am testing DB_Nestedset with an Oracle database and done two few changes to make it work
1/ patch for DB_Nestedset 1.3.6
ligne 975
replace : $parent['norder'] = is_null($tmp_order) ? 0 : $tmp_order;
by : $parent['norder'] = (is_null($tmp_order) or empty($tmp_order)) ? 0 : $tmp_order;
2/ why in the DB/oci8.php file there is no quoteIdentifier method ?
I propose :
function quoteIdentifier ($str) {
return ($str);
}
because Oracle dont want identifier to be quoted.
How may I propose this to the packages maintainers ?
Thanks
Olivier