~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/utility_functions/execute.h

  • Committer: Brian Aker
  • Date: 2010-12-08 03:38:36 UTC
  • mto: This revision was merged to the branch mainline in revision 1987.
  • Revision ID: brian@tangent.org-20101208033836-d0pacr0sjcd3py2w
Added WAIT to the execute() function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
 
62
62
  bool check_argument_count(int n)
63
63
  {
64
 
    return (n == 1);
 
64
    if (n == 2)
 
65
    {
 
66
      execute.setWait();
 
67
    }
 
68
 
 
69
    return (n == 1 or n == 2);
65
70
  }
66
71
};
67
72