summaryrefslogtreecommitdiff
path: root/mysys/hash.c
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-07-04 03:42:33 +0300
committermonty@mysql.com <>2005-07-04 03:42:33 +0300
commitec420bfb43b22db63a622d5c4f6498481070bb0c (patch)
tree502bf1c54d87aaf8e4cafea943108c20d146cacc /mysys/hash.c
parente4bb8377c7dcfc7516e9da21bad6392d4898b35e (diff)
downloadmariadb-git-ec420bfb43b22db63a622d5c4f6498481070bb0c.tar.gz
Fixes during review of new code
- Mostly indentation fixes - Added missing test - Ensure that Item_func_case() checks for stack overruns - Use real_item() instead of (Item_ref*) item - Fixed wrong error handling
Diffstat (limited to 'mysys/hash.c')
-rw-r--r--mysys/hash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mysys/hash.c b/mysys/hash.c
index 28f8797288c..45cf7d5ff1d 100644
--- a/mysys/hash.c
+++ b/mysys/hash.c
@@ -277,9 +277,8 @@ static void movelink(HASH_LINK *array,uint find,uint next_link,uint newlink)
record being compared against.
RETURN
- < 0 key of record < key
= 0 key of record == key
- > 0 key of record > key
+ != 0 key of record != key
*/
static int hashcmp(HASH *hash,HASH_LINK *pos,const byte *key,uint length)