aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuo Ishii <ishii@postgresql.org>2005-06-11 02:46:16 +0000
committerTatsuo Ishii <ishii@postgresql.org>2005-06-11 02:46:16 +0000
commit8bedb71888a2f08ced7e017f090775eb2746eed4 (patch)
treed721840878943caddc2ea149e3e088bde857378b
parent887a7255d16155f9ace430886cb625ea6e2cfea3 (diff)
downloadpostgresql-8bedb71888a2f08ced7e017f090775eb2746eed4.tar.gz
postgresql-8bedb71888a2f08ced7e017f090775eb2746eed4.zip
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.c4
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 3efd39a5f3f..ee460b621ba 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
- * $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.9.4.1 2005/06/11 02:46:16 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();
}