mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
rename reserved word char to c
This commit is contained in:
parent
5e3cfe5d47
commit
cf6da99fca
@ -63,9 +63,9 @@ p.addCString = function(string) {
|
||||
return this;
|
||||
};
|
||||
|
||||
p.addChar = function(char) {
|
||||
p.addChar = function(c) {
|
||||
this._ensure(1);
|
||||
writeString(this.buffer, char, this.offset, 1);
|
||||
writeString(this.buffer, c, this.offset, 1);
|
||||
this.offset++;
|
||||
return this;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user