diff --git a/doc/reference_en.html b/doc/reference_en.html
index 0f196ff8591..d1cf24c8e4e 100644
--- a/doc/reference_en.html
+++ b/doc/reference_en.html
@@ -4505,7 +4505,7 @@ For example, you can't compare a date with a string. You have to use a funct
Strings are compared by bytes. A shorter string is smaller than all strings that start with it and that contain at least one more character.
-Signed and unsigned numbers are compared the same way as in C++. That is, you can get an incorrect result in some cases. Example: SELECT 9223372036854775807 > -1
+Note: before version 1.1.54134 signed and unsigned numbers were compared the same way as in C++. That is, you could got an incorrect result in such cases: SELECT 9223372036854775807 > -1. From version 1.1.54134, the behavior has changed and numbers are compared mathematically correct.
===equals, a = b and a == b operator===
diff --git a/doc/reference_ru.html b/doc/reference_ru.html
index 9fedff60b97..03446bc3892 100644
--- a/doc/reference_ru.html
+++ b/doc/reference_ru.html
@@ -4576,7 +4576,7 @@ END
Строки сравниваются побайтово. Более короткая строка меньше всех строк, начинающихся с неё и содержащих ещё хотя бы один символ.
-Сравнение знаковых и беззнаковых целых чисел производится также, как в C++. То есть, вы можете получить неверный результат в некоторых случаях. Пример: SELECT 9223372036854775807 > -1
+Замечание. До версии 1.1.54134 сравнение знаковых и беззнаковых целых чисел производилось также, как в C++. То есть, вы могли получить неверный результат в таких случаях: SELECT 9223372036854775807 > -1. С версии 1.1.54134 поведение изменилось и стало математически корректным.
===equals, оператор a = b и a == b===