Commit 82dc7970 authored by Bruce Momjian's avatar Bruce Momjian

Fix compile failure when --enable-multibyte.

Marko Kreen
parent dbe49b8c
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -569,7 +569,7 @@ get_seq_name(text *seqin)
#ifdef MULTIBYTE #ifdef MULTIBYTE
int len; int len;
len = pg_mbcliplen(seqname, i, NAMEDATALEN-1); len = pg_mbcliplen(seqname, rawlen, NAMEDATALEN-1);
seqname[len] = '\0'; seqname[len] = '\0';
#else #else
seqname[NAMEDATALEN-1] = '\0'; seqname[NAMEDATALEN-1] = '\0';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment