mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
Fix incorrect comment.
PQmblen and PQdsplen return information about characters, not words. Kyotaro Horiguchi
This commit is contained in:
@ -1180,7 +1180,7 @@ pqSocketPoll(int sock, int forRead, int forWrite, time_t end_time)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* returns the byte length of the word beginning s, using the
|
* returns the byte length of the character beginning at s, using the
|
||||||
* specified encoding.
|
* specified encoding.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
@ -1190,7 +1190,7 @@ PQmblen(const char *s, int encoding)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* returns the display length of the word beginning s, using the
|
* returns the display length of the character beginning at s, using the
|
||||||
* specified encoding.
|
* specified encoding.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
|
Reference in New Issue
Block a user