~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_cache.c

  • Committer: Brian Aker
  • Date: 2008-07-13 18:27:33 UTC
  • Revision ID: brian@tangent.org-20080713182733-3u1et5nrmofi8a8n
my_bool cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
          this, just remember the file name for later removal
27
27
        */
28
28
 
29
 
static my_bool cache_remove_open_tmp(IO_CACHE *cache __attribute__((unused)),
 
29
static bool cache_remove_open_tmp(IO_CACHE *cache __attribute__((unused)),
30
30
                                     const char *name)
31
31
{
32
32
#if O_TEMPORARY == 0
57
57
        ** If dir is not given, use TMPDIR.
58
58
        */
59
59
 
60
 
my_bool open_cached_file(IO_CACHE *cache, const char* dir, const char *prefix,
 
60
bool open_cached_file(IO_CACHE *cache, const char* dir, const char *prefix,
61
61
                         size_t cache_size, myf cache_myflags)
62
62
{
63
63
  DBUG_ENTER("open_cached_file");
78
78
 
79
79
        /* Create the temporary file */
80
80
 
81
 
my_bool real_open_cached_file(IO_CACHE *cache)
 
81
bool real_open_cached_file(IO_CACHE *cache)
82
82
{
83
83
  char name_buff[FN_REFLEN];
84
84
  int error=1;