~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump_data.h

  • Committer: Monty Taylor
  • Date: 2011-03-11 18:48:55 UTC
  • mfrom: (2228.1.8 build)
  • Revision ID: mordred@inaugust.com-20110311184855-1essd3a6xfr7lx6r
Merged Andrew: drizzledump and docs bug fixes
Merged Barry: pbms bugfixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
    bool isPrimary;
77
77
    bool isUnique;
78
78
    bool isHash;
79
 
    uint32_t length;
80
79
 
81
 
    std::vector<std::string> columns;
 
80
    /* Stores the column name and the length of the index part */
 
81
    typedef std::pair<std::string,uint32_t> columnData;
 
82
    std::vector<columnData> columns;
82
83
    friend std::ostream& operator <<(std::ostream &os, const DrizzleDumpIndex &obj);
83
84
};
84
85
 
133
134
    DrizzleDumpTable(std::string &table, DrizzleDumpConnection* connection) :
134
135
      dcon(connection),
135
136
      tableName(table),
 
137
      replicate(true),
136
138
      database(NULL)
137
139
    { }
138
140
 
155
157
    std::string engineName;
156
158
    std::string collate;
157
159
    std::string comment;
 
160
    bool replicate;
158
161
 
159
162
    // Currently MySQL only, hard to do in Drizzle
160
163
    uint64_t autoIncrement;