diff --git a/reference/mysqli/constants.xml b/reference/mysqli/constants.xml index 2230976c24..ca1e62c498 100644 --- a/reference/mysqli/constants.xml +++ b/reference/mysqli/constants.xml @@ -1,6 +1,6 @@ - + &reftitle.constants; @@ -263,7 +263,6 @@ - MYSQLI_STORE_RESULT_COPY_DATA @@ -271,16 +270,17 @@ - As of PHP 8.1, this constants no longer has any effect. - Before PHP 8.1, this constant is used to copy results - from the internal mysqlnd buffer - into the PHP variables fetched. - By default, mysqlnd will use a reference logic - to avoid copying and duplicating results held in memory. - For certain result sets, for example, result sets with many small rows, - the copy approach can reduce the overall memory usage - because PHP variables holding results may be released earlier. - Available with mysqlnd only. + PHP 8.1 以降、この定数はもはや意味をなしません。 + PHP 8.1 より前は、 + mysqlnd の内部バッファに格納されたフェッチ結果を + PHP 変数へコピーするために使用されていました。 + デフォルトでは mysqlnd は、メモリ内の結果を + 重複させないようにコピーではなく参照ロジックを使用します。 + しかし、特定の結果セット、たとえば多数の小さな行を持つ結果セットでは、 + PHP 変数を個別で早期に解放できるコピー方式の方が + 全体的なメモリ使用量を削減る可能性があります。 + mysqlnd のみで利用可能です。 + PHP 8.4.0 で非推奨となりました。 @@ -812,6 +812,17 @@ + + + MYSQLI_TYPE_VECTOR + (int) + + + + フィールドは VECTOR と定義されています。 + + + MYSQLI_NEED_DATA @@ -849,6 +860,7 @@ + PHP 8.4.0 で削除されました。 @@ -879,6 +891,7 @@ + PHP 8.4.0 で削除されました。 @@ -899,6 +912,7 @@ + PHP 8.4.0 で削除されました。 @@ -1006,6 +1020,7 @@ 権限テーブルをリフレッシュします。 + PHP 8.4.0 で非推奨となりました。 @@ -1018,6 +1033,7 @@ ログをフラッシュします。SQLFLUSH LOGS を実行するのと同じです。 + PHP 8.4.0 で非推奨となりました。 @@ -1030,6 +1046,7 @@ テーブルキャッシュをフラッシュします。SQLFLUSH TABLES を実行するのと同じです。 + PHP 8.4.0 で非推奨となりました。 @@ -1042,6 +1059,7 @@ ホストキャッシュをフラッシュします。SQLFLUSH HOSTS を実行するのと同じです。 + PHP 8.4.0 で非推奨となりました。 @@ -1053,7 +1071,7 @@ MYSQLI_REFRESH_SLAVE のエイリアスです。 - PHP 8.1.0 以降で利用可能です。 + PHP 8.1.0 以降で利用可能です。PHP 8.4.0 で非推奨となりました。 @@ -1066,6 +1084,7 @@ 状態変数をリセットします。SQLFLUSH STATUS を実行するのと同じです。 + PHP 8.4.0 で非推奨となりました。 @@ -1077,6 +1096,7 @@ スレッドキャッシュをフラッシュします。 + PHP 8.4.0 で非推奨となりました。 @@ -1091,6 +1111,7 @@ マスタサーバーの情報をリセットしてスレーブを再起動します。 SQLRESET SLAVE を実行するのと同じです。 + PHP 8.4.0 で非推奨となりました。 @@ -1105,6 +1126,7 @@ バイナリログインデックスにあるバイナリログファイルを削除してインデックスファイルを切り詰めます。 SQLRESET MASTER を実行するのと同じです。 + PHP 8.4.0 で非推奨となりました。 @@ -1117,6 +1139,7 @@ Closes and reopens the backup log files. + PHP 8.4.0 で非推奨となりました。 diff --git a/reference/mysqli/mysqli/kill.xml b/reference/mysqli/mysqli/kill.xml index 1eee9407f8..471ca476ae 100644 --- a/reference/mysqli/mysqli/kill.xml +++ b/reference/mysqli/mysqli/kill.xml @@ -1,6 +1,6 @@ - + @@ -9,6 +9,10 @@ サーバーに MySQL スレッドの停止を問い合わせる + + &warn.deprecated.function-8-4-0; + + &reftitle.description; &style.oop; @@ -55,6 +59,30 @@ &mysqli.conditionalexception; + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.4.0 + + mysqli::kill と + mysqli_kill は非推奨となりました。代わりに + KILL SQL コマンドを使用してください。 + + + + + + + &reftitle.examples; diff --git a/reference/mysqli/mysqli/ping.xml b/reference/mysqli/mysqli/ping.xml index 6dece957d0..9b5ba9a112 100644 --- a/reference/mysqli/mysqli/ping.xml +++ b/reference/mysqli/mysqli/ping.xml @@ -1,6 +1,6 @@ - + @@ -9,6 +9,10 @@ サーバーとの接続をチェックし、もし切断されている場合は再接続を試みる + + &warn.deprecated.function-8-4-0; + + &reftitle.description; &style.oop; @@ -60,6 +64,31 @@ &mysqli.conditionalexception; + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.4.0 + + mysqli::ping と + mysqli_ping は非推奨となりました。 + reconnect 機能は + PHP 8.2.0 で廃止されたため、この関数はもはや必要ありません。 + + + + + + + &reftitle.examples; diff --git a/reference/mysqli/mysqli/refresh.xml b/reference/mysqli/mysqli/refresh.xml index 7e588a9412..66fab7a7ca 100644 --- a/reference/mysqli/mysqli/refresh.xml +++ b/reference/mysqli/mysqli/refresh.xml @@ -1,6 +1,6 @@ - + @@ -8,6 +8,10 @@ mysqli_refresh リフレッシュする + + + &warn.deprecated.function-8-4-0; + &reftitle.description; @@ -56,6 +60,30 @@ + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.4.0 + + mysqli::refresh と + mysqli_refresh は非推奨となりました。代わりに + FLUSH SQL コマンドを使用してください。 + + + + + + + &reftitle.seealso; diff --git a/reference/mysqli/mysqli/store-result.xml b/reference/mysqli/mysqli/store-result.xml index 14e7054447..fb1a31b3d6 100644 --- a/reference/mysqli/mysqli/store-result.xml +++ b/reference/mysqli/mysqli/store-result.xml @@ -1,6 +1,6 @@ - + @@ -99,6 +99,29 @@ &mysqli.conditionalexception; + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.4.0 + + mode パラメータの指定は非推奨となりました。 + PHP 8.1 以降では、このパラメータを指定しても意味はありません。 + + + + + + + &reftitle.examples; diff --git a/reference/mysqli/mysqli/thread-id.xml b/reference/mysqli/mysqli/thread-id.xml index 7044ff438b..8f1ee1bbd2 100644 --- a/reference/mysqli/mysqli/thread-id.xml +++ b/reference/mysqli/mysqli/thread-id.xml @@ -1,6 +1,6 @@ - + diff --git a/reference/mysqli/mysqli_stmt/attr-set.xml b/reference/mysqli/mysqli_stmt/attr-set.xml index ad9aeac6a6..c0fe9c56fa 100644 --- a/reference/mysqli/mysqli_stmt/attr-set.xml +++ b/reference/mysqli/mysqli_stmt/attr-set.xml @@ -1,6 +1,6 @@ - + @@ -71,6 +71,7 @@ カーソルの使用時にサーバーからいちどに取得する行数。 value に指定できる値の範囲は 1 から unsigned long の最大値までで、デフォルトは 1 です。 + PHP 8.4.0 で削除されました。