From: Marko Kreen Date: Wed, 16 Jul 2008 14:26:47 +0000 (+0000) Subject: Further memory conservation by making state bitfield :8. X-Git-Tag: pgbouncer_1_2_rc2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a92b40773e2acf0c2cc6da0e03a8e221bcba1e9a;p=pgbouncer Further memory conservation by making state bitfield :8. Does this need #ifdef __GCC__? --- diff --git a/include/bouncer.h b/include/bouncer.h index 50a5b2e..e398a26 100644 --- a/include/bouncer.h +++ b/include/bouncer.h @@ -251,7 +251,7 @@ struct PgSocket { PgUser *auth_user; /* presented login, for client it may differ from pool->user */ - SocketState state; /* this also specifies socket location */ + SocketState state:8; /* this also specifies socket location */ bool ready:1; /* server: accepts new query */ bool close_needed:1; /* server: this socket must be closed ASAP */