~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/base.h

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

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 "definitions.h"
 
28
#include <drizzled/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
 
}
426
422
 
427
423
#define HA_POS_ERROR    (~ (::drizzled::ha_rows) 0)
428
424
#define HA_OFFSET_ERROR (~ (::drizzled::internal::my_off_t) 0)