]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix bug in MIC -> EUC_JP conversion. Per Atsushi Ogawa.
authorTatsuo Ishii <ishii@postgresql.org>
Sat, 11 Jun 2005 07:44:40 +0000 (07:44 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Sat, 11 Jun 2005 07:44:40 +0000 (07:44 +0000)
src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c

index a8619fb5927a64cc4053270e098c7693411bc831..e9fd625b0bbb68efef29eb0b827856e3d9aa919f 100644 (file)
@@ -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();
 }