~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/sql_udf.cc

MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
    let's ensure that at least one auxiliary symbol is defined
83
83
  */
84
84
  if (!tmp->func_init && !tmp->func_deinit && tmp->type != UDFTYPE_AGGREGATE)
85
 
  {
86
 
    if (!opt_allow_suspicious_udfs)
87
 
      return nm;
88
 
    if (current_thd->variables.log_warnings)
89
 
      sql_print_warning(ER(ER_CANT_FIND_DL_ENTRY), nm);
90
 
  }
 
85
    return nm;
91
86
  return 0;
92
87
}
93
88