mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Cleaned up SSL documentation
Fixes for embedded server Made key_cache more configurable Fixed that one can change key blocksize in MyISAM A lot of optimizations to make MyISAM slightly faster
This commit is contained in:
@ -429,6 +429,7 @@ class Item_func_in :public Item_int_func
|
||||
|
||||
class Item_func_isnull :public Item_bool_func
|
||||
{
|
||||
enum Item_result internal_result_type;
|
||||
public:
|
||||
Item_func_isnull(Item *a) :Item_bool_func(a) {}
|
||||
longlong val_int();
|
||||
@ -437,6 +438,7 @@ public:
|
||||
{
|
||||
decimals=0; max_length=1; maybe_null=0;
|
||||
Item_func_isnull::update_used_tables();
|
||||
internal_result_type=args[0]->result_type();
|
||||
}
|
||||
const char *func_name() const { return "isnull"; }
|
||||
/* Optimize case of not_null_column IS NULL */
|
||||
@ -455,11 +457,16 @@ public:
|
||||
|
||||
class Item_func_isnotnull :public Item_bool_func
|
||||
{
|
||||
enum Item_result internal_result_type;
|
||||
public:
|
||||
Item_func_isnotnull(Item *a) :Item_bool_func(a) {}
|
||||
longlong val_int();
|
||||
enum Functype functype() const { return ISNOTNULL_FUNC; }
|
||||
void fix_length_and_dec() { decimals=0; max_length=1; maybe_null=0; }
|
||||
void fix_length_and_dec()
|
||||
{
|
||||
decimals=0; max_length=1; maybe_null=0;
|
||||
internal_result_type=args[0]->result_type();
|
||||
}
|
||||
const char *func_name() const { return "isnotnull"; }
|
||||
optimize_type select_optimize() const { return OPTIMIZE_NULL; }
|
||||
};
|
||||
|
Reference in New Issue
Block a user