PersistentResourceStore only stores SweepableResourceData
commit327ef99aa210f69e7988f10a0faa7a8d49b92f8a
authorEdwin Smith <smith@fb.com>
Wed, 3 Dec 2014 17:44:44 +0000 (3 09:44 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Thu, 4 Dec 2014 17:00:48 +0000 (4 09:00 -0800)
tree05b6aba2536ac586bf816c17be65153ff80838d9
parentf4c9d79f648fc30f44bf0af809da86d0fe9d188a
PersistentResourceStore only stores SweepableResourceData

Summary: Tighten up the API, remove dead size() method, pass std::strings
instead of c-strings.

Reviewed By: @markw65

Differential Revision: D1715896
hphp/runtime/base/persistent-resource-store.cpp
hphp/runtime/base/persistent-resource-store.h
hphp/runtime/ext/mysql/ext_mysql.cpp
hphp/runtime/ext/mysql/ext_mysql.h
hphp/runtime/ext/mysql/mysql_common.cpp
hphp/runtime/ext/mysql/mysql_common.h
hphp/runtime/ext/pdo/ext_pdo.cpp
hphp/runtime/ext/pdo_driver.cpp
hphp/runtime/ext/pdo_driver.h
hphp/runtime/ext/sockets/ext_sockets.cpp