Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMatthieu Aubry <matt@piwik.org>2015-11-02 03:46:46 +0300
committerMatthieu Aubry <matt@piwik.org>2015-11-02 03:46:46 +0300
commitf888b0852a4c76681a12a4cfcf4a24f488f249f9 (patch)
tree2ff2cac822758f259e8abf6a2a07ee246bd41fad /core
parent74babf2f2a546292f99c780d261bb0dd9421bbf3 (diff)
parenta13652b5e94c3c17cafa908465d1dd7a4a90f12b (diff)
Merge pull request #9137 from Joey3000/sql_mode_mysql4_1
Make sql_mode compatibile with MySQL 4.1
Diffstat (limited to 'core')
-rw-r--r--core/Db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Db.php b/core/Db.php
index 12798d2ff5..f7eae8c8b2 100644
--- a/core/Db.php
+++ b/core/Db.php
@@ -33,7 +33,7 @@ use Piwik\Db\Adapter;
*/
class Db
{
- const SQL_MODE = 'ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_ZERO_DATE,NO_ZERO_IN_DATE';
+ const SQL_MODE = 'NO_AUTO_VALUE_ON_ZERO';
private static $connection = null;