Drizzled Public API Documentation

cmpfunc.cc File Reference

This file defines all compare functions. More...

#include <config.h>
#include <drizzled/cached_item.h>
#include <drizzled/check_stack_overrun.h>
#include <drizzled/current_session.h>
#include <drizzled/error.h>
#include <drizzled/internal/my_sys.h>
#include <drizzled/item/cache_int.h>
#include <drizzled/item/cmpfunc.h>
#include <drizzled/item/int_with_ref.h>
#include <drizzled/item/subselect.h>
#include <drizzled/session.h>
#include <drizzled/sql_select.h>
#include <drizzled/temporal.h>
#include <drizzled/time_functions.h>
#include <drizzled/sql_lex.h>
#include <math.h>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  drizzled
 

TODO: Rename this file - func.h is stupid.


Functions

static bool drizzled::convert_constant_item (Session *, Item_field *, Item **)
static Item_result drizzled::item_store_type (Item_result a, Item *item, bool unsigned_flag)
static void drizzled::agg_result_type (Item_result *type, Item **items, uint32_t nitems)
static int drizzled::cmp_row_type (Item *item1, Item *item2)
static int drizzled::agg_cmp_type (Item_result *type, Item **items, uint32_t nitems)
enum_field_types drizzled::agg_field_type (Item **items, uint32_t nitems)
 Aggregates field types from the array of items.
static uint32_t drizzled::collect_cmp_types (Item **items, uint32_t nitems, bool skip_nulls=false)
static int64_t drizzled::get_date_from_str (Session *session, String *str, type::timestamp_t warn_type, char *warn_name, bool *error_arg)
 Convert date provided in a string to the int representation.
int64_t drizzled::get_datetime_value (Session *session, Item ***item_arg, Item **cache_arg, Item *warn_item, bool *is_null)
static int drizzled::cmp_longs (int64_t a_val, int64_t b_val)
static int drizzled::cmp_ulongs (uint64_t a_val, uint64_t b_val)
int drizzled::cmp_int64_t (void *, in_int64_t::packed_int64_t *a, in_int64_t::packed_int64_t *b)
static int drizzled::cmp_double (void *, double *a, double *b)
static int drizzled::cmp_row (void *, cmp_item_row *a, cmp_item_row *b)
static int drizzled::cmp_decimal (void *, type::Decimal *a, type::Decimal *b)
static int drizzled::srtcmp_in (const CHARSET_INFO *const cs, const String *x, const String *y)
Item * drizzled::and_expressions (Item *a, Item *b, Item **org_item)
static unsigned char drizzled::likeconv (const CHARSET_INFO *cs, unsigned char a)

Variables

static Eq_creator drizzled::eq_creator
static Ne_creator drizzled::ne_creator
static Gt_creator drizzled::gt_creator
static Lt_creator drizzled::lt_creator
static Ge_creator drizzled::ge_creator
static Le_creator drizzled::le_creator

Detailed Description

This file defines all compare functions.

Definition in file cmpfunc.cc.