File tree Expand file tree Collapse file tree 4 files changed +175
-70
lines changed Expand file tree Collapse file tree 4 files changed +175
-70
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ mysql-test/mysql-test-run
82
82
mysql-test /var
83
83
mysql-test-gcov.err
84
84
mysql-test-gcov.msg
85
+ mysys /test_hash
85
86
mysys /thr_lock
86
87
mysys /thr_timer
87
88
packaging /rpm-oel /mysql.spec
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ extern "C" {
42
42
#define HASH_UNIQUE 1 /* hash_insert fails on duplicate key */
43
43
#define HASH_THREAD_SPECIFIC 2 /* Mark allocated memory THREAD_SPECIFIC */
44
44
45
- typedef uint my_hash_value_type ;
45
+ typedef uint32 my_hash_value_type ;
46
46
typedef uchar * (* my_hash_get_key )(const uchar * ,size_t * ,my_bool );
47
47
typedef my_hash_value_type (* my_hash_function )(CHARSET_INFO * ,
48
48
const uchar * , size_t );
Original file line number Diff line number Diff line change @@ -96,6 +96,10 @@ ADD_EXECUTABLE(thr_timer thr_timer.c)
96
96
TARGET_LINK_LIBRARIES (thr_timer mysys )
97
97
SET_TARGET_PROPERTIES (thr_timer PROPERTIES COMPILE_FLAGS "-DMAIN" )
98
98
99
+ ADD_EXECUTABLE (test_hash hash.c )
100
+ TARGET_LINK_LIBRARIES (test_hash mysys )
101
+ SET_TARGET_PROPERTIES (test_hash PROPERTIES COMPILE_FLAGS "-DMAIN" )
102
+
99
103
IF (MSVC )
100
104
INSTALL_DEBUG_TARGET (mysys DESTINATION ${INSTALL_LIBDIR} /debug )
101
105
ENDIF ()
You can’t perform that action at this time.
0 commit comments