mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
- Fix compilation error on some platforms
modified: storage/connect/os.h - Uniforms line endings modified: storage/connect/tabutil.cpp
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#ifndef _OS_H_INCLUDED
|
||||
#define _OS_H_INCLUDED
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__APPLE__)
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(OpenBSD) || defined(__DragonFly__) || defined(__APPLE__)
|
||||
typedef off_t off64_t;
|
||||
#define lseek64(fd, offset, whence) lseek((fd), (offset), (whence))
|
||||
#define open64(path, flags, mode) open((path), (flags), (mode))
|
||||
|
@ -591,17 +591,17 @@ bool PRXCOL::Init(PGLOBAL g)
|
||||
return FALSE;
|
||||
} // end of Init
|
||||
|
||||
/***********************************************************************/
|
||||
/* Reset the column descriptor to non evaluated yet. */
|
||||
/***********************************************************************/
|
||||
void PRXCOL::Reset(void)
|
||||
{
|
||||
if (Colp)
|
||||
Colp->Reset();
|
||||
|
||||
Status &= ~BUF_READ;
|
||||
} // end of Reset
|
||||
|
||||
/***********************************************************************/
|
||||
/* Reset the column descriptor to non evaluated yet. */
|
||||
/***********************************************************************/
|
||||
void PRXCOL::Reset(void)
|
||||
{
|
||||
if (Colp)
|
||||
Colp->Reset();
|
||||
|
||||
Status &= ~BUF_READ;
|
||||
} // end of Reset
|
||||
|
||||
/***********************************************************************/
|
||||
/* ReadColumn: */
|
||||
/***********************************************************************/
|
||||
|
Reference in New Issue
Block a user