]> granicus.if.org Git - pgbouncer/commitdiff
small stuff
authorMarko Kreen <markokr@gmail.com>
Wed, 1 Aug 2007 21:29:53 +0000 (21:29 +0000)
committerMarko Kreen <markokr@gmail.com>
Wed, 1 Aug 2007 21:29:53 +0000 (21:29 +0000)
src/janitor.c
src/sbuf.c

index a539942de318eff010f41d259eca42433f781694..6fb8fcf117962577edd97411f1adfb387f2eab85 100644 (file)
@@ -134,6 +134,7 @@ static void launch_recheck(PgPool *pool)
 
        if (need_check) {
                /* send test query, wait for result */
+               slog_debug(server, "P: Checking: %s", q);
                change_server_state(server, SV_TESTED);
                SEND_generic(res, server, 'Q', "s", q);
                if (!res)
index 4a314131bb2cb22d88e6dffdcadaf426f1eb336c..a08a60c4a20049690258d1f6ee7a052e1e13de86 100644 (file)
@@ -179,6 +179,7 @@ void sbuf_continue(SBuf *sbuf)
 
        sbuf_wait_for_data(sbuf);
 
+       /* FIXME: > SMALL_PKT in buffer, skip the recv() ?? */
        /*
         * There may be some data already received,
         * but not certain, so avoid SKIP_RECV.