Skip to content

Commit

Permalink
Sync mysql (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Oct 23, 2023
1 parent 9d23269 commit 2197489
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 25 deletions.
10 changes: 7 additions & 3 deletions reference/mysql/functions/mysql-fetch-assoc.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: HonestQiao Status: ready -->
<refentry xml:id="function.mysql-fetch-assoc" xmlns="http://docbook.org/ns/docbook" xmlns:phd="http://www.php.net/ns/phd">
<!-- EN-Revision: ff4017b6334dae2d5353fe99df8089a828795324 Maintainer: HonestQiao Status: ready -->
<!-- CREDITS: Luffy -->
<refentry xml:id="function.mysql-fetch-assoc" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysql_fetch_assoc</refname>
<refpurpose>
Expand All @@ -14,7 +15,10 @@
&mysql.alternative.note;
<simplelist role="alternatives">
<member><function>mysqli_fetch_assoc</function></member>
<member><methodname phd:args="PDO::FETCH_ASSOC">PDOStatement::fetch</methodname></member>
<member>
<methodname>PDOStatement::fetch</methodname>
with <parameter>mode</parameter> as <constant>PDO::FETCH_ASSOC</constant>
</member>
</simplelist>
</warning>
</refsynopsisdiv>
Expand Down
10 changes: 7 additions & 3 deletions reference/mysql/functions/mysql-fetch-object.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: Avenger Status: ready -->
<refentry xml:id="function.mysql-fetch-object" xmlns="http://docbook.org/ns/docbook" xmlns:phd="http://www.php.net/ns/phd">
<!-- EN-Revision: ff4017b6334dae2d5353fe99df8089a828795324 Maintainer: Avenger Status: ready -->
<!-- CREDITS: Luffy -->
<refentry xml:id="function.mysql-fetch-object" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysql_fetch_object</refname>
<refpurpose>从结果集中取得一行作为对象返回</refpurpose>
Expand All @@ -11,7 +12,10 @@
&mysql.alternative.note;
<simplelist role="alternatives">
<member><function>mysqli_fetch_object</function></member>
<member><methodname phd:args="PDO::FETCH_OBJ">PDOStatement::fetch</methodname></member>
<member>
<methodname>PDOStatement::fetch</methodname>
with <parameter>mode</parameter> as <constant>PDO::FETCH_OBJ</constant>
</member>
</simplelist>
</warning>
</refsynopsisdiv>
Expand Down
11 changes: 7 additions & 4 deletions reference/mysql/functions/mysql-fetch-row.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: HonestQiao Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<refentry xml:id="function.mysql-fetch-row" xmlns="http://docbook.org/ns/docbook" xmlns:phd="http://www.php.net/ns/phd">
<!-- EN-Revision: ff4017b6334dae2d5353fe99df8089a828795324 Maintainer: HonestQiao Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<refentry xml:id="function.mysql-fetch-row" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysql_fetch_row</refname>
<refpurpose>从结果集中取得一行作为枚举数组</refpurpose>
Expand All @@ -13,7 +13,10 @@
&mysql.alternative.note;
<simplelist role="alternatives">
<member><function>mysqli_fetch_row</function></member>
<member><methodname phd:args="PDO::FETCH_NUM">PDOStatement::fetch</methodname></member>
<member>
<methodname>PDOStatement::fetch</methodname>
with <parameter>mode</parameter> as <constant>PDO::FETCH_NUM</constant>
</member>
</simplelist>
</warning>
</refsynopsisdiv>
Expand Down
11 changes: 7 additions & 4 deletions reference/mysql/functions/mysql-get-client-info.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: cbac1ecf71d754707d69bdc344c4031c157eaa54 Maintainer: dallas Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<refentry xml:id="function.mysql-get-client-info" xmlns="http://docbook.org/ns/docbook" xmlns:phd="http://www.php.net/ns/phd">
<!-- EN-Revision: ff4017b6334dae2d5353fe99df8089a828795324 Maintainer: dallas Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<refentry xml:id="function.mysql-get-client-info" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysql_get_client_info</refname>
<refpurpose>取得 MySQL 客户端信息</refpurpose>
Expand All @@ -13,7 +13,10 @@
&mysql.alternative.note;
<simplelist role="alternatives">
<member><function>mysqli_get_client_info</function></member>
<member><methodname phd:args="PDO::ATTR_CLIENT_VERSION">PDO::getAttribute</methodname></member>
<member>
<methodname>PDO::getAttribute</methodname>
with <parameter>attribute</parameter> as <constant>PDO::ATTR_CLIENT_VERSION</constant>
</member>
</simplelist>
</warning>
</refsynopsisdiv>
Expand Down
11 changes: 7 additions & 4 deletions reference/mysql/functions/mysql-get-host-info.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: dallas Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<refentry xml:id="function.mysql-get-host-info" xmlns="http://docbook.org/ns/docbook" xmlns:phd="http://www.php.net/ns/phd">
<!-- EN-Revision: ff4017b6334dae2d5353fe99df8089a828795324 Maintainer: dallas Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<refentry xml:id="function.mysql-get-host-info" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysql_get_host_info</refname>
<refpurpose>取得 MySQL 主机信息</refpurpose>
Expand All @@ -13,7 +13,10 @@
&mysql.alternative.note;
<simplelist role="alternatives">
<member><function>mysqli_get_host_info</function></member>
<member><methodname phd:args="PDO::ATTR_CONNECTION_STATUS">PDO::getAttribute</methodname></member>
<member>
<methodname>PDO::getAttribute</methodname>
with <parameter>attribute</parameter> as <constant>PDO::ATTR_CONNECTION_STATUS</constant>
</member>
</simplelist>
</warning>
</refsynopsisdiv>
Expand Down
11 changes: 7 additions & 4 deletions reference/mysql/functions/mysql-get-server-info.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: dallas Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<refentry xml:id="function.mysql-get-server-info" xmlns="http://docbook.org/ns/docbook" xmlns:phd="http://www.php.net/ns/phd">
<!-- EN-Revision: ff4017b6334dae2d5353fe99df8089a828795324 Maintainer: dallas Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<refentry xml:id="function.mysql-get-server-info" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysql_get_server_info</refname>
<refpurpose>取得 MySQL 服务器信息</refpurpose>
Expand All @@ -13,7 +13,10 @@
&mysql.alternative.note;
<simplelist role="alternatives">
<member><function>mysqli_get_server_info</function></member>
<member><methodname phd:args="PDO::ATTR_SERVER_VERSION">PDO::getAttribute</methodname></member>
<member>
<methodname>PDO::getAttribute</methodname>
with <parameter>attribute</parameter> as <constant>PDO::ATTR_SERVER_VERSION</constant>
</member>
</simplelist>
</warning>
</refsynopsisdiv>
Expand Down
6 changes: 3 additions & 3 deletions reference/mysql/functions/mysql-set-charset.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 4fd68bd86c4b6d2766765bf9ab902082eff9aa62 Maintainer: Jie Dai Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mysql-set-charset" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:phd="http://www.php.net/ns/phd">
<!-- EN-Revision: ff4017b6334dae2d5353fe99df8089a828795324 Maintainer: Jie Dai Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mysql-set-charset" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>mysql_set_charset</refname>
<refpurpose>设置客户端的字符集</refpurpose>
Expand Down

0 comments on commit 2197489

Please sign in to comment.