~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_plugin.cc

  • Committer: Monty Taylor
  • Date: 2009-05-29 01:48:05 UTC
  • mto: This revision was merged to the branch mainline in revision 1044.
  • Revision ID: mordred@inaugust.com-20090529014805-5rtk8blns6kj6x4o
Changed name to std::string.

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
/* declared in set_var.cc */
170
170
extern sys_var *intern_find_sys_var(const char *str, uint32_t length, bool no_error);
171
171
extern bool throw_bounds_warning(Session *session, bool fixed, bool unsignd,
172
 
                                 const char *name, int64_t val);
 
172
                                 const std::string &name, int64_t val);
 
173
 
 
174
static bool throw_bounds_warning(Session *session, bool fixed, bool unsignd,
 
175
                                 const char *name, int64_t val)
 
176
{
 
177
  const std::string name_str(name);
 
178
  return throw_bounds_warning(session, fixed, unsignd, name_str, val);
 
179
}
173
180
 
174
181
/****************************************************************************
175
182
  Value type thunks, allows the C world to play in the C++ world