Skip to content

Commit e4d21d0

Browse files
[PHP 8.4] mysqli拡張モジュール
1 parent 14d9ce5 commit e4d21d0

File tree

6 files changed

+38
-39
lines changed

6 files changed

+38
-39
lines changed

reference/mysqli/constants.xml

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -263,25 +263,24 @@
263263
</para>
264264
</listitem>
265265
</varlistentry>
266-
<!-- to be translated -->
267266
<varlistentry xml:id="constant.mysqli-store-result-copy_data">
268267
<term>
269268
<constant>MYSQLI_STORE_RESULT_COPY_DATA</constant>
270269
(<type>int</type>)
271270
</term>
272271
<listitem>
273272
<simpara>
274-
As of PHP 8.1, this constants no longer has any effect.
275-
Before PHP 8.1, this constant is used to copy results
276-
from the internal <literal>mysqlnd</literal> buffer
277-
into the PHP variables fetched.
278-
By default, <literal>mysqlnd</literal> will use a reference logic
279-
to avoid copying and duplicating results held in memory.
280-
For certain result sets, for example, result sets with many small rows,
281-
the copy approach can reduce the overall memory usage
282-
because PHP variables holding results may be released earlier.
283-
Available with <literal>mysqlnd</literal> only.
284-
Deprecated as of PHP 8.4.0.
273+
PHP 8.1 以降、この定数はもはや意味をなしません。
274+
PHP 8.1 より前は、
275+
<literal>mysqlnd</literal> の内部バッファに格納されたフェッチ結果を
276+
PHP 変数へコピーするために使用されていました。
277+
デフォルトでは <literal>mysqlnd</literal> は、メモリ内の結果を
278+
重複させないようにコピーではなく参照ロジックを使用します。
279+
しかし、特定の結果セット、たとえば多数の小さな行を持つ結果セットでは、
280+
PHP 変数を個別で早期に解放できるコピー方式の方が
281+
全体的なメモリ使用量を削減る可能性があります。
282+
<literal>mysqlnd</literal> のみで利用可能です。
283+
PHP 8.4.0 で非推奨となりました。
285284
</simpara>
286285
</listitem>
287286
</varlistentry>
@@ -820,7 +819,7 @@
820819
</term>
821820
<listitem>
822821
<para>
823-
Field is defined as <literal>VECTOR</literal>.
822+
フィールドは <literal>VECTOR</literal> と定義されています。
824823
</para>
825824
</listitem>
826825
</varlistentry>
@@ -861,7 +860,7 @@
861860
</term>
862861
<listitem>
863862
<para>
864-
Removed as of PHP 8.4.0.
863+
PHP 8.4.0 で削除されました。
865864
</para>
866865
</listitem>
867866
</varlistentry>
@@ -892,7 +891,7 @@
892891
</term>
893892
<listitem>
894893
<para>
895-
Removed as of PHP 8.4.0.
894+
PHP 8.4.0 で削除されました。
896895
</para>
897896
</listitem>
898897
</varlistentry>
@@ -913,7 +912,7 @@
913912
</term>
914913
<listitem>
915914
<para>
916-
Removed as of PHP 8.4.0.
915+
PHP 8.4.0 で削除されました。
917916
</para>
918917
</listitem>
919918
</varlistentry>
@@ -1021,7 +1020,7 @@
10211020
<listitem>
10221021
<para>
10231022
権限テーブルをリフレッシュします。
1024-
Deprecated as of PHP 8.4.0.
1023+
PHP 8.4.0 で非推奨となりました。
10251024
</para>
10261025
</listitem>
10271026
</varlistentry>
@@ -1034,7 +1033,7 @@
10341033
<para>
10351034
ログをフラッシュします。<acronym>SQL</acronym> 文
10361035
<literal>FLUSH LOGS</literal> を実行するのと同じです。
1037-
Deprecated as of PHP 8.4.0.
1036+
PHP 8.4.0 で非推奨となりました。
10381037
</para>
10391038
</listitem>
10401039
</varlistentry>
@@ -1047,7 +1046,7 @@
10471046
<para>
10481047
テーブルキャッシュをフラッシュします。<acronym>SQL</acronym> 文
10491048
<literal>FLUSH TABLES</literal> を実行するのと同じです。
1050-
Deprecated as of PHP 8.4.0.
1049+
PHP 8.4.0 で非推奨となりました。
10511050
</para>
10521051
</listitem>
10531052
</varlistentry>
@@ -1060,7 +1059,7 @@
10601059
<para>
10611060
ホストキャッシュをフラッシュします。<acronym>SQL</acronym> 文
10621061
<literal>FLUSH HOSTS</literal> を実行するのと同じです。
1063-
Deprecated as of PHP 8.4.0.
1062+
PHP 8.4.0 で非推奨となりました。
10641063
</para>
10651064
</listitem>
10661065
</varlistentry>
@@ -1072,7 +1071,7 @@
10721071
<listitem>
10731072
<para>
10741073
<constant>MYSQLI_REFRESH_SLAVE</constant> のエイリアスです。
1075-
PHP 8.1.0 以降で利用可能です。Deprecated as of PHP 8.4.0.
1074+
PHP 8.1.0 以降で利用可能です。PHP 8.4.0 で非推奨となりました。
10761075
</para>
10771076
</listitem>
10781077
</varlistentry>
@@ -1085,7 +1084,7 @@
10851084
<para>
10861085
状態変数をリセットします。<acronym>SQL</acronym> 文
10871086
<literal>FLUSH STATUS</literal> を実行するのと同じです。
1088-
Deprecated as of PHP 8.4.0.
1087+
PHP 8.4.0 で非推奨となりました。
10891088
</para>
10901089
</listitem>
10911090
</varlistentry>
@@ -1097,7 +1096,7 @@
10971096
<listitem>
10981097
<para>
10991098
スレッドキャッシュをフラッシュします。
1100-
Deprecated as of PHP 8.4.0.
1099+
PHP 8.4.0 で非推奨となりました。
11011100
</para>
11021101
</listitem>
11031102
</varlistentry>
@@ -1112,7 +1111,7 @@
11121111
マスタサーバーの情報をリセットしてスレーブを再起動します。
11131112
<acronym>SQL</acronym> 文
11141113
<literal>RESET SLAVE</literal> を実行するのと同じです。
1115-
Deprecated as of PHP 8.4.0.
1114+
PHP 8.4.0 で非推奨となりました。
11161115
</para>
11171116
</listitem>
11181117
</varlistentry>
@@ -1127,7 +1126,7 @@
11271126
バイナリログインデックスにあるバイナリログファイルを削除してインデックスファイルを切り詰めます。
11281127
<acronym>SQL</acronym> 文
11291128
<literal>RESET MASTER</literal> を実行するのと同じです。
1130-
Deprecated as of PHP 8.4.0.
1129+
PHP 8.4.0 で非推奨となりました。
11311130
</para>
11321131
</listitem>
11331132
</varlistentry>
@@ -1140,7 +1139,7 @@
11401139
<listitem>
11411140
<simpara>
11421141
Closes and reopens the backup log files.
1143-
Deprecated as of PHP 8.4.0.
1142+
PHP 8.4.0 で非推奨となりました。
11441143
</simpara>
11451144
</listitem>
11461145
</varlistentry>

