Merge lp:~lefred/undrop-for-innodb/undrop-for-innodb_time into lp:~alikrubin75/undrop-for-innodb/undrop-for-innodb

Proposed by Alexander Rubin
Status: Approved
Approved by: Alexander Rubin
Approved revision: 24
Proposed branch: lp:~lefred/undrop-for-innodb/undrop-for-innodb_time
Merge into: lp:~alikrubin75/undrop-for-innodb/undrop-for-innodb
Diff against target: 16 lines (+3/-3)
1 file modified
print_data.c (+3/-3)
To merge this branch: bzr merge lp:~lefred/undrop-for-innodb/undrop-for-innodb_time
Reviewer Review Type Date Requested Status
Alexander Rubin Pending
Review via email: mp+235718@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alexander Rubin (alikrubin75) wrote :

Fix bug with time

Unmerged revisions

24. By lefred <email address hidden>

Fix time

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'print_data.c'
--- print_data.c 2014-09-04 18:02:09 +0000
+++ print_data.c 2014-09-23 21:36:10 +0000
@@ -177,9 +177,9 @@
177 fprintf(f_result, "\"%02u:%02u:%02u.%d\"", hour, min, sec, frac);177 fprintf(f_result, "\"%02u:%02u:%02u.%d\"", hour, min, sec, frac);
178 }else{178 }else{
179 ltime &= ~(1UL << 23);179 ltime &= ~(1UL << 23);
180 sec = ltime % 60; ltime /= 60;180 sec = ltime % 100; ltime /= 100;
181 min = ltime % 60; ltime /= 60;181 min = ltime % 100; ltime /= 100;
182 hour = ltime % 24;182 hour = ltime;
183 fprintf(f_result, "\"%02u:%02u:%02u\"", hour, min, sec);183 fprintf(f_result, "\"%02u:%02u:%02u\"", hour, min, sec);
184 }184 }
185}185}

Subscribers

People subscribed via source and target branches