~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/log_event.h

  • Committer: Monty Taylor
  • Date: 2008-08-10 06:11:44 UTC
  • mto: (312.1.3 translations)
  • mto: This revision was merged to the branch mainline in revision 295.
  • Revision ID: monty@inaugust.com-20080810061144-llnyqeju5zckd6pw
Oy. Replaced max and min macros with std::max and std::min so that we get
strong typing. And, then, cast things in the right direction...

Show diffs side-by-side

added added

removed removed

Lines of Context:
211
211
   event's ID, LOG_EVENT_HEADER_LEN will be something like 26, but
212
212
   LOG_EVENT_MINIMAL_HEADER_LEN will remain 19.
213
213
*/
214
 
#define LOG_EVENT_MINIMAL_HEADER_LEN 19
 
214
#define LOG_EVENT_MINIMAL_HEADER_LEN (uint8_t)19
215
215
 
216
216
/* event-specific post-header sizes */
217
217
// where 3.23, 4.x and 5.0 agree