- 13 Mar, 2005 1 commit
-
-
unknown authored
implementation of AVG(DISTINCT) which utilizes the approach with Fields. The patch implemented in October is portede to the up-to-date tree containing DECIMAL type. Tests for AVG(DISTINCT) (although there is not much to test provided that SUM(DISTINCT) works), cleanups for COUNT(DISTINCT) and GROUP_CONCAT() will follow in another changeset. sql/field.cc: A handy way to init create_field used for use with virtual tmp tables. Feel free to extend it for your own needs. sql/field.h: Declaration for create_field::init_for_tmp_table() sql/item.cc: Implementation for a framework used to easily handle different result types of SQL expressions. Instead of having instances of each possible result type (integer, decimal, double) in every item, variables of all used types are moved to struct Hybrid_type. Hybrid_type can change its dynamic type in runtime, and become, for instance, DECIMAL from INTEGER. All type-specific Item operations are moved to the class hierarchy Hybrid_type_traits. Item::decimals and Item::max_length can be moved to Hybrid_type as well. sql/item.h: Declaration for Hybrid_type framework. See also comments for item.cc in this changeset. sql/item_sum.cc: Rewritten implementation for Item_sum_sum_distinct (SUM(DISTINCT)) and added implementation for Item_sum_avg_distinct (AVG(DISTINCT)). The classes utilize Hybrid_type class hierarchy and Fields to convert SUM/AVG arguments to binary representation and store in a RB-tree. sql/item_sum.h: Declarations for Item_sum_distinct (the new intermediate class used for SUM and AVG distinct), Item_sum_sum_distinct, Item_sum_avg_distinct. sql/sql_select.cc: Implementatio of create_virtual_tmp_table(). sql/sql_select.h: Declaration for create_virtual_tmp_table. sql/sql_yacc.yy: Grammar support for Item_sum_avg_distinct.
-
- 09 Mar, 2005 6 commits
-
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 BitKeeper/etc/logging_ok: auto-union sql/item.cc: Auto merged sql/sql_parse.cc: Auto merged
-
unknown authored
into pcgem.rdg.cyberkinetica.com:/var/db/bk/work-acurtis/bug3788.4 mysql-test/r/sp.result: Auto merged mysql-test/t/sp.test: Auto merged sql/sql_parse.cc: Auto merged
-
unknown authored
-
unknown authored
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb sql/sql_parse.cc: Auto merged
-
unknown authored
fix crashing bug in Dict caused by Suma on CREATE_SUBID_REF ndb/include/kernel/signaldata/SumaImpl.hpp: fix crashing bug in Dict caused by Suma on CREATE_SUBID_REF ndb/src/ndbapi/NdbEventOperationImpl.cpp: fixed bug in event handling of several tables
-
- 08 Mar, 2005 19 commits
-
-
unknown authored
into quadita2.mysql.com:/nfstmp1/guilhem/mysql-5.0
-
unknown authored
which is always false. In a very fast InnoDB shutdown, we just ensure that no more transactions are running, flush InnoDB log, signal InnoDB threads to die, and then return from InnoDB (from innobase_end()) without waiting for those threads to actually die. I have tested on a 4CPU machine that even with --innodb_flush_log_at_trx_commit=0, this optimized InnoDB very fast shutdown loses no committed transactions. Patch pre-approved by Heikki. innobase/log/log0log.c: In an InnoDB very fast shutdown, we just need to wait for no more transactions to be happening and then we can flush the InnoDB log and don't need to wait for the signaled-to-die InnoDB threads to finish (saves seconds). innobase/srv/srv0start.c: In an InnoDB very fast shutdown, once we have forced a flush of the InnoDB log to disk, and signalled InnoDB threads to die, we needn't wait for these threads to die.
-
unknown authored
mysql-test/r/information_schema.result: Auto merged mysql-test/t/sp.test: Auto merged sql/item.cc: Auto merged sql/item_func.cc: Auto merged sql/item_func.h: Auto merged sql/mysql_priv.h: Auto merged sql/sp.cc: Auto merged sql/sp_head.cc: Auto merged sql/sp_head.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_table.cc: Auto merged sql/sql_yacc.yy: Auto merged mysql-test/r/sp.result: Merge BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
-
unknown authored
-
unknown authored
sql/sql_parse.cc: Auto merged
-
unknown authored
mysql-test/r/sp.result: fixing results for new test mysql-test/t/sp.test: making a new test with autocommit set to 0 and 1. Second CALL is in autocommit mode to prove that the relevant bug (bug #8550) is fixed.
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
-
unknown authored
Add dummy changelog file. It should merge upward without conflict.
-
unknown authored
into mysql.com:/home/pem/work/mysql-5.0
-
unknown authored
into mysql.com:/M50/mysql-5.0 include/my_sys.h: Auto merged
-
unknown authored
Build-tools/Do-compile: Change already present in 5.0 configure.in: Do not propagate a 4.0 version number to the 5.0 tree. include/my_sys.h: Change already present in 5.0. mysys/hash.c: For Sun compilers, 'static inline' is ok. mysys/my_bitmap.c: Change already present in 5.0 sql/item_strfunc.cc: Change already present in 5.0 sql/net_serv.cc: Change already present in 5.0
-
unknown authored
into mysql.com:/home/pem/work/mysql-5.0
-
unknown authored
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
-
unknown authored
Reverted Jim's patch. client/mysql.cc: Fixed Bug#8922, The deilimeter cannot be reset after it is set as word 'delimiter' include/my_sys.h: Reverted Jim's patch. mysys/mf_iocache.c: Reverted Jim's patch. sql/sql_class.h: Reverted Jim's patch.
-
unknown authored
innobase/include/srv0srv.h: Declare those variables as ulong that are declared in ha_innodb.h innobase/srv/srv0srv.c: Define those variables as ulong that are declared in ha_innodb.h
-
unknown authored
- bumped up version number in configure.in from 4.0.24 -> 4.0.25 (ChangeSet 1.2073 was already tagged as 4.0.24) configure.in: - bumped up version number from 4.0.24 -> 4.0.25
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
-
unknown authored
into mysql.com:/home/pem/work/mysql-5.0
-
unknown authored
into hundin.mysql.fi:/home/marko/mysql-5.0
-
- 07 Mar, 2005 14 commits
-
-
unknown authored
(lost in merge because the code to open these logs was moved to a different file). sql/sql_class.h: Use APPEND_CACHE for query log and slow log (so they can be FIFO)
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb BitKeeper/etc/logging_ok: auto-union sql/item.cc: Auto merged sql/sql_parse.cc: Auto merged
-
unknown authored
include/my_sys.h: Auto merged mysys/mf_iocache.c: Auto merged
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
-
unknown authored
into hundin.mysql.fi:/home/marko/mysql-5.0
-
unknown authored
fixed one bug in event, pk comes first in events...
-
unknown authored
mysql-test/r/sp.result: New test case for BUG#8937. mysql-test/t/sp.test: New test case for BUG#8937. sql/item_sum.h: Added val_int() method for Item_sum_avg for forced int types (in SPs for instance), otherwise Item_sum_sum::val_int() is used.
-
unknown authored
mysql-test/r/cast.result: test result mysql-test/r/func_group.result: test result mysql-test/t/cast.test: test case sql/field.cc: this assert isn't correct actually
-
unknown authored
into gluh.mysql.r18.ru:/home/gluh/MySQL-BUGS/mysql-4.0.7498
-
unknown authored
mysql-test/r/sp.result: Reorganized tests (all bugs at the end now) and made some tests adopt to the file's style. mysql-test/t/sp.test: Reorganized tests (all bugs at the end now) and made some tests adopt to the file's style.
-
unknown authored
-
unknown authored
Build-tools/Do-compile: Backport of a change Lenz did in 4.1 (without it, Solaris sends empty mails): Improved the abort subroutine to not rely on an external "tail" command (the default /usr/bin/tail on Solaris does not understand the "-n" notation). Get rid of a "useless use of cat" case in the process.
-
unknown authored
into hundin.mysql.fi:/home/marko/mysql-5.0
-
unknown authored
row_search_for_mysql(): Add a clarifying comment. innobase/row/row0sel.c: row_search_for_mysql(): Add a clarifying comment.
-