reference/mysqli/mysqli/kill.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@
7373
<row>
7474
<entry>8.4.0</entry>
7575
<entry>
76-
Both <methodname>mysqli::kill</methodname> and
77-
<function>mysqli_kill</function> are now deprecated. Use the
78-
<literal>KILL</literal> SQL command instead.
76+
<methodname>mysqli::kill</methodname>
77+
<function>mysqli_kill</function> は非推奨となりました。代わりに
78+
<literal>KILL</literal> SQL コマンドを使用してください。
7979
</entry>
8080
</row>
8181
</tbody>

reference/mysqli/mysqli/ping.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@
7878
<row>
7979
<entry>8.4.0</entry>
8080
<entry>
81-
Both <methodname>mysqli::ping</methodname> and
82-
<function>mysqli_ping</function> are now deprecated.
83-
The <literal>reconnect</literal> feature has not been available
84-
as of PHP 8.2.0, making this function obsolete.
81+
<methodname>mysqli::ping</methodname>
82+
<function>mysqli_ping</function> は非推奨となりました。
83+
<literal>reconnect</literal> 機能は
84+
PHP 8.2.0 で廃止されたため、この関数はもはや不要です。
8585
</entry>
8686
</row>
8787
</tbody>

reference/mysqli/mysqli/refresh.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@
7474
<row>
7575
<entry>8.4.0</entry>
7676
<entry>
77-
Both <methodname>mysqli::refresh</methodname> and
78-
<function>mysqli_refresh</function> are now deprecated.
79-
Use <literal>FLUSH</literal> SQL commands instead.
77+
<methodname>mysqli::refresh</methodname>
78+
<function>mysqli_refresh</function> は非推奨となりました。代わりに
79+
<literal>FLUSH</literal> SQL コマンドを使用してください。
8080
</entry>
8181
</row>
8282
</tbody>

reference/mysqli/mysqli/store-result.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@
113113
<row>
114114
<entry>8.4.0</entry>
115115
<entry>
116-
Passing the <parameter>mode</parameter> parameter is now deprecated.
117-
The parameter has had no effect as of PHP 8.1.0.
116+
<parameter>mode</parameter> パラメータの指定は非推奨となりました。
117+
PHP 8.1 以降では、このパラメータを指定しても意味はありません。
118118
</entry>
119119
</row>
120120
</tbody>

reference/mysqli/mysqli_stmt/attr-set.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
カーソルの使用時にサーバーからいちどに取得する行数。
7272
<parameter>value</parameter> に指定できる値の範囲は
7373
1 から unsigned long の最大値までで、デフォルトは 1 です。
74-
Removed as of PHP 8.4.0.
74+
PHP 8.4.0 で削除されました。
7575
</entry>
7676
</row>
7777
</tbody>

0 commit comments

Comments
 (0)