uawdijnntqw1x1x1
IP : 3.148.231.72
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
kirov.axolotls.ru
/
bitrix
/
modules
/
pull
/
..
/
perfmon
/
lib
/
sql
/
sequence.php
/
/
<?php namespace Bitrix\Perfmon\Sql; class Sequence extends BaseObject { /** * Creates sequence object from tokens. * <p> * Current position should point to the name of the sequence. * * @param Tokenizer $tokenizer Tokens collection. * * @return Sequence */ public static function create(Tokenizer $tokenizer) { $name = $tokenizer->getCurrentToken()->text; $sequence = new self($name); $tokenizer->resetState(); $definition = ''; while (!$tokenizer->endOfInput()) { $definition .= $tokenizer->getCurrentToken()->text; $tokenizer->nextToken(); } $sequence->setBody($definition); return $sequence; } /** * Return DDL for sequence creation. * * @param string $dbType Database type (ORACLE only). * * @return array|string */ public function getCreateDdl($dbType = '') { switch ($dbType) { case "ORACLE": return $this->body; default: return "// ".get_class($this).":getDropDdl for database type [".$dbType."] not implemented"; } } /** * Return DDL for sequence destruction. * * @param string $dbType Database type (ORACLE only). * * @return array|string */ public function getDropDdl($dbType = '') { switch ($dbType) { case "ORACLE": return "DROP SEQUENCE ".$this->name; default: return "// ".get_class($this).":getDropDdl for database type [".$dbType."] not implemented"; } } /** * Return DDL for sequence modification (drop with subsequent create). * * @param BaseObject $target Target object. * @param string $dbType Database type (ORACLE only). * * @return array|string */ public function getModifyDdl(BaseObject $target, $dbType = '') { switch ($dbType) { case "ORACLE": return array( $this->getDropDdl($dbType), $target->getCreateDdl($dbType), ); default: return "// ".get_class($this).":getDropDdl for database type [".$dbType."] not implemented"; } } }
/var/www/axolotl/data/www/kirov.axolotls.ru/bitrix/modules/pull/../perfmon/lib/sql/sequence.php