- 23 Sep, 2004 1 commit
-
-
unknown authored
with memory roots in THD/Statement/Item_arena. Added assertions preventing memory allocation on bzero'ed MEM_ROOT since it is worked by pure luck and was very ineffective. include/my_sys.h: Reimplementation of Monty's optimization of clear_alloc_root(). Now clear_alloc_root() can be used only for detaching memory associated with MEM_ROOT (e.g. to avoid its freeing). It can not be used for MEM_ROOT initialization any longer (it was bad idea anyway since memory allocation on such MEM_ROOT was very ineffective and worked by pure luck). Introduced ALLOC_ROOT_MIN_BLOCK_SIZE constant. mysys/my_alloc.c: Added description of init_alloc_root(). Added assertions to alloc_root() and reset_root_defaults() so now they can only be used on previosly initialized MEM_ROOT. (It worked for bzeroed MEM_ROOT before but by pure luck and very inefficiently). Calling free_root() on bzero'ed MEM_ROOT is still ok (we can't remove this easily because of static MEM_ROOTs). Also now using ALLOC_ROOT_MIN_BLOCK_SIZE constant inside these functions. sql/opt_range.cc: Fixed get_quick_select_for_ref() function to not use bzero'ed MEM_ROOT for allocation. Also QUICK_RANGEs created in this function should be created in memory root of QUICK_SELECT. sql/sql_class.cc: Implementation of Monty's idea about clear_alloc_root() optimization and cleanup of work with memory roots in THD/Statement/Item_arena. Now we are always initing THD::transaction.mem_root and THD::mem_root in THD constructor (without memory allocation and with minimal block size) and then later change their parameters in THD::init_for_queries() (this is partially because we can't allocate anything on bzero'ed memory roots anymore). Item_arena() constructor is now trivial and is used only then Item_arena is created as backup storage for other Item_arena (we use Item_arena(bool) now if it is part of Statement). Both trivial Item_arena constructor and destructor are now inline. Removed unneeded clear_alloc_root from Item_arena::restore_backup_item_arena(). sql/sql_class.h: Both trivial Item_arena constructor and destructor are now inline. Commented various Item_arena constructors.
-
- 16 Sep, 2004 19 commits
-
-
unknown authored
into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
-
unknown authored
with a fixed constant to pass on QNX: max_data_file_length is calculated depending on max possible value of record pointer. It's different on QNX, so the difference in results is OK. mysql-test/t/ps.test: A quick fix for bug#5556: replace a column of SHOW TABLE STATUS result with a fixed constant to pass on QNX: max_data_file_length is calculated depending on max value of record pointer. It's different on QNX, so the result difference is intentional.
-
unknown authored
into hundin.mysql.fi:/home/marko/j/mysql-4.1 sql/ha_innodb.cc: Auto merged sql/ha_innodb.h: Auto merged sql/mysqld.cc: Auto merged
-
unknown authored
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-update-4.1 sql/sql_lex.cc: Auto merged sql/sql_parse.cc: Auto merged
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-sum-4.1 sql/item.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_select.cc: Auto merged
-
unknown authored
-
unknown authored
acinclude.m4: Uncommented zlib library message checking for Netware. netware/init_db.sql: Applied a patch for Netware. netware/test_db.sql: Applied a patch for Netware.
-
unknown authored
into gw.mysql.r18.ru:/usr/home/ram/work/4.1
-
unknown authored
-
unknown authored
into gw.mysql.r18.ru:/usr/home/ram/work/4.1
-
unknown authored
mysql-test/r/func_compress.result: clean-up. The length of compress() may depend on zlib version, etc. mysql-test/t/func_compress.test: clean-up. The length of compress() may depend on zlib version, etc.
-
unknown authored
of EXPLAIN SELECT, rather than binary strings.
-
unknown authored
into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
-
unknown authored
into poseidon.(none):/home/tomas/mysql-4.1-ndb-merge
-
unknown authored
set a printout in SocketClient only for debug ndb/src/common/util/SocketClient.cpp: set a printout only for debug scripts/mysql_install_db.sh: mysql_install_db should do skip-ndbcluster
-
unknown authored
Slightly improved the fix for bug #5406. sql/opt_sum.cc: Slightly improved the fix for bug #5406.
-
unknown authored
Bug #5561 No BINARY_FLAG in metadata sql/item.cc: Bug #5561 No BINARY_FLAG in metadata
-
unknown authored
-
- 15 Sep, 2004 20 commits
-
-
unknown authored
into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1 ndb/src/common/transporter/TransporterRegistry.cpp: Auto merged ndb/src/ndbapi/NdbDictionaryImpl.cpp: Auto merged
-
unknown authored
-
unknown authored
into neptunus.(none):/home/magnus/mysql/mysql-4.1
-
unknown authored
into eagle.mysql.r18.ru:/home/vva/work/mysql.orig/test/mysql-4.1
-
unknown authored
(for octane2) included term.h if there isn't termcap.h in cmd-line-utils/libedit/term.c cmd-line-utils/libedit/term.c: fixed Bug #5589 "libedit compile failure in term.c" (for octane2) included term.h if there isn't termcap.h
-
unknown authored
-
unknown authored
-
unknown authored
into neptunus.(none):/home/magnus/mysql/mysql-4.1
-
unknown authored
ndb/src/mgmsrv/main.cpp: Print error if read of local config file fails.
-
unknown authored
on intelxeon3 (Solaris x86)) mysql-test/r/ps_2myisam.result: Test results fixed (order by for a couple of statements in the PS test). mysql-test/r/ps_3innodb.result: Test results fixed (order by for a couple of statements in the PS test). mysql-test/r/ps_4heap.result: Test results fixed (order by for a couple of statements in the PS test). mysql-test/r/ps_5merge.result: Test results fixed (order by for a couple of statements in the PS test). mysql-test/r/ps_6bdb.result: Test results fixed (order by for a couple of statements in the PS test).
-
unknown authored
-
unknown authored
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b5546
-
unknown authored
into mysql.com:/usr/home/bar/mysql-4.1
-
unknown authored
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b5546
-
unknown authored
removed help text for non implemented command ndb/src/mgmclient/CommandInterpreter.cpp: removed help text for non implemented command
-
unknown authored
-
unknown authored
into poseidon.(none):/home/tomas/mysql-4.1-ndb
-
unknown authored
SQL_SELECT_LIMIT=0 protection client/mysql.cc: SQL_SELECT_LIMIT=0 protection
-
unknown authored
-
unknown authored
-