mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
fixed bool parsing
This commit is contained in:
parent
96caba59d2
commit
df326ec97c
@ -83,8 +83,7 @@ var parseFloat = function(data, precisionBits, exponentBits) {
|
||||
};
|
||||
|
||||
p.parseBool = function(value) {
|
||||
console.log(JSON.stringify(value));
|
||||
return (parseBits(value, 16) == 0);
|
||||
return (parseBits(value, 8) == 1);
|
||||
}
|
||||
|
||||
p.parseInt16 = function(value) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user