~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_connect.cc

  • Committer: Monty Taylor
  • Date: 2008-09-23 14:19:48 UTC
  • mto: This revision was merged to the branch mainline in revision 419.
  • Revision ID: monty@inaugust.com-20080923141948-ktph2kg13addaxq1
Actually removed VOID() this time.

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
  {
120
120
    pthread_mutex_lock(&LOCK_connection_count);
121
121
    bool count_ok= connection_count <= max_connections;
122
 
    VOID(pthread_mutex_unlock(&LOCK_connection_count));
 
122
    pthread_mutex_unlock(&LOCK_connection_count);
123
123
 
124
124
    if (!count_ok)
125
125
    {                                         // too many connections