Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite9da3dc

Browse files
committed
Fix compile error in ecpg when enable-multibyte is on. This is due to
illegal call to pg_mbclipen() that is for backend only. However Ihave not remove the entire part of the problem, rather mark it with#ifdef MULTIBYTE_NOTUSED since we should come back with a long rangesolution someday.
1 parenta279ced commite9da3dc

File tree

1 file changed

+3
-3
lines changed
  • src/interfaces/ecpg/preproc

1 file changed

+3
-3
lines changed

‎src/interfaces/ecpg/preproc/pgc.l

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.62 2000/09/21 11:56:07 meskes Exp $
15+
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.63 2000/09/26 05:42:15 ishii Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -385,7 +385,7 @@ cppline{space}*#(.*\\{line_end})*.*
385385
BEGIN(state_before);
386386
if (strlen(literalbuf) >= NAMEDATALEN)
387387
{
388-
#ifdefMULTIBYTE
388+
#ifdefMULTIBYTE_NOTUSED
389389
int len;
390390

391391
len =pg_mbcliplen(literalbuf,strlen(literalbuf),NAMEDATALEN-1);
@@ -547,7 +547,7 @@ cppline{space}*#(.*\\{line_end})*.*
547547

548548
if (i >= NAMEDATALEN)
549549
{
550-
#ifdefMULTIBYTE
550+
#ifdefMULTIBYTE_NOTUSED
551551
int len;
552552

553553
len =pg_mbcliplen(lower_text,strlen(lower_text),NAMEDATALEN-1);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp