~drizzle-developers/ubuntu/natty/drizzle/natty

« back to all changes in this revision

Viewing changes to drizzled/function/math/ord.cc

  • Committer: Monty Taylor
  • Date: 2010-03-03 19:27:30 UTC
  • mto: (1308.1.2 trunk)
  • mto: This revision was merged to the branch mainline in revision 1278.
  • Revision ID: mordred@inaugust.com-20100303192730-o2o3nmp0lzhuatbe
Tags: upstream-2010.03.1317
ImportĀ upstreamĀ versionĀ 2010.03.1317

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 */
19
19
 
20
20
#include "config.h"
21
 
#include CSTDINT_H
 
21
 
22
22
#include <drizzled/function/math/ord.h>
23
23
 
 
24
namespace drizzled
 
25
{
 
26
 
24
27
int64_t Item_func_ord::val_int()
25
28
{
26
29
  assert(fixed == 1);
45
48
  return (int64_t) ((unsigned char) (*res)[0]);
46
49
}
47
50
 
 
51
} /* namespace drizzled */