- 11 Oct, 2004 1 commit
-
-
unknown authored
ndb/include/ndbapi/NdbConnection.hpp: Support for handling NF during dirty read ndb/include/ndbapi/NdbReceiver.hpp: Support for handling NF during dirty read ndb/src/ndbapi/NdbConnection.cpp: Support for handling NF during dirty read ndb/src/ndbapi/NdbReceiver.cpp: Support for handling NF during dirty read ndb/src/ndbapi/Ndbif.cpp: Support for handling NF during dirty read ndb/src/ndbapi/ndberror.c: Support for handling NF during dirty read ndb/test/ndbapi/testNodeRestart.cpp: Support for handling NF during dirty read
-
- 10 Oct, 2004 4 commits
-
-
unknown authored
into mysql.com:/home/jonas/src/mysql-4.1-ndb
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge ndb/src/ndbapi/Ndb.cpp: Auto merged sql/ha_ndbcluster.cc: Auto merged
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
-
unknown authored
Fixes bug with tableImpl with blobs not being initialized properly w.r.t pointer to blob tableImpl in column added blob to test to see that blob tables don't show up in show tables auto increment setting need not fetch blob tables (will otherwise generate error during table creation) moved addBlobTables out of fetchGlobalTableImpl to get_local_table_info changed addBlobTables to start from last column and break if all blobs added also addBlobTables will return -1 if failed (typically getTable) changed to using get_local_table_info with internal table name where applicable for efficiency added option to get_local_table_info wether to fetch blob tables or not getTable always fetches the blobtables moved addBlobTables to get_local_table_info to always be called, even if main table goes to cache only mysql-test/r/ndb_autodiscover.result: added blob to test to see that blob tables don't show up in show tables mysql-test/t/ndb_autodiscover.test: added blob to test to see that blob tables don't show up in show tables ndb/src/ndbapi/Ndb.cpp: auto increment setting need not fetch blob tables (will otherwise generate error during table creation) ndb/src/ndbapi/NdbDictionaryImpl.cpp: moved addBlobTables out of fetchGlobalTableImpl to get_local_table_info changed addBlobTables to start from last column and break if all blobs added also addBlobTables will return -1 if failed (typically getTable) changed to using get_local_table_info with internal table name where applicable for efficiency ndb/src/ndbapi/NdbDictionaryImpl.hpp: added option to get_local_table_info wether to fetch blob tables or not getTable always fetches the blobtables moved addBlobTables to get_local_table_info to always be called, even if main table goes to cache only
-
- 09 Oct, 2004 8 commits
-
-
unknown authored
change, and perform it (the new Item changes registry). sql/item.cc: A small simplification: perform two actions at once, register a change, and perform it. sql/item_cmpfunc.cc: register_item_tree_change -> change_item_tree sql/item_func.cc: register_item_tree_change -> change_item_tree sql/item_row.cc: register_item_tree_change -> change_item_tree sql/item_strfunc.cc: register_item_tree_change -> change_item_tree sql/sql_class.h: register_item_tree_change -> change_item_tree sql/sql_select.cc: register_item_tree_change -> change_item_tree
-
unknown authored
into mysql.com:/media/sda1/mysql/mysql-4.1-hook sql/item.cc: Auto merged sql/item.h: Auto merged sql/sql_select.cc: Auto merged
-
unknown authored
crashes server (prepared statements)": the bug was that all boolean items always recovered its original arguments at statement cleanup stage. This collided with Item_subselect::select_transformer, which tries to permanently change the item tree to use a transformed subselect instead of original one. So we had this call sequence for prepare: mysql_stmt_prepare -> JOIN::prepare -> Item_subselect::fix_fields -> the item tree gets transformed -> Item_bool_rowready_func2::cleanup, item tree is recovered to original state, while it shouldn't have been; mysql_stmt_execute -> attempts to execute a broken tree -> crash. Now instead of bluntly recovering all arguments of bool functions in Item_bool_rowready_func2::cleanup, we recover only those which were changed, and do it in one place. There still would exist a possibility for a collision with subselect tranformation, if permanent and temporary changes were performed at the same stage. But fortunately subselect transformation is always done first, so it doesn't conflict with the optimization done by propogate_cond_constants. Now we have: mysql_stmt_prepare -> JOIN::prepare -> subselect transformation permanently changes the tree -> cleanup doesn't recover anything, because nothing was registered for recovery. mysql_stmt_execute -> JOIN::prepare (the tree is already transformed, so it doesn't change), JOIN::optimize -> propogate_cond_constants -> temporary changes the item tree with constants -> JOIN::execute -> cleanup -> the changes done by propogate_cond_constants are recovered, as they were registered for recovery. mysql-test/r/ps.result: Bug#5987: test results fixed. mysql-test/t/ps.test: A test for bug#5987 "subselect in bool function crashes server (prepared statements)" sql/item.cc: resolve_const_item is now responsible to register all changes of the item tree for recovery sql/item.h: resolve_const_item signagture changed sql/item_cmpfunc.h: Arguments of boolean functions are now recovered using the centralized registry of THD. sql/sql_class.cc: It's crucial to add new items to the beginning of the recovery list, so that the recovery is performed in LIFO mode: otherwise if we change one node of a tree twice, it will be recovered to some intermediate state. sql/sql_select.cc: change_cond_ref_to_const and propogate_cond_constants are now responsible to register all changes of the item tree for recovery. The recovery is done using the centralized THD registry of changed tree items.
-
unknown authored
mysqld_multi via mysqld_multi.server.sh
-
unknown authored
was given.
-
unknown authored
into a193-229-222-2.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
-
unknown authored
- Made some of the warnings under --verbose only - Added possibility to add mysqladmin= under groups [mysqldN] mysqladmin=... is no longer mandatory under [mysqld_multi] - Made 'start', 'stop' and 'report' commands truly case-insensitive - Some other common places code merge and cleanup
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-ps-4.1
-
- 08 Oct, 2004 17 commits
-
-
unknown authored
registration changing ITEM_SUM arguments added sql/item.cc: cleunup for Item_result_field sql/item.h: cleunup for Item_result_field sql/item_sum.cc: args_copy and cleunup() removed from Item_sum sql/item_sum.h: args_copy and cleunup() removed from Item_sum sql/sql_select.cc: registration changing ITEM_SUM arguments
-
unknown authored
If one tries to drop an InnoDB table without an .ibd file, print to .err log that we DID remove the table from the internal data dictionary of InnoDB, and return DB_SUCCESS so that MySQL will delete the .frm file; the drawback in this is that then DROP TABLE returns success, and the user is not alerted; maybe it could return a warning innobase/row/row0mysql.c: If one tries to drop an InnoDB table without an .ibd file, print to .err log that we DID remove the table from the internal data dictionary of InnoDB, and return DB_SUCCESS so that MySQL will delete the .frm file; the drawback in this is that then DROP TABLE returns success, and the user is not alerted; maybe it could return a warning
-
unknown authored
Look for 'client_test' in tests/ not bin/ make_binary_distribution.sh: Copy 'client_test' into the dist scripts/make_binary_distribution.sh: Copy 'client_test' into the dist mysql-test/mysql-test-run.sh: Look for 'client_test' in tests/ not bin/
-
unknown authored
into a193-229-222-2.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
-
unknown authored
binary for mysqld_multi was not found. This is because it is possible to define one under each mysqldN group separately. Bailing out if mysqld binary is not found at all. Added option --silent to turn off warnings. BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
-
unknown authored
Testcases for NF ndb/src/kernel/blocks/ERROR_codes.txt: Error insert for testing NF handling of committed read ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Error insert for testing NF handling of committed read ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Error insert for testing NF handling of committed read ndb/test/include/NDBT_Test.hpp: Move sync methods into NDBT_Context ndb/test/ndbapi/testIndex.cpp: Move sync methods into NDBT_Context ndb/test/ndbapi/testNodeRestart.cpp: Add test case that verifies committed read during NF ndb/test/src/NDBT_Test.cpp: Move sync methods into NDBT_Context
-
unknown authored
doesn't need to have it's own recovery mechanism. sql/item.cc: Deployment of centralized Item change registry, step 2: Item_ref doesn't need to have it's own recovery mechanism, so it was simplified. sql/item.h: Deployment of centralized Item change registry, step 2: Item_ref doesn't need to have it's own recovery mechanism, so it was simplified. sql/item_cmpfunc.cc: - Item::split_sum_func now requires THD - use THD::register_item_tree_change sql/item_cmpfunc.h: - Item::split_sum_func now requires THD sql/item_func.cc: - Item::split_sum_func now requires THD - use THD::register_item_tree_change sql/item_func.h: - Item::split_sum_func now requires THD sql/item_row.cc: - Item::split_sum_func now requires THD - use THD::register_item_tree_change sql/item_row.h: - Item::split_sum_func now requires THD sql/item_strfunc.cc: - Item::split_sum_func now requires THD - use THD::register_item_tree_change to register changes in the item tree sql/item_strfunc.h: - Item::split_sum_func now requires THD sql/item_subselect.cc: - use updated Item_ref constructor sql/sql_base.cc: - Item::split_sum_func now requires THD sql/sql_select.cc: - Item::split_sum_func now requires THD sql/sql_yacc.yy: - use updated Item_ref constructor
-
unknown authored
- make test node restart test harder ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Removed debug printout ndb/test/include/HugoOperations.hpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode) ndb/test/include/HugoTransactions.hpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode) ndb/test/ndbapi/testBasic.cpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode) ndb/test/ndbapi/testNdbApi.cpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode) ndb/test/ndbapi/testNodeRestart.cpp: Use mixed pkread Use rand() no of records Use rand() batch size Restart node abort (instead of graceful) ndb/test/ndbapi/testOperations.cpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode) ndb/test/ndbapi/testTransactions.cpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode) ndb/test/run-test/daily-devel-tests.txt: Run mixed pkread tests instead of just LM_Read (readTuple()) ndb/test/src/HugoOperations.cpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode) ndb/test/src/HugoTransactions.cpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode)
-
unknown authored
sql/sql_class.cc: 'new' does not accept 'unsigned int' on several platforms but requires 'size_t' (this can be 'unsigned long'!).
-
unknown authored
into hundin.mysql.fi:/home/heikki/mysql-4.1
-
unknown authored
Fix bug #5975 about UTF-8 chars and prefix indexes; do not print warnings if a column prefix is > 255 bytes innobase/row/row0row.c: Fix bug #5975 about UTF-8 chars and prefix indexes; do not print warnings if a column prefix is > 255 bytes innobase/row/row0sel.c: Fix bug #5975 about UTF-8 chars and prefix indexes; do not print warnings if a column prefix is > 255 bytes
-
unknown authored
mysql-test/r/ndb_autodiscover.result: Added test cases to check that SHOW TABLES only show tables in the selected db. mysql-test/t/ndb_autodiscover.test: Added test cases to check that SHOW TABLES only show tables in the selected db. sql/ha_ndbcluster.cc: Only find files for the current db Only add files to files list which can be created i.e has a valid frm blob. This prevents NDB$BLOB tables and tables created from NdbApi to show up.
-
unknown authored
on the real table readTuple is needed
-
unknown authored
into mysql.com:/home/jonas/src/mysql-4.1-ndb
-
unknown authored
as read lock is held on primary table ndb/src/ndbapi/NdbConnection.cpp: merge error
-
unknown authored
into mysql.com:/home/jonas/src/mysql-4.1-ndb ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Auto merged ndb/src/ndbapi/NdbScanOperation.cpp: Auto merged
-
unknown authored
ndb/include/kernel/signaldata/TcKeyConf.hpp: A bit for differenciating between "real" tckey conf and simple read conf ndb/include/ndbapi/Ndb.hpp: Removed/ifdef's unused stuff ndb/include/ndbapi/NdbConnection.hpp: Added bitmask that keeps track of used nodes when a transaction can be dependant on several nodes ndb/include/ndbapi/NdbOperation.hpp: removed unused methods ndb/include/ndbapi/NdbReceiver.hpp: Tween execTCOPCONF to handle TcKeyConf::SimpleReadBit ndb/src/common/debugger/signaldata/TcKeyConf.cpp: Update printer ndb/src/kernel/blocks/dblqh/Dblqh.hpp: removed unused define ndb/src/ndbapi/NdbApiSignal.cpp: Fix length of TC_COMMITREQ ndb/test/ndbapi/testOperations.cpp: fix simple/dirty read
-
- 07 Oct, 2004 10 commits
-
-
unknown authored
To make client_test work as mysql-test-run test case, needs to install it mysql-test/mysql-test-run.sh: To make client_test work as mysql-test-run test case, needs to install it mysql-test/t/client_test.test: To make client_test work as mysql-test-run test case, needs to install it tests/Makefile.am: To make client_test work as mysql-test-run test case, needs to install it
-
unknown authored
into mysql.com:/media/sda1/mysql/mysql-4.1-5748-anew sql/item_cmpfunc.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_parse.cc: Auto merged
-
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.
-
unknown authored
-
unknown authored
-
unknown authored
into a80-186-41-201.elisa-laajakaista.fi:/home/my/bk/mysql-4.1 BitKeeper/etc/logging_ok: auto-union client/mysqladmin.c: Auto merged client/mysqldump.c: Auto merged client/mysqlimport.c: Auto merged
-
unknown authored
BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
-
unknown authored
Fix bug #5137: if innodb_file_per_table was specified, CREATE TEMPORARY TABLE ... TYPE=InnoDB said that cannot find path specified, and made mysqld to exit(1) sql/ha_innodb.cc: Fix bug #5137: if innodb_file_per_table was specified, CREATE TEMPORARY TABLE ... TYPE=InnoDB said that cannot find path specified, and made mysqld to exit(1) innobase/row/row0mysql.c: Fix bug #5137: if innodb_file_per_table was specified, CREATE TEMPORARY TABLE ... TYPE=InnoDB said that cannot find path specified, and made mysqld to exit(1) innobase/fil/fil0fil.c: Fix bug #5137: if innodb_file_per_table was specified, CREATE TEMPORARY TABLE ... TYPE=InnoDB said that cannot find path specified, and made mysqld to exit(1) innobase/dict/dict0crea.c: Fix bug #5137: if innodb_file_per_table was specified, CREATE TEMPORARY TABLE ... TYPE=InnoDB said that cannot find path specified, and made mysqld to exit(1) innobase/dict/dict0dict.c: Fix bug #5137: if innodb_file_per_table was specified, CREATE TEMPORARY TABLE ... TYPE=InnoDB said that cannot find path specified, and made mysqld to exit(1) innobase/dict/dict0load.c: Fix bug #5137: if innodb_file_per_table was specified, CREATE TEMPORARY TABLE ... TYPE=InnoDB said that cannot find path specified, and made mysqld to exit(1) innobase/dict/dict0mem.c: Fix bug #5137: if innodb_file_per_table was specified, CREATE TEMPORARY TABLE ... TYPE=InnoDB said that cannot find path specified, and made mysqld to exit(1) innobase/include/mem0mem.ic: Fix bug #5137: if innodb_file_per_table was specified, CREATE TEMPORARY TABLE ... TYPE=InnoDB said that cannot find path specified, and made mysqld to exit(1) innobase/include/dict0mem.h: Fix bug #5137: if innodb_file_per_table was specified, CREATE TEMPORARY TABLE ... TYPE=InnoDB said that cannot find path specified, and made mysqld to exit(1) innobase/include/fil0fil.h: Fix bug #5137: if innodb_file_per_table was specified, CREATE TEMPORARY TABLE ... TYPE=InnoDB said that cannot find path specified, and made mysqld to exit(1) innobase/include/mem0mem.h: Fix bug #5137: if innodb_file_per_table was specified, CREATE TEMPORARY TABLE ... TYPE=InnoDB said that cannot find path specified, and made mysqld to exit(1) innobase/mem/mem0mem.c: Fix bug #5137: if innodb_file_per_table was specified, CREATE TEMPORARY TABLE ... TYPE=InnoDB said that cannot find path specified, and made mysqld to exit(1)
-
unknown authored
into neptunus.(none):/home/magnus/mysql/mysql-4.1-ndb
-
unknown authored
merge error sql/ha_ndbcluster.cc: merge error
-