~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/lex_string.h

  • Committer: Mark Atwood
  • Date: 2011-10-19 00:10:47 UTC
  • mfrom: (2440.2.13 rf)
  • Revision ID: me@mark.atwood.name-20111019001047-atj0u8gedphon1tb
mergeĀ lp:~olafvdspek/drizzle/refactor5

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#pragma once
21
21
 
22
22
#include <cstddef>
 
23
#include <drizzled/util/data_ref.h>
23
24
 
24
25
namespace drizzled {
25
26
 
56
57
    length_ = s;
57
58
  }
58
59
 
 
60
  void operator=(str_ref v)
 
61
  {
 
62
    assign(v.data(), v.size());
 
63
  }
 
64
 
59
65
  char* str_;
60
66
  size_t length_;
61
67
};