From ab50eb96db6716b0f3e0b2dc54be49c2f558a49c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Thu, 28 Mar 2024 15:03:01 +0100 Subject: [PATCH] Update based on revieew --- functions-and-operators/information-functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions-and-operators/information-functions.md b/functions-and-operators/information-functions.md index 7bcb8aa15095b..cfa9d2fd61cf9 100644 --- a/functions-and-operators/information-functions.md +++ b/functions-and-operators/information-functions.md @@ -144,7 +144,7 @@ SELECT FOUND_ROWS(); > **Note** > -> `SQL_CALC_FOUND_ROWS` is only accepted if [`tidb_enable_noop_functions`](/system-variables.md#tidb_enable_noop_functions-new-in-v40) is set. This query modifier has been deprecated in MySQL 8.0.17. +> `SQL_CALC_FOUND_ROWS` is only accepted if [`tidb_enable_noop_functions`](/system-variables.md#tidb_enable_noop_functions-new-in-v40) is set. This query modifier is used in MySQL to calculate the total number of rows even if a `LIMIT` clause is causing the resultset to be shorter. This query modifier has been deprecated in MySQL 8.0.17. It is recommended to use `COUNT(*)` instead. ### LAST_INSERT_ID()