| OLD | NEW |
| 1 # 2010 June 03 | 1 # 2010 June 03 |
| 2 # | 2 # |
| 3 # The author disclaims copyright to this source code. In place of | 3 # The author disclaims copyright to this source code. In place of |
| 4 # a legal notice, here is a blessing: | 4 # a legal notice, here is a blessing: |
| 5 # | 5 # |
| 6 # May you do good and not evil. | 6 # May you do good and not evil. |
| 7 # May you find forgiveness for yourself and forgive others. | 7 # May you find forgiveness for yourself and forgive others. |
| 8 # May you share freely, never taking more than you give. | 8 # May you share freely, never taking more than you give. |
| 9 # | 9 # |
| 10 #*********************************************************************** | 10 #*********************************************************************** |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 proc wal_fix_walindex_cksum {hdrvar} { | 84 proc wal_fix_walindex_cksum {hdrvar} { |
| 85 upvar $hdrvar hdr | 85 upvar $hdrvar hdr |
| 86 set c1 0 | 86 set c1 0 |
| 87 set c2 0 | 87 set c2 0 |
| 88 wal_cksum_intlist c1 c2 [lrange $hdr 0 9] | 88 wal_cksum_intlist c1 c2 [lrange $hdr 0 9] |
| 89 lset hdr 10 $c1 | 89 lset hdr 10 $c1 |
| 90 lset hdr 11 $c2 | 90 lset hdr 11 $c2 |
| 91 } | 91 } |
| 92 | 92 |
| 93 | 93 |
| OLD | NEW |