Skip to content

Commit

Permalink
清理代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Mar 24, 2024
1 parent d4e61ce commit 28bb518
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/Components/pgsql/src/Db/Drivers/PdoPgsql/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ class Driver extends PgsqlBase
__construct as private tPdoDriverConstruct;
}

public const OFFLINE_CODE_INDEX = 0;

public function __construct(array $option = [])
{
$option['username'] ??= 'postgres';
Expand Down
2 changes: 0 additions & 2 deletions src/Components/pgsql/src/Db/Drivers/PdoPgsql/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ class Statement extends PgsqlBaseStatement implements IPgsqlStatement
{
use TPdoStatement;

public const OFFLINE_CODE_INDEX = 0;

/**
* 更新最后插入ID.
*/
Expand Down
2 changes: 0 additions & 2 deletions src/Db/Mysql/Drivers/PdoMysql/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ class Driver extends MysqlBase
__construct as private tPdoDriverConstruct;
}

public const OFFLINE_CODE_INDEX = 1;

public function __construct(array $option = [])
{
$option['username'] ??= 'root';
Expand Down
2 changes: 0 additions & 2 deletions src/Db/Mysql/Drivers/PdoMysql/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,4 @@
class Statement extends MysqlBaseStatement implements IMysqlStatement
{
use TPdoStatement;

public const OFFLINE_CODE_INDEX = 1;
}

0 comments on commit 28bb518

Please sign in to comment.