~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_sync.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-24 21:23:54 UTC
  • mto: This revision was merged to the branch mainline in revision 2449.
  • Revision ID: olafvdspek@gmail.com-20111024212354-j32gbc2sbsw0985q
Use str_ref

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
15
 
16
 
#include "config.h"
17
 
#include "drizzled/internal/my_sys.h"
 
16
#include <config.h>
 
17
#include <drizzled/internal/my_sys.h>
18
18
 
19
19
#include <errno.h>
20
20
#include <fcntl.h>
21
21
 
22
 
#include "drizzled/error.h"
 
22
#include <drizzled/error.h>
23
23
 
24
24
namespace drizzled
25
25
{
84
84
    else if (my_flags & MY_WME)
85
85
      my_error(EE_SYNC, MYF(ME_BELL+ME_WAITTANG), "unknown", errno);
86
86
  }
87
 
  return(res);
 
87
  return res;
88
88
} /* my_sync */
89
89
 
90
90
 
121
121
  }
122
122
  else
123
123
    res= 1;
124
 
  return(res);
 
124
  return res;
125
125
}
126
126
#else
127
127
int my_sync_dir(const char *, myf)