~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/common.h

  • Committer: Stewart Smith
  • Date: 2008-11-21 16:06:07 UTC
  • mto: This revision was merged to the branch mainline in revision 593.
  • Revision ID: stewart@flamingspork.com-20081121160607-n6gdlt013spuo54r
remove mysql_frm_type
and fix engines to return correct value from delete_table when table doesn't exist.
(it should be ENOENT).

Also fix up some tests that manipulated frm files by hand. These tests are no longer valid and will need to be rewritten in the not too distant future.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Drizzle Client & Protocol Library
3
 
 *
4
 
 * Copyright (C) 2008 Eric Day (eday@oddments.org)
5
 
 * All rights reserved.
6
 
 *
7
 
 * Use and distribution licensed under the BSD license.  See
8
 
 * the COPYING file in this directory for full text.
9
 
 */
10
 
 
11
 
/**
12
 
 * @file
13
 
 * @brief System Include Files
14
 
 */
15
 
 
16
 
#ifndef __DRIZZLE_COMMON_H
17
 
#define __DRIZZLE_COMMON_H
18
 
 
19
 
#include "config.h"
20
 
 
21
 
#define HAVE_VISIBILITY 1
22
 
 
23
 
#include "drizzle_client.h"
24
 
#include "drizzle_server.h"
25
 
 
26
 
#include <assert.h>
27
 
#include <errno.h>
28
 
#include <fcntl.h>
29
 
#include <netinet/tcp.h>
30
 
#include <stdarg.h>
31
 
#include <stdio.h>
32
 
#include <stdlib.h>
33
 
#include <string.h>
34
 
#include <sys/uio.h>
35
 
#include <unistd.h>
36
 
 
37
 
#include "drizzle_local.h"
38
 
#include "conn_local.h"
39
 
#include "pack.h"
40
 
#include "state.h"
41
 
#include "sha1.h"
42
 
 
43
 
#endif /* __DRIZZLE_COMMON_H */