~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/hp_clear.cc

  • Committer: Brian Aker
  • Date: 2009-10-12 06:15:02 UTC
  • mfrom: (1165.1.178 static-functions)
  • Revision ID: brian@gaz-20091012061502-cds4m0cya7ow8sj7
Merge Stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include "heapdef.h"
23
23
 
 
24
static void hp_clear_keys(HP_SHARE *info);
 
25
 
24
26
void heap_clear(HP_INFO *info)
25
27
{
26
28
  hp_clear(info->s);
36
38
  return;
37
39
}
38
40
 
39
 
 
40
 
/*
41
 
  Clear all keys.
42
 
 
43
 
  SYNOPSIS
44
 
    heap_clear_keys()
45
 
    info      A pointer to the heap storage engine HP_INFO struct.
46
 
 
47
 
  DESCRIPTION
48
 
    Delete all trees of all indexes and leave them empty.
49
 
 
50
 
  RETURN
51
 
    void
52
 
*/
53
 
 
54
 
void heap_clear_keys(HP_INFO *info)
55
 
{
56
 
  hp_clear(info->s);
57
 
}
58
 
 
59
 
 
60
41
/*
61
42
  Clear all keys.
62
43
 
71
52
    void
72
53
*/
73
54
 
74
 
void hp_clear_keys(HP_SHARE *info)
 
55
static void hp_clear_keys(HP_SHARE *info)
75
56
{
76
57
  uint32_t key;
77
58