~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/lex_string.h

  • Committer: Mark Atwood
  • Date: 2011-08-11 03:05:03 UTC
  • mfrom: (2385.1.12 refactor4)
  • Revision ID: me@mark.atwood.name-20110811030503-rp9xjihc5x3y0x4q
mergeĀ lp:~olafvdspek/drizzle/refactor4

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
  return tmp;
51
51
}
52
52
 
53
 
#define NULL_lex_string_t null_lex_string()
54
 
 
55
53
struct execute_string_t : public lex_string_t
56
54
{
57
55
private:
72
70
 
73
71
};
74
72
 
75
 
#define STRING_WITH_LEN(X) (X), (static_cast<size_t>((sizeof(X) - 1))) // remove size_t cast
76
 
#define C_STRING_WITH_LEN(X) (const_cast<char*>((X))), (static_cast<size_t>((sizeof(X) - 1)))
 
73
#define STRING_WITH_LEN(X) (X), (sizeof(X) - 1)
 
74
#define C_STRING_WITH_LEN(X) const_cast<char*>(X), (sizeof(X) - 1)
77
75
 
78
76
} /* namespace drizzled */
79
77