~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle-2.0/constants.h

  • Committer: Brian Aker
  • Date: 2011-11-18 02:03:41 UTC
  • mto: (2463.1.1 drizzle-include)
  • mto: This revision was merged to the branch mainline in revision 2462.
  • Revision ID: brian@tangent.org-20111118020341-mgz2m1kjo62al44e
Fix safety issues around calling API with no check for NULL

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
#define DRIZZLE_MAX_ERROR_SIZE           2048
70
70
#define DRIZZLE_MAX_USER_SIZE            64
71
71
#define DRIZZLE_MAX_PASSWORD_SIZE        32
72
 
#define DRIZZLE_MAX_DB_SIZE              64
 
72
#define DRIZZLE_MAX_SCHEMA_SIZE          64
 
73
#define DRIZZLE_MAX_DB_SIZE              DRIZZLE_MAX_SCHEMA_SIZE
73
74
#define DRIZZLE_MAX_INFO_SIZE            2048
74
75
#define DRIZZLE_MAX_SQLSTATE_SIZE        5
75
76
#define DRIZZLE_MAX_CATALOG_SIZE         128