Improper block_size corrections in new option processing system
Bug #616035 reported by
Vijay Samuel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Undecided
|
Vijay Samuel |
Bug Description
The new options processing system does block_size correction as follows:
value/= block_size;
value*= block_size; which Stewart pointed out to be improper and has to be replaced with the following code:
value-= value%block_size;
Related branches
lp:~vjsamuel/drizzle/bug-616035
- Drizzle Merge Team: Pending requested
-
Diff: 51 lines (+6/-7)2 files modifiedclient/drizzle.cc (+4/-5)
client/drizzletest.cc (+2/-2)
Changed in drizzle: | |
milestone: | none → 2010-08-16 |
Changed in drizzle: | |
status: | New → Fix Released |
To post a comment you must log in.