Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf2dfd56

Browse files
Jan WieckJan Wieck
Jan Wieck
authored and
Jan Wieck
committed
Fixed lztextlen() bug in MULTIBYTE, still thinking that lztext
does compression itself the old way.Jan
1 parentd0cb4e1 commitf2dfd56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/adt/lztext.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* ----------
22
* lztext.c -
33
*
4-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/lztext.c,v 1.8 2000/07/03 23:09:52 wieck Exp $
4+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/lztext.c,v 1.9 2000/07/05 10:09:53 wieck Exp $
55
*
66
*Text type with internal LZ compressed representation. Uses the
77
*standard PostgreSQL compression method.
@@ -118,7 +118,7 @@ lztextlen(lztext *lz)
118118
#ifdefMULTIBYTE
119119
len=0;
120120
s1=s2= (unsignedchar*)lztextout(lz);
121-
l=PGLZ_RAW_SIZE(lz);
121+
l=strlen(s2);
122122
while (l>0)
123123
{
124124
wl=pg_mblen(s1);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp