From 2197489b712fdef8197ca929350bf2537f79217c Mon Sep 17 00:00:00 2001 From: Lu Fei <52o@qq52o.cn> Date: Tue, 24 Oct 2023 07:26:36 +0800 Subject: [PATCH] Sync mysql (#802) --- reference/mysql/functions/mysql-fetch-assoc.xml | 10 +++++++--- reference/mysql/functions/mysql-fetch-object.xml | 10 +++++++--- reference/mysql/functions/mysql-fetch-row.xml | 11 +++++++---- reference/mysql/functions/mysql-get-client-info.xml | 11 +++++++---- reference/mysql/functions/mysql-get-host-info.xml | 11 +++++++---- reference/mysql/functions/mysql-get-server-info.xml | 11 +++++++---- reference/mysql/functions/mysql-set-charset.xml | 6 +++--- 7 files changed, 45 insertions(+), 25 deletions(-) diff --git a/reference/mysql/functions/mysql-fetch-assoc.xml b/reference/mysql/functions/mysql-fetch-assoc.xml index c87fb715a..e442d2c5f 100644 --- a/reference/mysql/functions/mysql-fetch-assoc.xml +++ b/reference/mysql/functions/mysql-fetch-assoc.xml @@ -1,7 +1,8 @@ - - + + + mysql_fetch_assoc @@ -14,7 +15,10 @@ &mysql.alternative.note; mysqli_fetch_assoc - PDOStatement::fetch + + PDOStatement::fetch + with mode as PDO::FETCH_ASSOC + diff --git a/reference/mysql/functions/mysql-fetch-object.xml b/reference/mysql/functions/mysql-fetch-object.xml index 16d3faa6c..d3fe22d9d 100644 --- a/reference/mysql/functions/mysql-fetch-object.xml +++ b/reference/mysql/functions/mysql-fetch-object.xml @@ -1,7 +1,8 @@ - - + + + mysql_fetch_object 从结果集中取得一行作为对象返回 @@ -11,7 +12,10 @@ &mysql.alternative.note; mysqli_fetch_object - PDOStatement::fetch + + PDOStatement::fetch + with mode as PDO::FETCH_OBJ + diff --git a/reference/mysql/functions/mysql-fetch-row.xml b/reference/mysql/functions/mysql-fetch-row.xml index acd8d66d7..618bf6837 100644 --- a/reference/mysql/functions/mysql-fetch-row.xml +++ b/reference/mysql/functions/mysql-fetch-row.xml @@ -1,8 +1,8 @@ - - - + + + mysql_fetch_row 从结果集中取得一行作为枚举数组 @@ -13,7 +13,10 @@ &mysql.alternative.note; mysqli_fetch_row - PDOStatement::fetch + + PDOStatement::fetch + with mode as PDO::FETCH_NUM + diff --git a/reference/mysql/functions/mysql-get-client-info.xml b/reference/mysql/functions/mysql-get-client-info.xml index 37c321bf9..669ccb2b5 100644 --- a/reference/mysql/functions/mysql-get-client-info.xml +++ b/reference/mysql/functions/mysql-get-client-info.xml @@ -1,8 +1,8 @@ - - - + + + mysql_get_client_info 取得 MySQL 客户端信息 @@ -13,7 +13,10 @@ &mysql.alternative.note; mysqli_get_client_info - PDO::getAttribute + + PDO::getAttribute + with attribute as PDO::ATTR_CLIENT_VERSION + diff --git a/reference/mysql/functions/mysql-get-host-info.xml b/reference/mysql/functions/mysql-get-host-info.xml index 5c73b714a..a1d86b200 100644 --- a/reference/mysql/functions/mysql-get-host-info.xml +++ b/reference/mysql/functions/mysql-get-host-info.xml @@ -1,8 +1,8 @@ - - - + + + mysql_get_host_info 取得 MySQL 主机信息 @@ -13,7 +13,10 @@ &mysql.alternative.note; mysqli_get_host_info - PDO::getAttribute + + PDO::getAttribute + with attribute as PDO::ATTR_CONNECTION_STATUS + diff --git a/reference/mysql/functions/mysql-get-server-info.xml b/reference/mysql/functions/mysql-get-server-info.xml index a9a2ced38..c501e4698 100644 --- a/reference/mysql/functions/mysql-get-server-info.xml +++ b/reference/mysql/functions/mysql-get-server-info.xml @@ -1,8 +1,8 @@ - - - + + + mysql_get_server_info 取得 MySQL 服务器信息 @@ -13,7 +13,10 @@ &mysql.alternative.note; mysqli_get_server_info - PDO::getAttribute + + PDO::getAttribute + with attribute as PDO::ATTR_SERVER_VERSION + diff --git a/reference/mysql/functions/mysql-set-charset.xml b/reference/mysql/functions/mysql-set-charset.xml index 5881e270d..20765fa33 100644 --- a/reference/mysql/functions/mysql-set-charset.xml +++ b/reference/mysql/functions/mysql-set-charset.xml @@ -1,8 +1,8 @@ - - - + + + mysql_set_charset 设置客户端的字符集