Make trim/ltrim/rtrim/btrim multibyte aware

(previous commit was missing commit messages)
This commit is contained in:
Tatsuo Ishii 2001-09-22 03:30:39 +00:00
parent 3e90401c7c
commit 3c177edc88

View File

@ -1,7 +1,7 @@
/* /*
* Edmund Mergl <E.Mergl@bawue.de> * Edmund Mergl <E.Mergl@bawue.de>
* *
* $Header: /cvsroot/pgsql/src/backend/utils/adt/oracle_compat.c,v 1.33 2001/09/22 03:26:30 ishii Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/oracle_compat.c,v 1.34 2001/09/22 03:30:39 ishii Exp $
* *
*/ */
@ -381,7 +381,6 @@ btrim(PG_FUNCTION_ARGS)
m -= str_len; m -= str_len;
} }
pfree(mp); pfree(mp);
#else #else
while (m > 0) while (m > 0)
{ {
@ -652,7 +651,6 @@ rtrim(PG_FUNCTION_ARGS)
m -= str_len; m -= str_len;
} }
pfree(mp); pfree(mp);
#else #else
while (m > 0) while (m > 0)
{ {