Skip to content

Commit bf55db9

Browse files
committed
Add swoole-hook-odbc notes
1 parent 39a9840 commit bf55db9

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

docs/en/guide/extension-notes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ If you use `swoole,swoole-hook-sqlite`, you will enable the coroutine mode of Sw
4646
swoole-hook-sqlite conflicts with the `pdo_sqlite` extension. If you want to use Swoole and `pdo_sqlite`, please delete the pdo_sqlite extension and enable `swoole` and `swoole-hook-sqlite`.
4747
This extension contains an implementation of the coroutine environment for `pdo_sqlite`.
4848

49+
## swoole-hook-odbc
50+
51+
swoole-hook-odbc is not an extension, it's a Hook feature of Swoole.
52+
If you use `swoole,swoole-hook-odbc`, you will enable the coroutine mode of Swoole's `odbc` extension.
53+
54+
swoole-hook-odbc conflicts with the `pdo_odbc` extension. If you want to use Swoole and `pdo_odbc`, please delete the `pdo_odbc` extension and enable `swoole` and `swoole-hook-odbc`.
55+
This extension contains an implementation of the coroutine environment for `pdo_odbc`.
56+
4957
## swow
5058

5159
1. Only PHP 8.0+ is supported.

docs/zh/guide/extension-notes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ swoole-hook-sqlite 不是一个扩展,而是 Swoole 的 Hook 特性。
4343
swoole-hook-sqlite 与 `pdo_sqlite` 扩展冲突。如需使用 Swoole 和 `pdo_sqlite`,请删除 pdo_sqlite 扩展,启用 `swoole``swoole-hook-sqlite` 即可。
4444
该扩展包含了 `pdo_sqlite` 的协程环境的实现。
4545

46+
## swoole-hook-odbc
47+
48+
swoole-hook-odbc 不是一个扩展,而是 Swoole 的 Hook 特性。
49+
如果你在编译时添加了 `swoole,swoole-hook-odbc`,你将启用 Swoole 的 `odbc` 扩展的协程模式。
50+
51+
swoole-hook-odbc 与 `pdo_odbc` 扩展冲突。如需使用 Swoole 和 `pdo_odbc`,请删除 `pdo_odbc` 扩展,启用 `swoole``swoole-hook-odbc` 即可。
52+
该扩展包含了 `pdo_odbc` 的协程环境的实现。
53+
4654
## swow
4755

4856
1. swow 仅支持 PHP 8.0+ 版本。

0 commit comments

Comments
 (0)