Issue Type: Improvement Created: 2008-11-28T09:41:23.000+0000 Last Updated: 2008-12-21T07:55:50.000+0000 Status: Resolved Fix version(s): - 1.7.2 (23/Dec/08)
Reporter: Mickael Perraud (mikaelkael) Assignee: Mickael Perraud (mikaelkael) Tags: - Zend_Db
Related issues: - ZF-5082
Add the server version in PHP format (i.e.: "5.0.67") to be able to use version_compare
Posted by Mickael Perraud (mikaelkael) on 2008-11-28T13:10:40.000+0000
Added with SVN12941.
Tested with adapters: Oracle, Mysqli, Pdo_Oci, Pdo_Mysql, Pdo_Sqlite, Pdo_Pgsql.
Must be tested with: Db2 and Pdo_Mssql
Must add documentation for the feature
Posted by Mickael Perraud (mikaelkael) on 2008-11-30T01:15:30.000+0000
SVN12958 adds support for Pdo_Ibm (now also tested with Db2 and Pdo_Ibm)
Posted by Mickael Perraud (mikaelkael) on 2008-11-30T03:09:08.000+0000
SVN12960 adds supports for Pdo_Mssql
<pre class="highlight"> phpunit --verbose --group ZF-5099 Zend_Db_AllTests PHPUnit 3.3.5 by Sebastian Bergmann. Zend Framework - Zend_Db Zend_Db_Adapter_StaticTest . Zend_Db_Adapter_Db2Test . Zend_Db_Adapter_MysqliTest . Zend_Db_Adapter_OracleTest . Zend_Db_Adapter_Pdo_IbmTest . Zend_Db_Adapter_Pdo_MssqlTest . Zend_Db_Adapter_Pdo_MysqlTest . Zend_Db_Adapter_Pdo_OciTest . Zend_Db_Adapter_Pdo_PgsqlTest . Zend_Db_Adapter_Pdo_SqliteTest . Time: 14 seconds OK (10 tests, 30 assertions)
Posted by Mickael Perraud (mikaelkael) on 2008-12-15T13:45:42.000+0000
Merged to 1.7-branch
Posted by Wil Sinclair (wil) on 2008-12-21T05:12:14.000+0000
Is this a new feature? If so, it should not be merged to the 1.7 branch and should wait for the next minor release: 1.8. Don't worry about backing it out now, but please remember this for future releases.
Posted by Mickael Perraud (mikaelkael) on 2008-12-21T07:55:47.000+0000
I expose this method to public but it is mainly used internally to resolve ZF-5082. I asked Ralph before merging it ;)
Have you found an issue?
See the Overview section for more details.