diff options
author | monty@mysql.com <> | 2003-11-20 22:06:25 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2003-11-20 22:06:25 +0200 |
commit | 7c6113a39f56832da982cfb4ff191e9db49ca798 (patch) | |
tree | 685b3a2a60fc00121d338cb0b5f84b4cd028bfe1 /sql/strfunc.cc | |
parent | ba659679e7816cd9c992c866645f65b06e5f69de (diff) | |
download | mariadb-git-7c6113a39f56832da982cfb4ff191e9db49ca798.tar.gz |
Merge key cache structures to one
Fixed compiler warnings (IRIX C compiler and VC++)
Diffstat (limited to 'sql/strfunc.cc')
-rw-r--r-- | sql/strfunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/strfunc.cc b/sql/strfunc.cc index 1db2124bcee..d00e57df5a1 100644 --- a/sql/strfunc.cc +++ b/sql/strfunc.cc @@ -112,7 +112,7 @@ uint find_type(TYPELIB *lib, const char *find, uint length, bool part_match) found_pos= pos; } } - return(found_count == 1 && part_match ? found_count : 0); + return(found_count == 1 && part_match ? found_pos : 0); } |