~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/plugin/plugin_stubs.h

  • Committer: Padraig O'Sullivan
  • Date: 2010-12-03 19:16:09 UTC
  • mto: (1975.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1976.
  • Revision ID: osullivan.padraig@gmail.com-20101203191609-7s81iwt33vrgmz9v
Some re-factoring based on feedback from Monty on IRC.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#ifndef UNITTESTS_STUB_PLUGIN_STUBS_H
23
23
#define UNITTESTS_STUB_PLUGIN_STUBS_H
24
24
 
25
 
#include <config.h>
 
25
#include "config.h"
26
26
 
27
27
#include <cstring>
28
28
#include <drizzled/plugin/authentication.h>
175
175
    (void)buffer;
176
176
    return store_ret_val;
177
177
  };
178
 
  virtual bool store(const drizzled::type::Time *from)
 
178
  virtual bool store(const drizzled::DRIZZLE_TIME *from)
179
179
  {
180
180
    return Client::store(from);
181
181
  }
231
231
    authenticate_return = value;
232
232
  }
233
233
 
234
 
  virtual bool authenticate(const drizzled::identifier::User &sctx, const std::string &passwd)
 
234
  virtual bool authenticate(const drizzled::SecurityContext &sctx, const std::string &passwd)
235
235
  {
236
236
    (void)sctx;
237
237
    (void)passwd;