~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/discover.cc

  • Committer: Stewart Smith
  • Date: 2008-09-15 07:13:59 UTC
  • mfrom: (383.1.21 drizzle)
  • mto: This revision was merged to the branch mainline in revision 408.
  • Revision ID: stewart@flamingspork.com-20080915071359-f8bznznyaiqrtqxa
merged

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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
 
17
16
/**
18
17
  @file
19
18
 
20
19
  @brief
21
20
  Functions for discover of frm file from handler
22
21
*/
23
 
 
24
 
#include "mysql_priv.h"
 
22
#include <drizzled/server_includes.h>
25
23
 
26
24
/**
27
25
  Read the contents of a .frm file.
41
39
  @retval
42
40
    3    Could not allocate data for read.  Could not read file
43
41
*/
44
 
 
45
42
int readfrm(const char *name, uchar **frmdata, size_t *len)
46
43
{
47
44
  int    error;
99
96
  @retval
100
97
    2    Could not write file
101
98
*/
102
 
 
103
99
int writefrm(const char *name, const uchar *frmdata, size_t len)
104
100
{
105
101
  File file;
117
113
  }
118
114
  return(error);
119
115
} /* writefrm */
120
 
 
121
 
 
122
 
 
123
 
 
124