Changeset View
Changeset View
Standalone View
Standalone View
src/aphront/storage/connection/AphrontIsolatedDatabaseConnection.php
| Show All 16 Lines | public function __construct(array $configuration) { | ||||
| if (self::$nextInsertID === null) { | if (self::$nextInsertID === null) { | ||||
| // Generate test IDs into a distant ID space to reduce the risk of | // Generate test IDs into a distant ID space to reduce the risk of | ||||
| // collisions and make them distinctive. | // collisions and make them distinctive. | ||||
| self::$nextInsertID = 55555000000 + mt_rand(0, 1000); | self::$nextInsertID = 55555000000 + mt_rand(0, 1000); | ||||
| } | } | ||||
| } | } | ||||
| public function openConnection() { | |||||
| return; | |||||
| } | |||||
| public function close() { | public function close() { | ||||
| return; | return; | ||||
| } | } | ||||
| public function escapeUTF8String($string) { | public function escapeUTF8String($string) { | ||||
| return '<S>'; | return '<S>'; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 93 Lines • Show Last 20 Lines | |||||