$RBGB/do_pr_add.r1.3.vs.r1.4.cvsdiff - RJL060208 ------------------------------------ THis info was extracted from $pr_load.r1.3.vs.r1.4.cvsdiff =============================================================== THis was done in an older directory, ~/bde2alpha_rl/bde/pr_util where bde/pr_util was a single log-dependent copy of generated code: The significant bug in r1.4 was introduced in July 2005. - (see VVVVVV 2296a1404 ... ^^^^^) ---------------------------------- saturn.cs.uml.edu1](7)> pwd /tmp_mnt/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/bde/pr_util [saturn.cs.uml.edu1](9)> cvs diff -r1.3 -r1.4 pr_load.c | wc 1183 4035 34339 [saturn.cs.uml.edu1](8)> cvs diff -r1.3 -r1.4 pr_load.c > pr_load.r1.3.vs.r1.4.cvsdiff ===================================== [Extracts relevant to do_pr-add change: cvs diff r1.3 r1.4 ...bde/pr_util/pr_load.c: 298a313,314 > /* end GENPR_dependent compilation to avoid duplicate defs in lut.c */ > #endif 311c327,328 < (hcg_view_list.view_list[hcg_view_idx].mode == 'w') ) --- > (hcg_view_list.view_list[hcg_view_idx].mode == 'w') && > (hcg_view_list.view_list[hcg_view_idx].version_list[tbl_idx] != '\0')) 318,1228d334 ... 1631a738,739 > /* end of gen_pr_utils output to pr_load.c */ > /* start of gen_pr_init output to pr_load.c */ 1657,1658d764 > /* int hcg_replay; - Quandary: bootstrap m*.h may not have this declaration?-RJL050526 */ 2498c1610 ... 2222c1329 < } --- > } /* end pr_gen_create */ VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV BADBUG???: 2296a1404 > /* start of gen_pr_add output to pr_load.c */ 2331a1440,1441 > if (hcg_view_list.view_list[hcg_view_idx].version_list[hcg_tbl_idx] == '\0') > return; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2447c1557,1559 < /******************************************************************************//* This routine is used to read the (a lready open) datafile and call pr_add */ --- > /* start of gen_load_data output to pr_load.c */ > /******************************************************************************/ > /* This routine is used to read the (already open) datafile and call pr_add */ ... 2498c1610 < else if (strcmp( hcg_t, "SR") == 0 ) // and hcg_log == 0 ?? - RJL040712 --- > else if (strcmp( hcg_t, "SR") == 0 ) // and hcg_log == 0 ? - RJL040712 2501,2502c1613,1614 < dprints("Replay logfile is %s \n", logfile); < /* is logfile known ? */ --- > dprint("TBD: Load checkpoint *DB1 then replay logfile. > "); 2534c1646,1652 < if (HCG_KEY_SIZE == 8) ver_chars = 2; --- > if (hcg_view_list.view_list[hcg_view_idx].version_list[hcg_tbl_idx] == '\0') > { > hcg_read_next(); > continue; > } > > if (HCG_KEY_SIZE == 8) ver_chars = 2; 2591a1710 > /* start of gen_pr_parse output to pr_load.c */