diff options
author | unknown <monty@hundin.mysql.fi> | 2001-09-11 01:40:52 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-09-11 01:40:52 +0300 |
commit | 34925f8d823c700c939f0622b6af85001458a226 (patch) | |
tree | 6a962f88c6b25e60b6f09ab8b8c7eb0cbb47bc22 /sql/item_cmpfunc.cc | |
parent | 354882c8ce232770b2f3604cbcd5142aad6b002c (diff) | |
download | mariadb-git-34925f8d823c700c939f0622b6af85001458a226.tar.gz |
Fixes for German sorting order.
Docs/manual.texi:
Update for German sorting
configure.in:
Don't make the German sort order default
myisam/mi_delete_all.c:
Truncate files on DELETE FROM table_name to not get warnings when checking files
myisam/mi_search.c:
Fix for multi-byte character sets.
sql/item_cmpfunc.cc:
Use current character set when using STRCMP()
strings/ctype-latin1_de.c:
F
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r-- | sql/item_cmpfunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc index b18237ca4cf..db1d6911119 100644 --- a/sql/item_cmpfunc.cc +++ b/sql/item_cmpfunc.cc @@ -254,7 +254,7 @@ longlong Item_func_strcmp::val_int() null_value=1; return 0; } - int value=stringcmp(a,b); + int value= binary ? stringcmp(a,b) : sortcmp(a,b); null_value=0; return !value ? 0 : (value < 0 ? (longlong) -1 : (longlong) 1); } |