~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_scan.c

code clean move Item_func_abs, Item_func_int_exp, Item_func_ln, Item_func_log to functions directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
/* Read through all rows sequntially */
17
17
 
18
 
#include "myisam_priv.h"
 
18
#include "myisamdef.h"
19
19
 
20
20
int mi_scan_init(register MI_INFO *info)
21
21
{
22
22
  info->nextpos=info->s->pack.header_length;    /* Read first record */
23
23
  info->lastinx= -1;                            /* Can't forward or backward */
24
24
  if (info->opt_flag & WRITE_CACHE_USED && flush_io_cache(&info->rec_cache))
25
 
    return(errno);
 
25
    return(my_errno);
26
26
  return(0);
27
27
}
28
28