- 21 Jun, 2005 1 commit
-
-
unknown authored
client/mysqldump.c: Add description of quote_for_like Add quoting of \ to \\\\ in quote_for_like Add DBUG_* Rearranged code in dump_selected_tables so the first thing it will do is to check that the tables to dump are available Unless --force is used, program will exit if not all specified tables can be found Add files to dump to HASH table for easy iteration Simpler handling of ignore_table list. Add new error code used when table user selected to dump can not be found in db client/mysqltest.c: Make it possible to exec a command that fails by setting --error <errno> before the command to exec. Check that the error returned from executed program matches the expected error. Add DBUG_* printouts mysql-test/mysql-test-run.sh: export MYSQL_DUMP_DIR used in "--replace_result" mysql-test/r/mysqldump.result: Added test for illegal / nonexisting table and database names mysql-test/t/mysqldump.test: Added test for illegal / nonexisting table and database names
-
- 20 Jun, 2005 1 commit
-
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/bug10365 sql/ha_ndbcluster.cc: Auto merged sql/handler.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_table.cc: Auto merged
-
- 16 Jun, 2005 1 commit
-
-
unknown authored
- Updated after review sql/ha_ndbcluster.cc: Return -1 if table does not exists sql/handler.cc: Return -1 if table does not exists Return 0 if table exists and it could be created Return >0 if table existed but it could not be created. sql/sql_base.cc: Only need to call ha_create_table_from_engine and check if result is > 0. If that is the case, print error message
-
- 10 Jun, 2005 4 commits
-
-
unknown authored
- Added testcases according to spec in bug report. mysql-test/r/mysqldump.result: Update results mysql-test/t/mysqldump.test: Add tests for --no-data
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
- 09 Jun, 2005 13 commits
-
-
unknown authored
into mysql.com:/var/tmp/sslbug/mysql-4.1
-
unknown authored
into xiphis.org:/usr/home/antony/work2/p1-bug11028.3
-
unknown authored
Report error instead of crashing mysql-test/r/create.result: Test for bug 11028 mysql-test/t/create.test: Test for bug 11028 sql/sql_table.cc: fix for null db name
-
unknown authored
-
unknown authored
into mysql.com:/home/gluh/MySQL/Merge/4.1
-
unknown authored
mysql-test/r/ps_7ndb.result: fix result file
-
unknown authored
generate proper error message if we use SET ... = NULL for 'set' variables
-
unknown authored
into mysql.com:/home/jonas/src/mysql-4.1-push
-
unknown authored
a fix (bug #11193: error messages gets garbled after reggies latest changeset: ChangeSet@1.2260.1.).
-
unknown authored
into mysql.com:/home/jonas/src/mysql-4.1-push
-
unknown authored
small script fixes - Don't use hostname -s as it's linux specific - Don't remove result unless scp worked ndb/test/run-test/ndb-autotest.sh: Don't use hostname -s as it's linux specific Don't remove result unless scp worked
-
unknown authored
bug#10711 bug#10058 bug#9363 bug#9025 bug#8918 ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp: Use UintPtr when computing page address to make sure that Uint32 does not overflow
-
unknown authored
when checking if the server is running in mysqld_safe. (Bug #11122) configure.in: Add "grep -v grep" to FIND_PROC so we don't mistake "grep mysqld" for a mysqld process.
-
- 08 Jun, 2005 4 commits
-
-
unknown authored
into mysql.com:/var/tmp/sslbug/mysql-4.1 include/my_global.h: Auto merged
-
unknown authored
BUG#10675 - MySQL fails to build with --openssl on Mac OS X 10.4 BUG#11150 - HP-UX yaSSL/OpenSSL configure/header problem Remove obsolete code. include/my_global.h: Obsolete code removed. OpenSSL doesn't have crypt anymore (it was dropped in ~2003). This patch fixes compilation failures with both OpenSSL and yaSSL on systems where crypt was defined in unistd.h. Conclusion is we do not use OpenSSL's crypt unless it wasn't defined in unistd.h/crypt.h and it was defined in old OpenSSL.
-
unknown authored
Fix potential inconsistency when running ndb_restore due to faulty parsing of backup log wrt inserts ndb/src/kernel/blocks/backup/Backup.cpp: Make sure that entire stopGCP is in log ndb/tools/restore/Restore.cpp: Notice: this will not group and commit the deltas listed below into a ChangeSet, because there are no ChangeSet comments. Click [Checkin] again to check in only the commented deltas, or type Control-l to go back and provide ChangeSet comments. ndb/tools/restore/Restore.hpp: Keep track of last gci to next iteration ndb/tools/restore/consumer_restore.cpp: Handle insert in log Only allow certain errors
-
unknown authored
- Added better error messages when trying to open a table that can't be discovered or unpacked. The most likely cause of this is that it does not have any frm data, probably since it has been created from NdbApi or is a NDB system table. - Separated functionality that was in ha_create_table_from_engine into two functions. One that checks if the table exists and another one that tries to create the table from the engine. mysql-test/r/ndb_autodiscover.result: Add tests for reading from a table that can't be discovered(SYSTAB_0) Discovery is not performed during create table anymore. mysql-test/t/ndb_autodiscover.test: Add tests for reading from a table that can't be discovered(SYSTAB_0) Discovery is not performed during create table anymore. ndb/test/ndbapi/create_tab.cpp: Set connectstring before creating Ndb object. sql/ha_ndbcluster.cc: Rename and use the function ndbcluster_table_exists_in_engine. Correct return valu from ndbcluster_discover Remove old code "ndb_discover_tables" sql/ha_ndbcluster.h: Rename function ndbcluster_table_exists to ndb ndbcluster_table_exists_in_engine sql/handler.cc: Update comment of ha_create_table_from_engine Remove parameter create_if_found from ha_create_table_from_engine, the function ha_table_exists_in_engine is now used toi check if table is found in engine. Cleanup return codes from ha_create_table_from_engine. Change name of ha_table_exists to ha_table_exists_in_engine, update comment and returne codes. sql/handler.h: Remove paramter create_if_cound from ha_create_table_from_engine Rename ha_table_exists to ha_table_exists_in_engine sql/sql_base.cc: Use the function ha_table_exists_in_engine to detect if table exists in enegine. If it exists, call function ha_create_table_from_engine to try and create it. If create of table fails, set correct error message. sql/sql_table.cc: Add comments, remove parameter create_if_found to ha_create_table_from_engine. When dropping a table, try to discover it from engine. If discover fails, use same error message as if the table didn't exists. Maybe another message should be displayed here, ex: "Table could not be dropped, unpack failed" When creating a new table, use ha_table_exists_in_engine to check if a table with the given name already exists.
-
- 07 Jun, 2005 16 commits
-
-
unknown authored
This was necessary because the old code would return "w+" for O_RDONLY|O_SHARE for example. mysys/my_fopen.c: improved mapping from numerical open codes to string fopen codes.
-
unknown authored
into mdk10.(none):/home/reggie/bk/41test3 sql/sql_acl.cc: Auto merged
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
-
unknown authored
check table->file->inited to catch incorrect calling sequence. mysql-test/r/innodb_handler.result: bug#5373: handler READ NEXT w/o HANDLER READ [FIRST] mysql-test/t/innodb_handler.test: bug#5373: handler READ NEXT w/o HANDLER READ [FIRST] sql/sql_handler.cc: cleanup: call index_init *correctly*, not every time. check table->file->inited to catch incorrect calling sequence.
-
unknown authored
into mysql.com:/home/my/mysql-4.1
-
unknown authored
into rurik.mysql.com:/home/igor/mysql-4.1
-
unknown authored
Fixed bug #9899: erronious NOT_NULL flag for some attributes in the EXPLAIN table. sql/sql_class.cc: Fixed bug #9899: erronious NOT_NULL flag for some attributes in the EXPLAIN table. mysql-test/r/ps_1general.result: Fixed bug #9899: erronious NOT_NULL flag for some attributes in the EXPLAIN table. mysql-test/r/ps_2myisam.result: Fixed bug #9899: erronious NOT_NULL flag for some attributes in the EXPLAIN table. mysql-test/r/ps_3innodb.result: Fixed bug #9899: erronious NOT_NULL flag for some attributes in the EXPLAIN table. mysql-test/r/ps_4heap.result: Fixed bug #9899: erronious NOT_NULL flag for some attributes in the EXPLAIN table. mysql-test/r/ps_5merge.result: Fixed bug #9899: erronious NOT_NULL flag for some attributes in the EXPLAIN table.
-
unknown authored
BitKeeper/etc/logging_ok: auto-union myisam/mi_check.c: Auto merged
-
unknown authored
into mysql.com:/home/jonas/src/mysql-4.1
-
unknown authored
incorrect handling of writeTuple with multi op transaction ndb/src/kernel/blocks/dbacc/DbaccMain.cpp: 1) Pass operation instead of insertIsDone to LQH 2) transform operation correctly when in parallell que (multi op within same trans) ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Let ACC decide what operation was performed when WRITE ndb/test/ndbapi/testNdbApi.cpp: Add testcase for bug 11133 ndb/test/run-test/daily-basic-tests.txt: Add testcase for bug 11133
-
unknown authored
into mysql.com:/home/my/mysql-4.1
-
unknown authored
Fix instead wrong call to ha_key_cmp This is related to bug #10741 Inserting double value into utf8 column crashes server myisam/mi_key.c: Revert Bar's fix as this causes changes in the key tree that could cause incompatibilites myisam/mi_rnext_same.c: Fixed wrong arguments to ha_key_cmp() This caused a compare to fail if we first found a key with end space and then same key without end space mysql-test/r/ctype_utf8.result: Additional test mysql-test/t/ctype_utf8.test: Additional test
-
unknown authored
Removed an extra space char. sql/item_buff.cc: Removed an extra space char.
-
unknown authored
into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
-
unknown authored
Fixed bug #11088: a crash for queries with GROUP BY a BLOB column + COUNT(DISTINCT...) due to an attempt to allocate a too large buffer for the BLOB field. Now the size of the buffer is limited by max_sort_length. group_by.test, group_by.result: Added a test case for bug #11088. mysql-test/r/group_by.result: Added a test case for bug #11088. mysql-test/t/group_by.test: Added a test case for bug #11088. sql/item.h: Fixed bug #11088: a crash for queries with GROUP BY a BLOB column + COUNT(DISTINCT...) due to an attempt to allocate a too large buffer for the BLOB fields. Now the size of the buffer is limited by max_sort_length. sql/item_buff.cc: Fixed bug #11088: a crash for queries with GROUP BY a BLOB column + COUNT(DISTINCT...) due to an attempt to allocate a too large buffer for the BLOB fields. Now the size of the buffer is limited by max_sort_length. sql/sql_select.cc: Fixed bug #11088: a crash for queries with GROUP BY a BLOB column + COUNT(DISTINCT...) due to an attempt to allocate a too large buffer for the BLOB fields. Now the size of the buffer is limited by max_sort_length.
-
unknown authored
into mysql.com:/space/my/mysql-4.1
-