~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memcached_functions/memc_cas.h

  • Committer: Brian Aker
  • Date: 2010-01-22 00:53:13 UTC
  • Revision ID: brian@gaz-20100122005313-jmizcbcdi1lt4tcx
Revert db patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 * Copyright (C) 2009, Patrick "CaptTofu" Galbraith, Padraig O'Sullivan
 
4
 * Copyright (c) 2009, Patrick "CaptTofu" Galbraith, Padraig O'Sullivan
5
5
 * All rights reserved.
6
6
 *
7
7
 * Redistribution and use in source and binary forms, with or without
37
37
#include <string>
38
38
 
39
39
/* implements memc_cas */
40
 
class MemcachedCas : public drizzled::Item_int_func
 
40
class MemcachedCas : public Item_int_func
41
41
{
42
 
  drizzled::String value;
43
 
  drizzled::String failure_buff;
 
42
  String value;
 
43
  String failure_buff;
44
44
public:
45
45
  MemcachedCas()
46
46
    :
47
47
      Item_int_func(),
48
 
      failure_buff("error ... ", &drizzled::my_charset_bin)
 
48
      failure_buff("error ... ", &my_charset_bin)
49
49
  {}
50
50
 
51
51
  const char *func_name() const