~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_scan.c

Merged vcol stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
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