~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/protocol.h

  • Committer: Brian Aker
  • Date: 2009-06-10 23:43:32 UTC
  • mfrom: (1054.2.25 mordred)
  • Revision ID: brian@gaz-20090610234332-o8zyo1lm2p6a2e7l
Merge Monty

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