~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/client.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:
24
24
#include <drizzled/plugin/client.h>
25
25
#include <drizzled/type/time.h>
26
26
 
27
 
namespace drizzled
28
 
{
 
27
namespace drizzled {
29
28
 
30
 
bool plugin::Client::store(const type::Time *from)
 
29
void plugin::Client::store(const type::Time *from)
31
30
{
32
31
  const size_t buff_len= 40;
33
32
  char buff[buff_len];
69
68
  case type::DRIZZLE_TIMESTAMP_NONE:
70
69
  case type::DRIZZLE_TIMESTAMP_ERROR:
71
70
  default:
72
 
    assert(0);
73
 
    return false;
 
71
    assert(false);
 
72
    return;
74
73
  }
75
74
 
76
75
  return store(buff);
77
76
}
78
77
 
79
 
bool plugin::Client::store(const char *from)
 
78
void plugin::Client::store(const char *from)
80
79
{
81
80
  if (from == NULL)
82
81
    return store();