~clint-fewbar/drizzle/authorize-default-deny

« back to all changes in this revision

Viewing changes to drizzled/table_proto_write.cc

  • Committer: Clint Byrum
  • Date: 2011-02-22 22:25:07 UTC
  • mfrom: (2177.1.15 build)
  • Revision ID: clint@ubuntu.com-20110222222507-azaofg4p8w55gdvr
merging trunk

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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
15
 
16
 
#include "config.h"
 
16
#include <config.h>
17
17
#include <drizzled/error.h>
18
18
#include <drizzled/session.h>
19
19
#include <drizzled/unireg.h>
20
 
#include "drizzled/sql_table.h"
21
 
#include "drizzled/global_charset_info.h"
22
 
#include "drizzled/message/statement_transform.h"
 
20
#include <drizzled/sql_table.h>
 
21
#include <drizzled/global_charset_info.h>
 
22
#include <drizzled/message/statement_transform.h>
23
23
 
24
24
#include <drizzled/plugin/storage_engine.h>
25
25
 
26
 
#include "drizzled/internal/my_sys.h"
27
 
#include "drizzled/typelib.h"
 
26
#include <drizzled/internal/my_sys.h>
 
27
#include <drizzled/typelib.h>
28
28
 
29
29
/* For proto */
30
30
#include <string>
39
39
#include <drizzled/table_proto.h>
40
40
#include <drizzled/charset.h>
41
41
 
42
 
#include "drizzled/function/time/typecast.h"
 
42
#include <drizzled/function/time/typecast.h>
43
43
 
44
44
using namespace std;
45
45
 
52
52
                      KeyInfo *key_info)
53
53
{
54
54
  CreateField *field_arg;
55
 
  List_iterator<CreateField> it(create_fields);
 
55
  List<CreateField>::iterator it(create_fields.begin());
56
56
  message::Table::TableOptions *table_options= table_proto.mutable_options();
57
57
 
58
58
  if (create_fields.elements > MAX_FIELDS)