diff options
Diffstat (limited to 'db2')
-rw-r--r-- | db2/progs/db_load/db_load.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db2/progs/db_load/db_load.c b/db2/progs/db_load/db_load.c index 5ac1775..84cfb36 100644 --- a/db2/progs/db_load/db_load.c +++ b/db2/progs/db_load/db_load.c @@ -161,7 +161,7 @@ main(argc, argv) /* Get each key/data pair and add them to the database. */ for (recno = 1;; ++recno) { - if (dbtype == DB_RECNO) + if (dbtype == DB_RECNO) { if (checkprint) { if (dbt_rprint(&data)) break; @@ -169,7 +169,7 @@ main(argc, argv) if (dbt_rdump(&data)) break; } - else + } else if (checkprint) { if (dbt_rprint(&key)) break; |