Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/storage/lisk/PhabricatorLiskDAO.php
| Show First 20 Lines • Show All 181 Lines • ▼ Show 20 Lines | public function getTableName() { | ||||
| } | } | ||||
| } | } | ||||
| /** | /** | ||||
| * @task config | * @task config | ||||
| */ | */ | ||||
| abstract public function getApplicationName(); | abstract public function getApplicationName(); | ||||
| protected function getConnectionNamespace() { | protected function getDatabaseName() { | ||||
| return self::getStorageNamespace().'_'.$this->getApplicationName(); | return self::getStorageNamespace().'_'.$this->getApplicationName(); | ||||
| } | } | ||||
| /** | /** | ||||
| * Break a list of escaped SQL statement fragments (e.g., VALUES lists for | * Break a list of escaped SQL statement fragments (e.g., VALUES lists for | ||||
| * INSERT, previously built with @{function:qsprintf}) into chunks which will | * INSERT, previously built with @{function:qsprintf}) into chunks which will | ||||
| * fit under the MySQL 'max_allowed_packet' limit. | * fit under the MySQL 'max_allowed_packet' limit. | ||||
| * | * | ||||
| * Chunks are glued together with `$glue`, by default ", ". | * Chunks are glued together with `$glue`, by default ", ". | ||||
| * | * | ||||
| * If a statement is too large to fit within the limit, it is broken into | * If a statement is too large to fit within the limit, it is broken into | ||||
| ▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines | |||||