~eric-rnd/mysql-proxy/mysql-proxy-fixes

« back to all changes in this revision

Viewing changes to src/network-backend.c

  • Committer: Eric Herman
  • Date: 2009-09-16 12:20:47 UTC
  • Revision ID: eric@mysql.com-20090916122047-i05z8forvhkd5elk
fix for BUG#47370 'Proxy does not log what port it is listening on or proxying to'
 http://bugs.mysql.com/bug.php?id=47370

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
        if (!is_known) g_ptr_array_add(bs->backends, new_backend);
126
126
        g_mutex_unlock(bs->backends_mutex);
127
127
 
 
128
        if (!is_known) g_message("added %s backend: %s", (type == BACKEND_TYPE_RW) ? "read/write" : "read-only", address);
 
129
 
128
130
        return is_known ? -1 : 0;
129
131
}
130
132