109
109
#define MYF_RW MYF(MY_WME+MY_NABP) /* Vid my_read & my_write */
112
#define store_record(A,B) memcpy((A)->B,(A)->record[0],(size_t) (A)->s->reclength)
113
#define restore_record(A,B) memcpy((A)->record[0],(A)->B,(size_t) (A)->s->reclength)
114
#define cmp_record(A,B) memcmp((A)->record[0],(A)->B,(size_t) (A)->s->reclength)
112
/* #define store_record(A,B) memcpy((A)->B,(A)->record[0],(size_t) (A)->s->reclength) */
113
/* #define restore_record(A,B) memcpy((A)->record[0],(A)->B,(size_t) (A)->s->reclength) */
114
/* #define cmp_record(A,B) memcmp((A)->record[0],(A)->B,(size_t) (A)->s->reclength) */
117
117
restore_record((A),s->default_values); \
118
118
memset((A)->null_flags, 255, (A)->s->null_bytes); \
121
121
/* Defines for use with openfrm, openprt and openfrd */
123
123
#define READ_ALL 1 /* openfrm: Read all parameters */