diff options
author | monty@hundin.mysql.fi <> | 2001-11-28 03:47:15 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-11-28 03:47:15 +0200 |
commit | 5fedd2dda72f59c1a00525862a093bdaf042d034 (patch) | |
tree | 1591378c44e709fb0ac9df322ad1e001c517ae50 /sql/sql_string.cc | |
parent | 3c057478c2996b08cebd512ce5f2150853e0145f (diff) | |
download | mariadb-git-5fedd2dda72f59c1a00525862a093bdaf042d034.tar.gz |
Fix for IO_CACHE.
Portability fixes.
Diffstat (limited to 'sql/sql_string.cc')
-rw-r--r-- | sql/sql_string.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_string.cc b/sql/sql_string.cc index 28cb5213acd..4649af918d5 100644 --- a/sql/sql_string.cc +++ b/sql/sql_string.cc @@ -779,10 +779,10 @@ int wild_compare(const char *str,const char *str_end, { while (str != str_end && *str != cmp) str++; - if (str++ == str_end) + if (str++ == str_end) { - DBUG_RETURN(-1) - }; + DBUG_RETURN(-1); + } { int tmp=wild_compare(str,str_end,wildstr,wildend,escape); if (tmp <= 0) |