@mattab opened this issue on September 28th 2014

Maybe a good fix for #6296 - alternative to #6298

sources - https://www.drupal.org/node/805858 - http://stackoverflow.com/a/2925972/3759928

@mattab commented on September 28th 2014

The build failed on MYSQLI - I'll try fix it this week

@tsteur commented on September 29th 2014

The Mysqli solution seems to work, the PDO/MySQL solution only if I specify the option in the PDO constructor as displayed in this example: http://stackoverflow.com/questions/2925831/php-mysql-can-you-distinguish-between-rows-matched-and-rows-affected/2925972#2925972 . Otherwise it does not work - PHP 5.3.10-1ubuntu3.13 with Suhosin-Patch - MySQL Server version: 5.5.35-0ubuntu0.12.04.2 (Ubuntu)

@mattab commented on September 29th 2014

we found the same thing see https://github.com/piwik/piwik/commit/9f9c5a015c7ed2830baba3ce134aef4d2cba0461

@tsteur commented on September 29th 2014

ok, maybe I got a cached version of the diff. Didn't see it.

@mattab commented on September 29th 2014

Note: this change only affects Tracker\Db and not the main Db used in core Piwik. I rather only change TrackerDb for now as we don't yet need this change for core DB.

This issue was closed on September 29th 2014
Powered by GitHub Issue Mirror