Mon Jul 20 09:43:15 PDT 2009
- Previous message: [Slony1-commit] slony1-engine/src/slon remote_worker.c
- Next message: [Slony1-commit] slony1-engine/src/slon confoptions.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/slon In directory main.slony.info:/tmp/cvs-serv21119 Modified Files: Tag: REL_1_2_STABLE remote_worker.c Log Message: Change actionseq values from "int" to "long long" to accomodate large sequence values - per bug #92 Index: remote_worker.c =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/src/slon/remote_worker.c,v retrieving revision 1.124.2.35 retrieving revision 1.124.2.36 diff -C2 -d -r1.124.2.35 -r1.124.2.36 *** remote_worker.c 9 Sep 2008 21:30:25 -0000 1.124.2.35 --- remote_worker.c 20 Jul 2009 16:43:13 -0000 1.124.2.36 *************** *** 5874,5878 **** { int state; ! int curr_number, curr_min, curr_max; --- 5874,5878 ---- { int state; ! long long curr_number, curr_min, curr_max; *************** *** 6022,6026 **** { /* Finished another number... Fold it into the ranges... */ ! slon_log(SLON_DEBUG4, "Finished number: %d\n", curr_number); /* --- 6022,6026 ---- { /* Finished another number... Fold it into the ranges... */ ! slon_log(SLON_DEBUG4, "Finished number: %lld\n", curr_number); /* *************** *** 6073,6086 **** if (curr_max == curr_min) { ! slon_log(SLON_DEBUG4, "simple entry - %d\n", curr_max); slon_appendquery(action_subquery, ! " log_actionseq <> '%d' ", curr_max); } else { ! slon_log(SLON_DEBUG4, "between entry - %d %d\n", curr_min, curr_max); slon_appendquery(action_subquery, ! " log_actionseq not between '%d' and '%d' ", curr_min, curr_max); } --- 6073,6086 ---- if (curr_max == curr_min) { ! slon_log(SLON_DEBUG4, "simple entry - %lld\n", curr_max); slon_appendquery(action_subquery, ! " log_actionseq <> '%lld' ", curr_max); } else { ! slon_log(SLON_DEBUG4, "between entry - %lld %lld\n", curr_min, curr_max); slon_appendquery(action_subquery, ! " log_actionseq not between '%lld' and '%lld' ", curr_min, curr_max); } *************** *** 6108,6121 **** if (curr_max == curr_min) { ! slon_log(SLON_DEBUG4, "simple entry - %d\n", curr_max); slon_appendquery(action_subquery, ! " log_actionseq <> '%d' ", curr_max); } else { ! slon_log(SLON_DEBUG4, "between entry - %d %d\n", curr_min, curr_max); slon_appendquery(action_subquery, ! " log_actionseq not between '%d' and '%d' ", curr_min, curr_max); } --- 6108,6121 ---- if (curr_max == curr_min) { ! slon_log(SLON_DEBUG4, "simple entry - %lld\n", curr_max); slon_appendquery(action_subquery, ! " log_actionseq <> '%lld' ", curr_max); } else { ! slon_log(SLON_DEBUG4, "between entry - %lld %lld\n", curr_min, curr_max); slon_appendquery(action_subquery, ! " log_actionseq not between '%lld' and '%lld' ", curr_min, curr_max); }
- Previous message: [Slony1-commit] slony1-engine/src/slon remote_worker.c
- Next message: [Slony1-commit] slony1-engine/src/slon confoptions.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list