Re: Remove sqlite2 from trunk
| From: | Andrey Hristov | Date: | Wed, 16 Jun 2010 17:43:52 +0000 |
| Subject: | Re: Remove sqlite2 from trunk | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48808@lists.php.net to get a copy of this message | ||
Kalle,
Kalle Sommer Nielsen wrote:
2010/6/15 Ilia Alshanetsky <ilia@prohost.org>:since ages a tool exists : http://forge.mysql.com/wiki/Converting_to_MySQLi which converts calls to mysql in calls to mysqli. The result might not be pretty but works. As far as I recall it was tested with phpMyAdmin and worked.There is way too much code that uses ext/mysql and ext/mysql does not depend on a legacy library, I don't think we can remove it. As far as mssql, it is the one way to talk to Microsoft SQL from *nix systems, until there are good alternatives for a direct interface, I don't think we should remove it.FreeTDS have an odbc wrapper, which means that it will work with ext/odbc and pdo_odbc aswell, the migration is rather simple here and i think it will be beneficial for both us and the users. As for mysql, I know libmysql is maintained, which is fine and all, but I think its time to deprecate it and consider removing it in favour of mysqli which we have been trying to promote. Like johannes said, a wrapper could be written in either native php, or in C level and im willing to help out with that, if thats the way we need to do it.
Tutorials and articles that builds on mysql is unfortunate when we want to prommote mysqli, but if we want to change it, i think now is better than never, because people will continue to write articles about it if its still exists within the main distro.Andrey