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

Commita9f301d

Browse files
committed
Fix format truncation issue from ECPG test
This fixes one warning generated by GCC and present in the test casearray part of ECPG. This likely got missed in past fixes like3a4b891because the compilation of those tests is not done by default.Reported-by: Sergei KornilovDiscussion:https://postgr.es/m/14951331562847675@sas2-a1efad875d04.qloud-c.yandex.net
1 parent6ae4e8e commita9f301d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/interfaces/ecpg/test/expected/sql-array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ main (void)
156156
ECPGdebug(1,stderr);
157157

158158
for (j=0;j<10;j++) {
159-
charstr[20];
159+
charstr[28];
160160
numeric*value;
161161
interval*inter;
162162

‎src/interfaces/ecpg/test/sql/array.pgc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ EXEC SQL END DECLARE SECTION;
3434
ECPGdebug(1, stderr);
3535

3636
for (j = 0; j < 10; j++) {
37-
char str[20];
37+
char str[28];
3838
numeric *value;
3939
interval *inter;
4040

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp