~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/base.h

  • Committer: Stewart Smith
  • Date: 2011-01-21 01:09:12 UTC
  • mfrom: (2099 staging)
  • mto: (2099.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2100.
  • Revision ID: stewart@flamingspork.com-20110121010912-x5ogi8rm08nortxp
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 * @TODO Convert HA_XXX defines into enums and/or bitmaps
26
26
 */
27
27
 
28
 
#include <drizzled/definitions.h>
 
28
#include "definitions.h"
29
29
 
30
30
#ifndef DRIZZLED_BASE_H
31
31
#define DRIZZLED_BASE_H
419
419
 
420
420
/* For number of records */
421
421
typedef uint64_t        ha_rows;
 
422
inline static double rows2double(ha_rows rows)
 
423
{  
 
424
  return uint64_t2double(rows);
 
425
}
422
426
 
423
427
#define HA_POS_ERROR    (~ (::drizzled::ha_rows) 0)
424
428
#define HA_OFFSET_ERROR (~ (::drizzled::internal::my_off_t) 0)