~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_scan.cc

  • Committer: Brian Aker
  • Date: 2010-02-11 22:43:58 UTC
  • Revision ID: brian@gaz-20100211224358-y0gdvnat2ahg4c1e
Disabling support for memcached plugins until we can test for version of
memcached.

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 "myisamdef.h"
 
18
#include "myisam_priv.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(my_errno);
 
25
    return(errno);
26
26
  return(0);
27
27
}
28
28
 
35
35
           HA_ERR_END_OF_FILE = EOF.
36
36
*/
37
37
 
38
 
int mi_scan(MI_INFO *info, uchar *buf)
 
38
int mi_scan(MI_INFO *info, unsigned char *buf)
39
39
{
40
40
  /* Init all but update-flag */
41
41
  info->update&= (HA_STATE_CHANGED | HA_STATE_ROW_CHANGED);