1
/* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; version 2 of the License.
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
GNU General Public License for more details.
12
You should have received a copy of the GNU General Public License
13
along with this program; if not, write to the Free Software Foundation,
14
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA */
16
#include <my_global.h>
18
#include <pfs_global.h>
20
bool pfs_initialized= false;
22
void *pfs_malloc(size_t size, myf flags)
24
void *ptr= malloc(size);
25
if (ptr && (flags & MY_ZEROFILL))
30
void pfs_free(void *ptr)
36
void pfs_print_error(const char *format, ...)
38
/* Do not pollute the unit test output with annoying messages. */