diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2005-06-11 07:44:40 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2005-06-11 07:44:40 +0000 |
commit | 8154f06301e94c431b78f108fba87c8a2fbed5a2 (patch) | |
tree | 20a3f02a4dd4e71bd273184747e201e07a115bd5 | |
parent | 7ef90f5aade6954bb30cbb10b950211937314ff3 (diff) | |
download | postgresql-8154f06301e94c431b78f108fba87c8a2fbed5a2.tar.gz |
Fix bug in MIC -> EUC_JP conversion. Per Atsushi Ogawa.
-rw-r--r-- | src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c b/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c index a8619fb592..e9fd625b0b 100644 --- a/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c +++ b/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c,v 1.5 2002/10/26 15:00:59 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c,v 1.5.2.1 2005/06/11 07:44:40 ishii Exp $ * *------------------------------------------------------------------------- */ @@ -126,7 +126,7 @@ mic_to_euc_jp(PG_FUNCTION_ARGS) Assert(PG_GETARG_INT32(1) == PG_EUC_JP); Assert(len >= 0); - mic2sjis(src, dest, len); + mic2euc_jp(src, dest, len); PG_RETURN_VOID(); } |