Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 212bba9

Browse files
committed
Fix incorrect comment.
PQmblen and PQdsplen return information about characters, not words. Kyotaro Horiguchi
1 parent aec64e8 commit 212bba9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/libpq/fe-misc.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ pqSocketPoll(int sock, int forRead, int forWrite, time_t end_time)
11801180
*/
11811181

11821182
/*
1183-
* returns the byte length of the word beginning s, using the
1183+
* returns the byte length of the character beginning at s, using the
11841184
* specified encoding.
11851185
*/
11861186
int
@@ -1190,7 +1190,7 @@ PQmblen(const char *s, int encoding)
11901190
}
11911191

11921192
/*
1193-
* returns the display length of the word beginning s, using the
1193+
* returns the display length of the character beginning at s, using the
11941194
* specified encoding.
11951195
*/
11961196
int

0 commit comments

Comments
 (0)