~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/protocol.h

  • Committer: Monty Taylor
  • Date: 2009-06-08 13:39:05 UTC
  • mto: This revision was merged to the branch mainline in revision 1060.
  • Revision ID: mordred@inaugust.com-20090608133905-3hogrrafmfg6e5hs
Removed CHARSET_INFO stuff from protocol plugin interface - it makes no sense.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
  virtual bool store(uint64_t from)= 0;
82
82
  virtual bool store(double from, uint32_t decimals, String *buffer)= 0;
83
83
  virtual bool store(const DRIZZLE_TIME *from)= 0;
84
 
  virtual bool store(const char *from, const CHARSET_INFO * const cs)
 
84
  virtual bool store(const char *from)
85
85
  {
86
86
    if (from == NULL) 
87
87
      return store();
88
 
    return store(from, strlen(from), cs);
 
88
    return store(from, strlen(from));
89
89
  }
90
 
  virtual bool store(const char *from, size_t length,
91
 
                     const CHARSET_INFO * const cs)= 0;
 
90
  virtual bool store(const char *from, size_t length)= 0;
92
91
};
93
92
 
94
93
class ProtocolFactory