Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0cb4e1 commit f2dfd56Copy full SHA for f2dfd56
src/backend/utils/adt/lztext.c
@@ -1,7 +1,7 @@
1
/* ----------
2
* lztext.c -
3
*
4
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/lztext.c,v 1.8 2000/07/03 23:09:52 wieck Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/lztext.c,v 1.9 2000/07/05 10:09:53 wieck Exp $
5
6
* Text type with internal LZ compressed representation. Uses the
7
* standard PostgreSQL compression method.
@@ -118,7 +118,7 @@ lztextlen(lztext *lz)
118
#ifdef MULTIBYTE
119
len = 0;
120
s1 = s2 = (unsigned char *) lztextout(lz);
121
- l = PGLZ_RAW_SIZE(lz);
+ l = strlen(s2);
122
while (l > 0)
123
{
124
wl = pg_mblen(s1);
0 commit comments