~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/oldlibdrizzle/oldlibdrizzle.cc

  • Committer: Brian Aker
  • Date: 2009-04-09 21:17:19 UTC
  • mfrom: (971.3.24 eday-dev)
  • Revision ID: brian@gaz-20090409211719-brkgflx5sc3oqhtz
MergeĀ Eric

Show diffs side-by-side

added added

removed removed

Lines of Context:
537
537
    the client, the connection is closed or "net_wait_timeout"
538
538
    number of seconds has passed
539
539
  */
 
540
#ifdef NEVER
 
541
  /* We can do this much more efficiently with poll timeouts or watcher thread,
 
542
     disabling for now, which means net_wait_timeout == read_timeout. */
540
543
  drizzleclient_net_set_read_timeout(&net,
541
544
                                     session->variables.net_wait_timeout);
 
545
#endif
542
546
 
543
547
  session->clear_error();
544
548
  session->main_da.reset_diagnostics_area();
585
589
  /* Do not rely on drizzleclient_net_read, extra safety against programming errors. */
586
590
  (*l_packet)[*packet_length]= '\0';                  /* safety */
587
591
 
 
592
#ifdef NEVER
 
593
  /* See comment above. */
588
594
  /* Restore read timeout value */
589
595
  drizzleclient_net_set_read_timeout(&net,
590
596
                                     session->variables.net_read_timeout);
 
597
#endif
591
598
 
592
599
  return true;
593
600
}