Fix some mysql code issues.
base/stats/events.cc:
cast this to an unsigned long long to make the compiler happy
on 64-bit platforms.
--HG--
extra : convert_revision : e893d21bb228cbfb0c23adb7c4eeb1f62209ca1c
This commit is contained in:
@@ -134,7 +134,7 @@ InsertEvent::insert(const string &stat)
|
||||
first = false;
|
||||
|
||||
size += sprintf(query + size, "(%u,%u,%llu)",
|
||||
event, run, curTick);
|
||||
event, run, (unsigned long long)curTick);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user