MDB2 listTableIndexes()
| From: | Jeff Loiselle | Date: | Fri, 08 Sep 2006 17:30:29 +0000 |
| Subject: | MDB2 listTableIndexes() | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-25087@lists.php.net to get a copy of this message | ||
Hello. Any ideas what this could be? It only gives an error when run
from the CLI. It works fine on the web. Is there something wrong with
my environment?
$dbh = MDB2::connect($dsn);
$dbh->loadModule('Manager');
$indexes = $dbh->manager->listTableIndexes('people');
print_r($indexes);
produces...
_doQuery: [Error message: Could not execute statement]
[Last query: SELECT index_name name FROM user_indexes WHERE
table_name='people' OR table_name='PEOPLE' AND generated='N']
[Native code: 3106]
[Native message: ORA-03106: fatal two-task communication protocol error
]
I can provide a backtrace if necessary.
--
---
Jeff Loiselle
Web Developer
The NewNewMedia Group
http://www.newnewmedia.com