~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

  • Committer: Brian Aker
  • Date: 2008-11-24 16:27:10 UTC
  • Revision ID: brian@tangent.org-20081124162710-8gusydle39009rkq
Remove dead lex structure and clean up use of pid_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
339
339
  lex->nest_level=0 ;
340
340
  lex->allow_sum_func= 0;
341
341
  lex->in_sum_func= NULL;
342
 
  /*
343
 
    ok, there must be a better solution for this, long-term
344
 
    I tried "memset" in the sql_yacc.yy code, but that for
345
 
    some reason made the values zero, even if they were set
346
 
  */
347
 
  lex->server_options.server_name= 0;
348
 
  lex->server_options.server_name_length= 0;
349
 
  lex->server_options.host= 0;
350
 
  lex->server_options.db= 0;
351
 
  lex->server_options.username= 0;
352
 
  lex->server_options.password= 0;
353
 
  lex->server_options.scheme= 0;
354
 
  lex->server_options.owner= 0;
355
 
  lex->server_options.port= -1;
356
342
 
357
343
  lex->is_lex_started= true;
358
344
  return;