diff options
Diffstat (limited to 'storage/heap')
-rwxr-xr-x | storage/heap/CMakeLists.txt | 1 | ||||
-rw-r--r-- | storage/heap/hp_update.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/storage/heap/CMakeLists.txt b/storage/heap/CMakeLists.txt index fd3ce149b2c..f8f0aa91464 100755 --- a/storage/heap/CMakeLists.txt +++ b/storage/heap/CMakeLists.txt @@ -29,4 +29,5 @@ SET(HEAP_SOURCES _check.c _rectest.c hp_block.c hp_clear.c hp_close.c hp_create IF(NOT SOURCE_SUBLIBS) ADD_LIBRARY(heap ${HEAP_SOURCES}) + ADD_DEPENDENCIES(heap GenError) ENDIF(NOT SOURCE_SUBLIBS) diff --git a/storage/heap/hp_update.c b/storage/heap/hp_update.c index 11dca974ad4..7f469af3c96 100644 --- a/storage/heap/hp_update.c +++ b/storage/heap/hp_update.c @@ -21,7 +21,7 @@ int heap_update(HP_INFO *info, const uchar *old, const uchar *heap_new) { HP_KEYDEF *keydef, *end, *p_lastinx; uchar *pos; - bool auto_key_changed= 0; + my_bool auto_key_changed= 0; HP_SHARE *share= info->s; DBUG_ENTER("heap_update"); |