mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fixed some build problems.
Fix that compressed packets and normal packets looks indentical before calling net_real_write() (Needed for query cache) Optimize IS NULL handling Build-tools/Do-compile: Fix for machines with clocks in an earlier timezone Docs/manual.texi: Fixed typo acinclude.m4: Fixed typo client/mysqlbinlog.cc: Cleanup client/mysqltest.c: Added --compress to test the compressed protocol configure.in: Increment shared library number (because structs changed) include/mysql.h: Optimize structs for Ia64 include/mysql_com.h: Optimize structs for Ia64 libmysql/libmysql.c: Portability fixes libmysql/net.c: Fix that compressed packets and normal packets looks indentical before calling net_real_write() (Needed for query cache) libmysqld/examples/Makefile.am: Portability fix libmysqld/libmysqld.c: Portability fixes mysql-test/mysql-test-run.sh: Added --compress to test the compressed protocol mysql-test/t/type_enum.test: A mysys/mf_casecnv.c: Portability fixes mysys/mf_tempfile.c: Portability fixes scripts/make_binary_distribution.sh: Add libmysqld to binary distribution sql-bench/server-cfg.sh: Fix for Interbase sql/item.h: Optimize IS NULL handling sql/item_cmpfunc.cc: Optimize IS NULL handling sql/item_cmpfunc.h: Optimize IS NULL handling sql/item_func.cc: cleanup sql/item_func.h: Optimize IS NULL handling sql/mysql_priv.h: c sql/net_serv.cc: Fix that compressed packets and normal packets looks indentical before calling net_real_write() (Needed for query cache)
This commit is contained in:
@@ -46,6 +46,7 @@ public:
|
||||
virtual enum Functype rev_functype() const { return UNKNOWN_FUNC; }
|
||||
bool have_rev_func() const { return rev_functype() != UNKNOWN_FUNC; }
|
||||
void print(String *str) { Item_func::print_op(str); }
|
||||
bool is_null() { return test(args[0]->is_null() || args[1]->is_null()); }
|
||||
};
|
||||
|
||||
|
||||
@@ -429,7 +430,6 @@ 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();
|
||||
@@ -438,7 +438,6 @@ 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 */
|
||||
@@ -457,7 +456,6 @@ 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();
|
||||
@@ -465,7 +463,6 @@ public:
|
||||
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