diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2016-09-27 04:35:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-27 04:35:02 +0300 |
commit | b073766826fac25c8f3558c3d66a5741bdceb91a (patch) | |
tree | 7fbe369d840b4d1d6ee7c6941ce82bfdd2aea650 /tests/PHPUnit/Fixtures | |
parent | 60ab0f1cc3ecbc1f78bd90c2551cb9adba5d73bb (diff) |
do not make log_action.idaction (and foreign keys) BIGINT to prevent large overhead (#10569)
Partial revert https://github.com/piwik/piwik/pull/10548/files
Diffstat (limited to 'tests/PHPUnit/Fixtures')
-rw-r--r-- | tests/PHPUnit/Fixtures/OneVisitorTwoVisits.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/PHPUnit/Fixtures/OneVisitorTwoVisits.php b/tests/PHPUnit/Fixtures/OneVisitorTwoVisits.php index 451cc98b11..d7fe5e51a6 100644 --- a/tests/PHPUnit/Fixtures/OneVisitorTwoVisits.php +++ b/tests/PHPUnit/Fixtures/OneVisitorTwoVisits.php @@ -50,10 +50,11 @@ class OneVisitorTwoVisits extends Fixture $overflow = $this->maxUnsignedIntegerValue; + // overflow in log_visit $table = Common::prefixTable('log_visit'); Db::query("INSERT INTO $table (idvisit) VALUES ($overflow)"); - $table = Common::prefixTable('log_action'); - Db::query("INSERT INTO $table (idaction) VALUES ($overflow)"); + + // overflow in log_link_visit_action $table = Common::prefixTable('log_link_visit_action'); Db::query("INSERT INTO $table (idlink_va) VALUES ($overflow)"); |