- 07 Oct, 2004 1 commit
-
-
unknown authored
crashes mysqld": implementation for a generic item tree modifications registry. Every item tree modification which should be rolled back for subsequent execution of a prepared statement or stored procedure should be saved in the registry. All such modifications are rolled back at once during cleanup stage of PS. Actual fix for the bug just adds a call to register modifications to convert_constant_item. Post review fixes implemented. mysql-test/r/ps.result: A fix for bug#5748, test results fixed. mysql-test/t/ps.test: A test case for Bug#5748 "Prepared statement with BETWEEN and bigint values crashes mysqld" sql/item.cc: Fix for Bug#5748 "Prepared statement with BETWEEN and bigint values crashes mysqld": First step in removing up item-specific cleanups: now all such tree modifications should be done using the genericm mechanism implemented in this changeset. sql/item.h: Fix for Bug#5748 "Prepared statement with BETWEEN and bigint values crashes mysqld": no need for an item-specific change record any more. sql/item_cmpfunc.cc: A fix for Bug#5748 "Prepared statement with BETWEEN and bigint values crashes mysqld": register item tree transformation performed by convert_constant_item. sql/sql_class.cc: Implementation for item tree transformations registry. sql/sql_class.h: Declarations, necessary for the tree transformations registry. sql/sql_parse.cc: Assert that the item tree transformations registry is not used for conventional execution. sql/sql_prepare.cc: Use of the item tree modifications registry in prepared statements: rollback all modifications in the end of statement prepare and execute. Also we now always set thd->current_arena to be able to determine that this is an execution of prepared statement inside the registry code. tests/client_test.c: A typo fixed.
-
- 06 Oct, 2004 2 commits
- 05 Oct, 2004 15 commits
-
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-4.1-bf sql/field.cc: Auto merged
-
unknown authored
introduced during implementation of TIMESTAMP columns, which are able to store NULLs (Unfortunately it is impossible to write test case for this. Kudos to Holyfoot for noticing it!) sql/field.cc: Field_timestamp::get_auto_set_type(): To preserve compatibility with pre-4.1 we have to handle TIMESTAMP_OLD_FIELD columns properly. (It is ok to handle them as TIMESTAMP_DNUN_FIELD since value of first such column should be set to current timestamp on both INSERT and UPDATE operations, and we don't call this method for rest of them).
-
unknown authored
into deer.(none):/home/hf/work/mysql-4.1.5730
-
unknown authored
-
unknown authored
Fix typos in previous push innobase/include/dict0mem.h: Fix typos in previous push
-
unknown authored
into hundin.mysql.fi:/home/heikki/mysql-4.1
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
-
unknown authored
-
unknown authored
Raise maximum column prefix len to 767 bytes, so that MySQL can create a column prefix index of 255 UTF-8 characters (each takes 3 bytes at the maximum); add comments about why innobase_get_at_most_n_mbchars() works ok dict0mem.h: Raise maximum column prefix len to 767 bytes, so that MySQL can create a column prefix index of 255 UTF-8 characters (each takes 3 bytes at the maximum) row0mysql.c: If MySQL tries to create a column prefix index longer that 255 UTF-8 characters, give an error, and drop the table from the InnoDB internal data dictionary. MySQL did not drop the table there in its own error handling. innobase/row/row0mysql.c: If MySQL tries to create a column prefix index longer that 255 UTF-8 characters, give an error, and drop the table from the InnoDB internal data dictionary. MySQL did not drop the table there in its own error handling. innobase/include/dict0mem.h: Raise maximum column prefix len to 767 bytes, so that MySQL can create a column prefix index of 255 UTF-8 characters (each takes 3 bytes at the maximum) sql/ha_innodb.cc: Raise maximum column prefix len to 767 bytes, so that MySQL can create a column prefix index of 255 UTF-8 characters (each takes 3 bytes at the maximum); add comments about why innobase_get_at_most_n_mbchars() works ok
-
unknown authored
into hundin.mysql.fi:/home/marko/j/mysql-4.1
-
unknown authored
-
unknown authored
into hundin.mysql.fi:/home/marko/j/mysql-4.1
-
unknown authored
-
unknown authored
-
unknown authored
removed staus flag
-
- 04 Oct, 2004 22 commits
-
-
unknown authored
innobase/include/ut0mem.h: Improve documentation of ut_strlenq(), ut_strcpyq() and ut_memcpyq() innobase/include/ut0mem.ic: Improve documentation of ut_strlenq() innobase/row/row0mysql.c: row_discard_tablespace_for_mysql(): Add quotes around table_name in DISCARD_TABLESPACE_PROC (Bug #5851) innobase/ut/ut0mem.c: Improve documentation of ut_strcpyq() and ut_memcpyq()
-
unknown authored
Fix compiler warning innobase/lock/lock0lock.c: Fix compiler warning
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-4.1-ryan
-
unknown authored
into mysql.com:/M41/mysql-4.1
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-4.1-ryan
-
unknown authored
-
unknown authored
-
unknown authored
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-4.1-ryan
-
unknown authored
treated as DEFAULT NULL columns (independently from their position in table). (still to be discussed with Monty, Brian, Trudy et al. before push) mysql-test/r/type_timestamp.result: Update test after making TIMESTAMP NULL columns without explicit DEFAULT value to be always treated as DEFAULT NULL columns (independently from their position in table). mysql-test/t/type_timestamp.test: Update test after making TIMESTAMP NULL columns without explicit DEFAULT value to be always treated as DEFAULT NULL columns (independently from their position in table). sql/sql_parse.cc: add_field_to_list(): made TIMESTAMP NULL columns without explicit DEFAULT value to be always treated as DEFAULT NULL columns (independently from their position in table). This also simplifies code a bit.
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge sql/ha_ndbcluster.cc: Auto merged
-
unknown authored
-
unknown authored
sql/sql_show.cc: Auto merged sql/ha_ndbcluster.cc: SCCS merged
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
-
unknown authored
bug #5872, transactions should only be restarted with transaction.on flag off if execute_commit has been performed added testcase for this use force send for all executes mysql-test/r/ndb_blob.result: added testcase for alter table of blob from ndb to myisam mysql-test/t/ndb_blob.test: added testcase for alter table of blob from ndb to myisam sql/ha_ndbcluster.cc: bug #5872, transactions should only be restarted with transaction.on flag off if execute_commit has been performed use force send for all executes
-
unknown authored
sql/item.cc: A typo fixed in a comment, which is probably not valid any more sql/sql_class.h: no such class Ttem_subselect.
-
unknown authored
with the system-reserved (and system-defined) '_REENTRANT' CPP identifier. Especially, it must not be "undefine"d, because the Tru64 compiler needs it if threads are enabled. include/my_pthread.h: On Tru64, '_REENTRANT' is set by the compiler when the "-pthread" option is given, and it must be set when the system's 'pthread.h' is included (or else a '#error' is activated). So it must not be undef'ed, and it should not be def'ed either, as it is a system-reserved CPP identifier with which we should not mess anyway - it is risky to use it! Build on all platforms was checked privately, change caused no errors!
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge ndb/src/mgmclient/CommandInterpreter.cpp: Auto merged
-
unknown authored
switch to using my_ for heap allocations ndb/include/util/NdbAutoPtr.hpp: addes auto pointer class for using with my_ functions ndb/src/mgmclient/CommandInterpreter.cpp: switch to using my_ for heap allocations
-
unknown authored
ctype_recode does not hang anymore. Small fix after Marko's change. sql/sql_show.cc: ctype_recode does not hang anymore. Small fix after Marko's change.
-
unknown authored
mysql-test/mysql-test-run.sh: SCCS merged
-
unknown authored
-