projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff2b062
)
Further memory conservation by making state bitfield :8.
author
Marko Kreen
<markokr@gmail.com>
Wed, 16 Jul 2008 14:26:47 +0000
(14:26 +0000)
committer
Marko Kreen
<markokr@gmail.com>
Wed, 16 Jul 2008 14:26:47 +0000
(14:26 +0000)
Does this need #ifdef __GCC__?
include/bouncer.h
patch
|
blob
|
blame
|
history
diff --git
a/include/bouncer.h
b/include/bouncer.h
index 50a5b2e87dbed6ce5d559f3029d5d48237895fb8..e398a2649959d789bcd5148d017569ba8d5a118a 100644
(file)
--- 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 */