~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/create.cc

  • Committer: Brian Aker
  • Date: 2009-05-06 07:14:56 UTC
  • mfrom: (1005.1.4 mordred)
  • Revision ID: brian@gaz-20090506071456-8whd3jjb4i1c1yd4
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1591
1591
 
1592
1592
  func= (*udf)(session->mem_root);
1593
1593
 
1594
 
  func->set_arguments(*item_list);
 
1594
  if(!func->check_argument_count(arg_count))
 
1595
  {
 
1596
    my_error(ER_WRONG_PARAMETERS_TO_NATIVE_FCT, MYF(0), func->func_name());
 
1597
    return NULL;
 
1598
  }
 
1599
 
 
1600
  if(item_list)
 
1601
    func->set_arguments(*item_list);
1595
1602
 
1596
1603
  return func;
1597
1604
}