MDB2 dropDatabase issue

From: Date: Wed, 18 Oct 2006 09:50:43 +0000
Subject: MDB2 dropDatabase issue
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25496@lists.php.net to get a copy of this message
Hello, I'm getting crazy debugging a script where a DB table is dropped. In the same script I repeteadly create and drop the same pgsql table (it's a unit test script), this is the code: $new_db_name = 'test_geodb'; $mdb2->loadModule('Manager'); // Pass $this->assertFalse(PEAR::isError($mdb2)); // Pass $this->assertTrue(in_array($new_db_name, $mdb2->listDatabases())); // Pass $this->assertTrue(MDB2_OK == $mdb2->dropDatabase($new_db_name)); // Fail $this->assertFalse(in_array($new_db_name, $mdb2->listDatabases())); Am I missing something? This is pear list: MDB2 2.2.2 stable MDB2_Driver_ibase 1.2.1 stable MDB2_Driver_mysql 1.2.2 stable MDB2_Driver_pgsql 1.2.2 stable -- Alessandro Pasotti itOpen - "Open Solutions for the Net Age" w3: www.itopen.it Linux User# 167502

« previous php.pear.general (#25496) next »