~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/console/console.cc

  • Committer: Mark Atwood
  • Date: 2011-06-03 17:57:03 UTC
  • mfrom: (2313.3.6 void)
  • Revision ID: me@mark.atwood.name-20110603175703-idsui337bghio245
mergeĀ lp:~olafvdspek/drizzle/void2

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
 
216
216
  using Client::store;
217
217
 
218
 
  virtual bool store(Field *from)
 
218
  virtual void store(Field *from)
219
219
  {
220
220
    if (from->is_null())
221
221
      return store();
226
226
    return store(str.ptr(), str.length());
227
227
  }
228
228
 
229
 
  virtual bool store(void)
 
229
  virtual void store(void)
230
230
  {
231
231
    cout << "NULL" << "\t";
232
232
    checkRowEnd();
233
 
    return false;
234
 
  }
235
 
 
236
 
  virtual bool store(int32_t from)
237
 
  {
238
 
    cout << from << "\t";
239
 
    checkRowEnd();
240
 
    return false;
241
 
  }
242
 
 
243
 
  virtual bool store(uint32_t from)
244
 
  {
245
 
    cout << from << "\t";
246
 
    checkRowEnd();
247
 
    return false;
248
 
  }
249
 
 
250
 
  virtual bool store(int64_t from)
251
 
  {
252
 
    cout << from << "\t";
253
 
    checkRowEnd();
254
 
    return false;
255
 
  }
256
 
 
257
 
  virtual bool store(uint64_t from)
258
 
  {
259
 
    cout << from << "\t";
260
 
    checkRowEnd();
261
 
    return false;
262
 
  }
263
 
 
264
 
  virtual bool store(double from, uint32_t decimals, String *buffer)
 
233
  }
 
234
 
 
235
  virtual void store(int32_t from)
 
236
  {
 
237
    cout << from << "\t";
 
238
    checkRowEnd();
 
239
  }
 
240
 
 
241
  virtual void store(uint32_t from)
 
242
  {
 
243
    cout << from << "\t";
 
244
    checkRowEnd();
 
245
  }
 
246
 
 
247
  virtual void store(int64_t from)
 
248
  {
 
249
    cout << from << "\t";
 
250
    checkRowEnd();
 
251
  }
 
252
 
 
253
  virtual void store(uint64_t from)
 
254
  {
 
255
    cout << from << "\t";
 
256
    checkRowEnd();
 
257
  }
 
258
 
 
259
  virtual void store(double from, uint32_t decimals, String *buffer)
265
260
  {
266
261
    buffer->set_real(from, decimals, &my_charset_bin);
267
 
    return store(buffer->ptr(), buffer->length());
 
262
    store(buffer->ptr(), buffer->length());
268
263
  }
269
264
 
270
 
  virtual bool store(const char *from, size_t length)
 
265
  virtual void store(const char *from, size_t length)
271
266
  {
272
267
    cout.write(from, length);
273
268
    cout << "\t";
274
269
    checkRowEnd();
275
 
    return false;
276
270
  }
277
271
 
278
 
  virtual bool haveMoreData(void)
 
272
  virtual bool haveMoreData()
279
273
  {
280
274
    printDebug("haveMoreData");
281
275
    return false;
282
276
  }
283
277
 
284
 
  virtual bool haveError(void)
 
278
  virtual bool haveError()
285
279
  {
286
280
    printDebug("haveError");
287
281
    return false;
288
282
  }
289
283
 
290
 
  virtual bool wasAborted(void)
 
284
  virtual bool wasAborted()
291
285
  {
292
286
    printDebug("wasAborted");
293
287
    return false;