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

index 3efd39a5f3ffb1c3471c25afc2048767b463ac95..ddeffa57ac2c8274645653687e6e39be9a59f46f 100644 (file)
@@ -6,7 +6,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c,v 1.9 2004/12/31 22:01:53 pgsql Exp $
+ *       $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c,v 1.10 2005/06/10 16:43:56 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();
 }