Actualized docs. [#CLICKHOUSE-3]

This commit is contained in:
Vitaliy Lyudvichenko 2017-01-16 19:33:55 +03:00 committed by alexey-milovidov
parent 1c38a89785
commit e03a9c1611
2 changed files with 2 additions and 2 deletions

View File

@ -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===

View File

@ -4576,7 +4576,7 @@ END
Строки сравниваются побайтово. Более короткая строка меньше всех строк, начинающихся с неё и содержащих ещё хотя бы один символ.
Сравнение знаковых и беззнаковых целых чисел производится также, как в C++. То есть, вы можете получить неверный результат в некоторых случаях. Пример: SELECT 9223372036854775807 > -1
Замечание. До версии 1.1.54134 сравнение знаковых и беззнаковых целых чисел производилось также, как в C++. То есть, вы могли получить неверный результат в таких случаях: SELECT 9223372036854775807 > -1. С версии 1.1.54134 поведение изменилось и стало математически корректным.
===equals, оператор a = b и a == b===