From 82dc79702f527437d226680eea3b245ced2c3363 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 13 Jun 2001 21:07:12 +0000 Subject: [PATCH] Fix compile failure when --enable-multibyte. Marko Kreen --- src/backend/commands/sequence.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/commands/sequence.c b/src/backend/commands/sequence.c index 1aee215de3..6861ee5c3d 100644 --- a/src/backend/commands/sequence.c +++ b/src/backend/commands/sequence.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/sequence.c,v 1.58 2001/06/06 22:03:48 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/sequence.c,v 1.59 2001/06/13 21:07:12 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -569,7 +569,7 @@ get_seq_name(text *seqin) #ifdef MULTIBYTE int len; - len = pg_mbcliplen(seqname, i, NAMEDATALEN-1); + len = pg_mbcliplen(seqname, rawlen, NAMEDATALEN-1); seqname[len] = '\0'; #else seqname[NAMEDATALEN-1] = '\0'; -- 2.40.0