- 26 Jan, 2005 1 commit
-
-
unknown authored
does not work well together". Now using simplier and more correct implementation of st_lex::unlink_first_table()/link_first_table_back() (It also nicely handles case when global table list is created because of implictly used time zone tables). (2nd attempt) Fix for bug #7705 "CONVERT_TZ() crashes with subquery/WHERE on index column". Implemented new approach for caching objects for constant time zone arguments. Now instead of determining whenever these arguments are constants and performing time zone lookup at fix_fields() stage, we do it on first get_date() invocation. Cleanup of global @@time_zone variable handling. mysql-test/r/timezone2.result: Added test for bugs #7705 "CONVERT_TZ() crashes with subquery/WHERE on index column" and #7899 "CREATE TABLE .. SELECT .. and CONVERT_TZ() function does not work well together". mysql-test/t/timezone2.test: Added test for bugs #7705 "CONVERT_TZ() crashes with subquery/WHERE on index column" and #7899 "CREATE TABLE .. SELECT .. and CONVERT_TZ() function does not work well together". sql/item_timefunc.cc: Item_func_convert_tz(): New approach for caching objects for constant time zone arguments. Now instead of determining whenever these arguments are constants and performing time zone lookup at fix_fields() stage, we do it on first get_date() invocation. This works better in cases when const_item() for these arguments returns true only on get_date() stage but not on fix_fields() stage (e.g. this happens in quries with joins or derived tables). sql/item_timefunc.h: Item_func_convert_tz(): Added from_tz_cached/to_tz_cached members indicating whenever we already have Time_zone object representing one of constant time zone arguments. sql/set_var.cc: Cleaned up global @@time_zone variable handling. Now we use proper locking when we are setting or reading its value. sql/set_var.h: Removed declaration of sys_var_thd_time_zone::get_tz_ptr() method, which no longer used. sql/sql_lex.cc: st_lex::unlink_first_table(), st_lex::link_first_table_back(): Simplify implementation according to Monty's suggestion. Instead doing something special if global and local table lists are the same, we simply save/restore pointers to first elements of both global and local lists (which works even when this lists are the same!). This handles nicely the case when we have separate global table list becuase time zone tables are implicitly used. sql/tztime.cc: Backport of Monty's fixes from 5.0, which give us nicer error messages if we haven't found time zone with such name or its description.
-
- 12 Jan, 2005 4 commits
-
-
unknown authored
into mysql.com:/space/my/mysql-4.1-merge
-
unknown authored
the embedded server by default (if included). These additional steps can be skipped by providing "--skip-embedded-test" and "--skip-ps-test" Build-tools/Do-compile: - enabled running the test suite with ps-protocol and against the embedded server by default (if included). These additional steps can be skipped by providing "--skip-embedded-test" and "--skip-ps-test"
-
unknown authored
into mysql.com:/home/jonas/src/mysql-4.1
-
unknown authored
ndb/test/src/CpcClient.cpp: Fix 64-bit problem
-
- 11 Jan, 2005 35 commits
-
-
unknown authored
increased timeouts to see if more tests get started automatically mysql-test/ndb/ndbcluster.sh: increased timeouts to see if more tests get started automatically
-
unknown authored
into mysql.com:/home/jwinstead2/mysql-4.1-clean
-
unknown authored
into mysql.com:/home/jwinstead2/mysql-4.1-clean
-
unknown authored
scripts/Makefile.am: Replace ZLIB_LIBS
-
unknown authored
-
unknown authored
Don't use my_tolower: it works only for 8bit charsets.
-
unknown authored
into deer.(none):/home/hf/work/mysql-4.1.5920 client/mysql.cc: Auto merged
-
unknown authored
into mysql.com:/space/my/mysql-4.1-build
-
unknown authored
statements": no test case, the test case is there already, libmysqld/examples/client_test.c, we just need to run it on a daily basis. libmysqld/lib_sql.cc: Convert statement id to least significant byte first format, uset for data transmission in MySQL protocol. It's assumed to be in this format by mysql_stmt_execute.
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
-
unknown authored
-
unknown authored
instead of renaming them in the packaging stage with Do-win-build later: mysqld-opt.exe -> mysqld.exe, mysqld.exe -> mysqld-debug.exe
-
unknown authored
Windows builds sql/sql_base.cc: - removed an unreferenced variable sql/strfunc.cc: - removed an unreferenced variable
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
-
unknown authored
same as prev fix, wrong read of 64 bit value ndb/src/kernel/blocks/suma/Suma.cpp: same as prev fix, wrong read of 64 bit value
-
unknown authored
bug#7660 ndb/src/kernel/blocks/backup/Backup.cpp: bug#7660
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
-
unknown authored
into deer.(none):/home/hf/work/mysql-4.1.7330
-
unknown authored
into deer.(none):/home/hf/work/mysql-4.1.7330
-
unknown authored
into mysql.com:/home/jonas/src/mysql-4.1
-
unknown authored
mysql-test/r/ndb_index_ordered.result: Test scan with invalid table version mysql-test/t/ndb_index_ordered.test: Test scan with invalid table version ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Set apiConnectstate= CS_ABORTING when receving a scan req with invalid table version
-
unknown authored
into deer.(none):/home/hf/work/mysql-4.1.7330
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
-
unknown authored
-
unknown authored
-
unknown authored
(Bug#7428) (renamed: hash_reset -> my_hash_reset) mysys/hash.c: renamed: hash_reset -> my_hash_reset sql/sql_class.h: hash_reset -> my_hash_reset
-
unknown authored
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
-
unknown authored
into mysql.com:/home/jonas/src/mysql-4.1
-
unknown authored
-
unknown authored
ndb/src/common/portlib/NdbThread.c: Use double stack for 64-bit
-
unknown authored
into mysql.com:/home/jwinstead2/mysql-4.1-clean
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
-
unknown authored
into mysql.com:/home/jwinstead2/mysql-4.1-clean
-