~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/sql_udf.cc

  • Committer: Monty Taylor
  • Date: 2008-07-09 16:33:52 UTC
  • mto: (77.6.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 112.
  • Revision ID: monty@inaugust.com-20080709163352-yv7jbu81frc1l4ec
Finished the warnings work!

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
 
104
104
void udf_init()
105
105
{
106
 
  udf_func *tmp;
107
106
  TABLE_LIST tables;
108
 
  READ_RECORD read_record_info;
109
 
  TABLE *table;
110
 
  int error;
111
 
  
112
 
  char db[]= "mysql"; /* A subject to casednstr, can't be constant */
113
107
 
114
108
  if (initialized)
115
109
    return;
116
110
 
117
111
  my_rwlock_init(&THR_LOCK_udf,NULL);
118
 
  
 
112
 
119
113
  init_sql_alloc(&mem, UDF_ALLOC_BLOCK_SIZE, 0);
120
114
  THD *new_thd = new THD;
121
115
  if (!new_thd ||