Merge lp:~vlad-lesin/percona-playback/bug1021602 into lp:percona-playback

Proposed by Vlad Lesin
Status: Merged
Approved by: Stewart Smith
Approved revision: 145
Merge reported by: Stewart Smith
Merged at revision: not available
Proposed branch: lp:~vlad-lesin/percona-playback/bug1021602
Merge into: lp:percona-playback
Diff against target: 26 lines (+2/-3)
2 files modified
percona_playback/dispatcher.h (+1/-2)
percona_playback/query_log/query_log.cc (+1/-1)
To merge this branch: bzr merge lp:~vlad-lesin/percona-playback/bug1021602
Reviewer Review Type Date Requested Status
Stewart Smith (community) Approve
Review via email: mp+113696@code.launchpad.net

Description of the change

Fix build errors on CentOS5.

To post a comment you must log in.
Revision history for this message
Stewart Smith (stewart) wrote :

 review approve
 merge approve

--
Stewart Smith

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'percona_playback/dispatcher.h'
--- percona_playback/dispatcher.h 2012-06-22 06:20:44 +0000
+++ percona_playback/dispatcher.h 2012-07-06 07:17:17 +0000
@@ -35,8 +35,7 @@
35 boost::shared_ptr<DBThreadState>35 boost::shared_ptr<DBThreadState>
36 get_thread_state(uint64_t thread_id,36 get_thread_state(uint64_t thread_id,
37 boost::function1<void, DBThread *>37 boost::function1<void, DBThread *>
38 run_on_db_thread_create=38 run_on_db_thread_create);
39 boost::function1<void, DBThread *>());
40 void dispatch(QueryEntryPtr query_entry);39 void dispatch(QueryEntryPtr query_entry);
41 bool finish_and_wait(uint64_t thread_id);40 bool finish_and_wait(uint64_t thread_id);
42 void finish_all_and_wait();41 void finish_all_and_wait();
4342
=== modified file 'percona_playback/query_log/query_log.cc'
--- percona_playback/query_log/query_log.cc 2012-07-05 07:37:39 +0000
+++ percona_playback/query_log/query_log.cc 2012-07-06 07:17:17 +0000
@@ -165,7 +165,7 @@
165 expected_result.setError(0);165 expected_result.setError(0);
166166
167 boost::posix_time::time_duration expected_duration=167 boost::posix_time::time_duration expected_duration=
168 boost::posix_time::microseconds(query_time * 1000000);168 boost::posix_time::microseconds(long(query_time * 1000000));
169 expected_result.setDuration(expected_duration);169 expected_result.setDuration(expected_duration);
170170
171 boost::posix_time::ptime start_time;171 boost::posix_time::ptime start_time;

Subscribers

People subscribed via source and target branches

to all changes: