Revert "objectcache: detect default getWithSetCallback() set options"
authorHashar <hashar@free.fr>
Wed, 16 Nov 2016 10:35:20 +0000 (10:35 +0000)
committerHashar <hashar@free.fr>
Wed, 16 Nov 2016 10:35:27 +0000 (10:35 +0000)
commit4d487d19429c6370436b1ab0c4f2cc203a674f0d
treede1e492cc4bfb7d2ef16ce69cd62df4a19947db8
parent86448ece43db70f21d591b7d0ce52447664a2600
Revert "objectcache: detect default getWithSetCallback() set options"

Causes HHVM 3.12.7 to segfault and or:
Fatal error: Stack overflow in includes/libs/objectcache/BagOStuff.php on line 754

This reverts commit b47ce21cec3a4340dd37c773210a514350f10297.

Bug: T150833
Change-Id: Ia52fdf65f5e386c0eaa1046328680fb5c8a9081a
13 files changed:
includes/ServiceWiring.php
includes/db/MWLBFactory.php
includes/libs/objectcache/WANObjectCache.php
includes/libs/rdbms/database/DBConnRef.php
includes/libs/rdbms/database/Database.php
includes/libs/rdbms/database/IDatabase.php
includes/libs/rdbms/lbfactory/ILBFactory.php
includes/libs/rdbms/lbfactory/LBFactory.php
includes/libs/rdbms/loadbalancer/ILoadBalancer.php
includes/libs/rdbms/loadbalancer/LoadBalancer.php
includes/libs/rdbms/loadbalancer/LoadBalancerSingle.php
tests/phpunit/includes/db/LBFactoryTest.php
tests/phpunit/includes/libs/objectcache/WANObjectCacheTest.php