summaryrefslogtreecommitdiff
path: root/include/heap.h
diff options
context:
space:
mode:
authorunknown <ram@gw.udmsearch.izhnet.ru>2002-06-07 16:47:36 +0500
committerunknown <ram@gw.udmsearch.izhnet.ru>2002-06-07 16:47:36 +0500
commit6192996d17bb37e87a62a5e92f9e89330ccc6f28 (patch)
tree563098f1aa3cf848c7c56670c3c82ebf4dd4a9d6 /include/heap.h
parentfa86b948379ca3929ebd8a7b941d6c2fbb26f8ec (diff)
downloadmariadb-git-6192996d17bb37e87a62a5e92f9e89330ccc6f28.tar.gz
heap_create() <-> heap_open()
Diffstat (limited to 'include/heap.h')
-rw-r--r--include/heap.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/heap.h b/include/heap.h
index 53757f51e73..359c4346a5d 100644
--- a/include/heap.h
+++ b/include/heap.h
@@ -142,9 +142,7 @@ typedef struct st_heap_info
/* Prototypes for heap-functions */
-extern HP_INFO* heap_open(const char *name,int mode,uint keys,
- HP_KEYDEF *keydef,uint reclength,
- ulong max_records,ulong min_reloc);
+extern HP_INFO *heap_open(const char *name, int mode);
extern int heap_close(HP_INFO *info);
extern int heap_write(HP_INFO *info,const byte *buff);
extern int heap_update(HP_INFO *info,const byte *old,const byte *newdata);
@@ -153,7 +151,8 @@ extern int heap_scan_init(HP_INFO *info);
extern int heap_scan(register HP_INFO *info, byte *record);
extern int heap_delete(HP_INFO *info,const byte *buff);
extern int heap_info(HP_INFO *info,HEAPINFO *x,int flag);
-extern int heap_create(const char *name);
+extern int heap_create(const char *name, uint keys, HP_KEYDEF *keydef,
+ uint reclength, ulong max_records, ulong min_records);
extern int heap_delete_table(const char *name);
extern int heap_extra(HP_INFO *info,enum ha_extra_function function);
extern int heap_rename(const char *old_name,const char *new_name);