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

Commite539eb2

Browse files
committed
Fix ecpg quoting bug in 6.5.* release.
1 parentef26b94 commite539eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/interfaces/ecpg/lib/ecpglib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ next_insert(char *text)
365365
boolstring= false;
366366

367367
for (;*ptr!='\0'&& (*ptr!='?'||string);ptr++)
368-
if (*ptr=='\'')
368+
if (*ptr=='\''&&*(ptr-1)!='\\')
369369
string=string ? false : true;
370370

371371
return (*ptr=='\0') ?NULL :ptr;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp