~drizzle-trunk/drizzle/development

575.4.6 by Monty Taylor
Removed my_getwd.
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
 *
1999.6.1 by kalebral at gmail
update Copyright strings to a more common format to help with creating the master debian copyright file
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
575.4.6 by Monty Taylor
Removed my_getwd.
5
 *
6
 *  This program is free software; you can redistribute it and/or modify
7
 *  it under the terms of the GNU General Public License as published by
8
 *  the Free Software Foundation; version 2 of the License.
9
 *
10
 *  This program is distributed in the hope that it will be useful,
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 *  GNU General Public License for more details.
14
 *
15
 *  You should have received a copy of the GNU General Public License
16
 *  along with this program; if not, write to the Free Software
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
 */
19
20
2159.2.5 by Brian Aker
Merge in move of schema.
21
#ifndef DRIZZLED_SCHEMA_H
22
#define DRIZZLED_SCHEMA_H
575.4.6 by Monty Taylor
Removed my_getwd.
23
2148.7.12 by Brian Aker
Merge in header fixes.
24
#include <drizzled/message/schema.h>
25
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
26
namespace drizzled {
27
2148.7.12 by Brian Aker
Merge in header fixes.
28
class Session;
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
29
namespace message { class Schema; }
2148.7.12 by Brian Aker
Merge in header fixes.
30
namespace identifier { class Schema; }
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
31
2159.2.5 by Brian Aker
Merge in move of schema.
32
namespace schema {
33
2159.2.6 by Brian Aker
Finalize interface for schema.
34
bool create(Session &session, const message::Schema &schema_message, const bool is_if_not_exists);
35
bool alter(Session &session, const message::Schema &schema_message, const message::Schema &original_schema);
36
bool drop(Session &session, identifier::Schema &identifier, const bool if_exists);
37
bool change(Session &session, identifier::Schema &identifier);
38
bool check(Session &session, identifier::Schema &schema);
2159.2.5 by Brian Aker
Merge in move of schema.
39
40
}
1273.19.25 by Brian Aker
createSchema() now works via SE interface.
41
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
42
} /* namespace drizzled */
43
2159.2.5 by Brian Aker
Merge in move of schema.
44
#endif /* DRIZZLED_SCHEMA_H */