Fix format truncation issue from ECPG test
This fixes one warning generated by GCC and present in the test case array part of ECPG. This likely got missed in past fixes like 3a4b891 because the compilation of those tests is not done by default. Reported-by: Sergei Kornilov Discussion: https://postgr.es/m/14951331562847675@sas2-a1efad875d04.qloud-c.yandex.net
This commit is contained in:
parent
6ae4e8eae7
commit
a9f301df0e
@ -156,7 +156,7 @@ main (void)
|
||||
ECPGdebug(1, stderr);
|
||||
|
||||
for (j = 0; j < 10; j++) {
|
||||
char str[20];
|
||||
char str[28];
|
||||
numeric *value;
|
||||
interval *inter;
|
||||
|
||||
|
@ -34,7 +34,7 @@ EXEC SQL END DECLARE SECTION;
|
||||
ECPGdebug(1, stderr);
|
||||
|
||||
for (j = 0; j < 10; j++) {
|
||||
char str[20];
|
||||
char str[28];
|
||||
numeric *value;
|
||||
interval *inter;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user