Skip to content

Commit d76ed2b

Browse files
committed
check result
1 parent a892e81 commit d76ed2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/apps/freebcp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,8 @@ file_process(BCPPARAMDATA *pdata, DBPROCESS *dbproc, DBINT dir)
561561

562562
/* note: process_Eflag frees data needed by format_column() for NATIVE type,
563563
* so call this after the column loop. */
564-
process_Eflag(pdata, dbproc);
564+
if (!process_Eflag(pdata, dbproc))
565+
return FALSE;
565566

566567
printf("\nStarting copy...\n\n");
567568

0 commit comments

Comments
 (0)