~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.h

  • Committer: Brian Aker
  • Date: 2008-11-15 16:59:19 UTC
  • mfrom: (584.1.2 devel)
  • Revision ID: brian@tangent.org-20081115165919-zhzrgugbuviflh3c
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
623
623
  List<LEX_STRING> referenced_fields;
624
624
} FOREIGN_KEY_INFO;
625
625
 
626
 
/*
627
 
  Make sure that the order of schema_tables and enum_schema_tables are the same.
628
 
*/
629
 
 
630
 
enum enum_schema_tables
631
 
{
632
 
  SCH_CHARSETS= 0,
633
 
  SCH_COLLATIONS,
634
 
  SCH_COLLATION_CHARACTER_SET_APPLICABILITY,
635
 
  SCH_COLUMNS,
636
 
  SCH_GLOBAL_STATUS,
637
 
  SCH_GLOBAL_VARIABLES,
638
 
  SCH_KEY_COLUMN_USAGE,
639
 
  SCH_OPEN_TABLES,
640
 
  SCH_PLUGINS,
641
 
  SCH_PROCESSLIST,
642
 
  SCH_REFERENTIAL_CONSTRAINTS,
643
 
  SCH_SCHEMATA,
644
 
  SCH_SESSION_STATUS,
645
 
  SCH_SESSION_VARIABLES,
646
 
  SCH_STATISTICS,
647
 
  SCH_STATUS,
648
 
  SCH_TABLES,
649
 
  SCH_TABLE_CONSTRAINTS,
650
 
  SCH_TABLE_NAMES,
651
 
  SCH_VARIABLES
652
 
};
653
 
 
654
 
 
655
 
#define MY_I_S_MAYBE_NULL 1
656
 
#define MY_I_S_UNSIGNED   2
657
 
 
658
 
 
659
 
#define SKIP_OPEN_TABLE 0                // do not open table
660
 
#define OPEN_FRM_ONLY   1                // open FRM file only
661
 
#define OPEN_FULL_TABLE 2                // open FRM,MYD, MYI files
662
 
 
663
626
typedef struct st_field_info
664
627
{
665
628
  /**