X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=isam%2Fmemory.h;h=e1bd1f0911994985205b30f36eb5e57e1ad76114;hb=34e1e6c2ddbbd31f9c4b8401c973ed7fae9eda34;hp=2f92ee0dcdec4b9617a0a5d88e7abecf44a66c43;hpb=c9c9df90cf9d66e46b177e62a4402a9def633634;p=idzebra-moved-to-github.git diff --git a/isam/memory.h b/isam/memory.h index 2f92ee0..e1bd1f0 100644 --- a/isam/memory.h +++ b/isam/memory.h @@ -4,7 +4,14 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: memory.h,v $ - * Revision 1.3 1994-09-28 16:58:33 quinn + * Revision 1.5 1996-03-11 14:52:25 quinn + * Fixed update bug. Repeated insertion in the same area sometimes caused + * problems. + * + * Revision 1.4 1995/12/06 15:48:47 quinn + * Fixed update-problem. + * + * Revision 1.3 1994/09/28 16:58:33 quinn * Small mod. * * Revision 1.2 1994/09/27 20:03:52 quinn @@ -73,6 +80,7 @@ typedef struct is_mtable int num_records; /* total number of records */ int pos_type; /* blocktype */ is_mblock *cur_mblock; + is_mbuf *last_mbuf; is_mblock *data; /* blocks contained in this table */ ISAM is; } is_mtable; @@ -90,7 +98,7 @@ void is_m_rewind(is_mtable *tab); void is_m_replace_record(is_mtable *tab, const void *rec); int is_m_write_record(is_mtable *tab, const void *rec); void is_m_unread_record(is_mtable *tab); -int is_m_read_record(is_mtable *tab, void *buf); +int is_m_read_record(is_mtable *tab, void *buf, int keep); int is_m_seek_record(is_mtable *tab, const void *rec); void is_m_delete_record(is_mtable *tab); int is_m_peek_record(is_mtable *tab, void *rec);