~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/definitions.h

  • Committer: Monty Taylor
  • Date: 2008-11-14 23:27:02 UTC
  • mto: (584.1.7 devel)
  • mto: This revision was merged to the branch mainline in revision 588.
  • Revision ID: monty@inaugust.com-20081114232702-xd6jzs32qw21akyc
Split out DTCollation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
971
971
#define OPEN_FRM_ONLY   1                // open FRM file only
972
972
#define OPEN_FULL_TABLE 2                // open FRM,MYD, MYI files
973
973
 
 
974
/*
 
975
   "Declared Type Collation"
 
976
   A combination of collation and its derivation.
 
977
 
 
978
  Flags for collation aggregation modes:
 
979
  MY_COLL_ALLOW_SUPERSET_CONV  - allow conversion to a superset
 
980
  MY_COLL_ALLOW_COERCIBLE_CONV - allow conversion of a coercible value
 
981
                                 (i.e. constant).
 
982
  MY_COLL_ALLOW_CONV           - allow any kind of conversion
 
983
                                 (combination of the above two)
 
984
  MY_COLL_DISALLOW_NONE        - don't allow return DERIVATION_NONE
 
985
                                 (e.g. when aggregating for comparison)
 
986
  MY_COLL_CMP_CONV             - combination of MY_COLL_ALLOW_CONV
 
987
                                 and MY_COLL_DISALLOW_NONE
 
988
*/
 
989
 
 
990
#define MY_COLL_ALLOW_SUPERSET_CONV   1
 
991
#define MY_COLL_ALLOW_COERCIBLE_CONV  2
 
992
#define MY_COLL_ALLOW_CONV            3
 
993
#define MY_COLL_DISALLOW_NONE         4
 
994
#define MY_COLL_CMP_CONV              7
 
995
 
974
996
 
975
997
#endif /* DRIZZLE_SERVER_DEFINITIONS_H */
976
998