[Vtigercrm-developers] adodb version

Adam Heinz amh at metricwise.net
Fri Apr 6 11:02:18 PDT 2012


So I spent spent some time trying to get PDO running beneath ADOdb.
It was easy enough to ask ADOdb to use its built-in PDO wrapper (see
attached patch), but I immediately started seeing weirdness.  When I
attempted to log in, Users->retrieve_entity_info failed.  Digging in,
the select from vtiger_field was reporting 40 rows via $adb->num_rows,
but ten rows in it started returning null data.  Not sure where to
proceed from here, so aborting for now.

In my follow up reading, I came across a slideshow [1] by Oracle that
goes so far as to declare parts of PDO "broken by design" (without
much in the way of supporting details).  I think the next pass I take
at improving database performance, I will look at what is necessary to
use mysqlnd instead of libmysql.

[1] http://schlueters.de/presentations/20101011_ipc_php_mysql/ipc_mysql_php.pdf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdo.patch
Type: application/octet-stream
Size: 807 bytes
Desc: not available
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120406/b1798176/attachment-0002.obj 


More information about the vtigercrm-developers mailing list