Skip to content

Commit

Permalink
fix swoole-hook
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywhalecc committed Feb 4, 2024
1 parent 421b383 commit 7303506
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/SPC/builder/extension/swoole_hook_mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
#[CustomExt('swoole-hook-mysql')]
class swoole_hook_mysql extends Extension
{
public function getDistName(): string
{
return 'swoole';
}

public function getUnixConfigureArg(): string
{
// pdo_mysql doesn't need to be disabled
Expand Down
5 changes: 5 additions & 0 deletions src/SPC/builder/extension/swoole_hook_pgsql.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
#[CustomExt('swoole-hook-pgsql')]
class swoole_hook_pgsql extends Extension
{
public function getDistName(): string
{
return 'swoole';
}

public function getUnixConfigureArg(): string
{
// pdo_pgsql need to be disabled
Expand Down
5 changes: 5 additions & 0 deletions src/SPC/builder/extension/swoole_hook_sqlite.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
#[CustomExt('swoole-hook-sqlite')]
class swoole_hook_sqlite extends Extension
{
public function getDistName(): string
{
return 'swoole';
}

public function getUnixConfigureArg(): string
{
// pdo_pgsql need to be disabled
Expand Down

0 comments on commit 7303506

Please sign in to comment.