Re: cvs: pear /MDB2_Schema/MDB2 Schema.php
| From: | Lukas Kahwe Smith | Date: | Mon, 02 Oct 2006 07:52:38 +0000 |
| Subject: | Re: cvs: pear /MDB2_Schema/MDB2 Schema.php | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-44227@lists.php.net to get a copy of this message | ||
Igor Feghali wrote:
ifeghali Mon Oct 2 02:44:37 2006 UTCThinking about it a bit more. The thing is you should not specify a database name in the DSN if you do not want to connect to that database. As such for the most part you do not want to specify a database name when working with MDB2_Schema.Modified files: /pear/MDB2_Schema/MDB2 Schema.php Log:- createDatabase() was trying to use the database before creating it
- dumpDatabase() was passing a non-empty types array to queryAll(), which caused unexpected resultsHow were the results unexpected? The $fields array is build before using the data types specified in the schema. Your change breaks proper formatting of data (especially for LOBs, booleans etc). regards, Lukas