~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/utility_functions/execute.cc

  • Committer: Mark Atwood
  • Date: 2011-08-12 04:08:33 UTC
  • mfrom: (2385.2.17 refactor5)
  • Revision ID: me@mark.atwood.name-20110812040833-u6j85nc6ahuc0dtz
mergeĀ lp:~olafvdspek/drizzle/refactor5

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
bool Execute::val_bool()
31
31
{
32
32
  drizzled::String *res= args[0]->val_str(&_res);
33
 
 
34
33
  if (not res or not res->length())
35
34
  {
36
35
    null_value= true;
37
36
    return false;
38
37
  }
39
 
 
40
 
  execute.run(res->c_str(), res->length());
41
 
 
 
38
  execute.run(*res);
42
39
  null_value= false;
43
 
 
44
40
  return true;
45
41
}
46
42