summaryrefslogtreecommitdiff
path: root/sql/strfunc.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2003-11-20 22:06:25 +0200
committermonty@mysql.com <>2003-11-20 22:06:25 +0200
commit7c6113a39f56832da982cfb4ff191e9db49ca798 (patch)
tree685b3a2a60fc00121d338cb0b5f84b4cd028bfe1 /sql/strfunc.cc
parentba659679e7816cd9c992c866645f65b06e5f69de (diff)
downloadmariadb-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.cc2
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);
}