summaryrefslogtreecommitdiff
path: root/mysys/my_bit.c
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2004-06-14 11:18:56 +0400
committerunknown <sergefp@mysql.com>2004-06-14 11:18:56 +0400
commitd554ef09910724af80761ca956ba5e2726668169 (patch)
treecb100affefa471904e7555d307bab15072bae4f6 /mysys/my_bit.c
parent2163546955bf3ecd70080b06b20ac4076559473e (diff)
parentcb3848b91545e494af32dab6744e2dc59bde98bf (diff)
downloadmariadb-git-d554ef09910724af80761ca956ba5e2726668169.tar.gz
Manual merge
include/my_base.h: Auto merged include/my_bitmap.h: Auto merged include/my_sys.h: Auto merged innobase/include/row0mysql.h: Auto merged innobase/row/row0sel.c: Auto merged mysys/my_bitmap.c: Auto merged sql/ha_berkeley.cc: Auto merged sql/ha_berkeley.h: Auto merged sql/ha_heap.h: Auto merged sql/ha_innodb.cc: Auto merged sql/ha_innodb.h: Auto merged sql/handler.h: Auto merged sql/opt_range.cc: Auto merged sql/opt_range.h: Auto merged sql/sql_select.h: Auto merged
Diffstat (limited to 'mysys/my_bit.c')
-rw-r--r--mysys/my_bit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysys/my_bit.c b/mysys/my_bit.c
index 55dd72f5f76..01c9b5ea68d 100644
--- a/mysys/my_bit.c
+++ b/mysys/my_bit.c
@@ -71,3 +71,8 @@ uint my_count_bits(ulonglong v)
#endif
}
+uint my_count_bits_ushort(ushort v)
+{
+ return nbits[v];
+}
+