~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump_data.h

  • Committer: Andrew Hutchings
  • Date: 2010-09-23 20:32:31 UTC
  • mto: (1792.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1793.
  • Revision ID: andrew@linuxjedi.co.uk-20100923203231-9bpfjwm0fih91ize
Fix various bugs

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
 
136
136
    friend std::ostream& operator <<(std::ostream &os, const DrizzleDumpDatabase &obj);
137
137
 
138
 
    virtual bool populateTables() { return false; }
 
138
    virtual bool populateTables(void) { return false; }
 
139
    virtual bool populateTables(const std::vector<std::string> &table_names) { return table_names.empty(); }
139
140
    virtual void setCollate(const char*) { }
140
141
    std::vector<DrizzleDumpTable*> tables;
141
142
 
221
222
    void writeString(std::string &str)
222
223
    {
223
224
      connection->queryNoResult(str);
224
 
//      std::cout << "query: \"" << str << "\"" << std::endl;
225
225
    }
226
226
 
227
227
    void setConnection(DrizzleDumpConnection *conn) { connection= conn; }