~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump_data.h

  • Committer: Brian Aker
  • Date: 2010-12-18 00:43:02 UTC
  • Revision ID: brian@tangent.org-20101218004302-4ivzuuzdkblyqe18
Refactor naming for integers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
      isUnsigned(false),
92
92
      isAutoIncrement(false),
93
93
      defaultIsNull(false),
94
 
      convertDateTime(false)
 
94
      convertDateTime(false),
 
95
      rangeCheck(false)
95
96
    { }
96
97
 
97
98
    virtual ~DrizzleDumpField() { }
109
110
    bool isAutoIncrement;
110
111
    bool defaultIsNull;
111
112
    bool convertDateTime;
 
113
    bool rangeCheck;
112
114
    std::string defaultValue;
113
115
    std::string collation;
 
116
    std::string comment;
114
117
 
115
118
    /* For enum type */
116
119
    std::string enumValues;
262
265
    void writeString(std::string &str)
263
266
    {
264
267
      if (not connection->queryNoResult(str))
265
 
        throw 1;
 
268
        throw std::exception();
266
269
    }
267
270
 
268
271
    void setConnection(DrizzleDumpConnection *conn) { connection= conn; }