- 13 Apr, 2006 1 commit
-
-
unknown authored
ALTER TABLE temporarily creates a new table with a .frm file and optionally other files. For fast ALTER TABLE only the .frm file is created. If the operation succeeds, The temporary files are renamed to their final target. In case of an error, the temporary file was forgotten to remove. Manually tested. The test requires to look at files, which I think cannot be done portably with the test suite. The test file is attached to the bug report. sql/sql_table.cc: Bug#18129 - Fast (online) add index leaves temporary table frm in case of errors Moved closing or removing of the temporary table to an 'err1' label at the end of mysql_alter_table(). Added gotos to this label from all error checks between create or open and remove or close of the temporary table.
-
- 12 Apr, 2006 8 commits
-
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.1-new
-
unknown authored
"upgrade" failed on windows, because of lower_case_table_name. This fix changes letters to lower case, not to depend on OS. Note, this change does not affect coverage of Bug N 17142 "Crash if create with encoded name", which the test war originally written for. mysql-test/r/upgrade.result: Changing "P" to "p" not to depend on lower_case_table_name mysql-test/t/upgrade.test: Changing "P" to "p" not to depend on lower_case_table_name
-
unknown authored
into mysql.com:/home/mysql_src/mysql-5.1-new
-
unknown authored
This is faster under gdb/valgrind (this should speed up work of people who have to run a simple test 50 times to do debugging). Running without --big, which is the default, InnoDB tests take at most 18MB so 128 was overkill. Running with --big, InnoDB tests take 450MB so 128 was not enough anyway. mysql-test/mysql-test-run.pl: 10M is faster to create than 128M (especially under gdb or valgrind) and is enough for most tests.
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.1-new.b18285
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1 mysql-test/lib/mtr_process.pl: Auto merged
-
unknown authored
- Part 1, better handling of subprocess and stdout to be done mysql-test/lib/mtr_process.pl: - Dont redirect stdout if ActiveState perl since fork creates a new thread and not another process. - Change waitpid to allow for negative pid as we get on Windows, strange but that is how it is. It should never create a process with pid -1 though. - Remove an "if" for cygwin that does not do anything. - Add "print" in the potentially hanging while loop in "start_reap_all" - Dont use "getpgrp" on windows. - Remove "sleep 2" in mtr_exit - Remove the initial ping of mysqld's in 'mysql_admin_shutdown', instead just start one mysqladmin for each expected mysqld server and wait for them to return. Then perform the ping of the mysqld server's. Those ping's normally return immediately.
-
- 11 Apr, 2006 31 commits
-
-
unknown authored
into mysql.com:/home/jimw/my/mysql-5.1-clean
-
unknown authored
into c-4908e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug18750
-
unknown authored
-
unknown authored
- Terminate loop not only when the limit is met, but alse when there is no more stmts client/mysqlslap.c: Terminate loop not only when the limit is met, but alse when there is no more stmts mysql-test/r/mysqlslap.result: Remove the extra statmemnt
-
unknown authored
client/mysqlslap.c: Remove the %s, no string to print
-
unknown authored
- Add more printouts it depending on verbose level - New common function 'run_query' to be used when executing a query client/mysqlslap.c: Seed random number generator after options handling Make common function 'run_query' to take care of "opt_print_only" and "opt_verbose" level Better error message when failing to connect to MySQL Server Message when turning off "preserve-schema" Print auto generated statmements Print queries if verbose >= 2 Print "connected" if verbose >= 3
-
unknown authored
into mysql.com:/home/jimw/my/mysql-5.1-clean sql/sql_parse.cc: Auto merged
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.1-new.b18285
-
unknown authored
into linux.site:/home/marty/MySQL/mysql-5.1-new sql/ha_partition.cc: Auto merged
-
unknown authored
-
unknown authored
into c-4908e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug18750
-
unknown authored
into mysql.com:/home/alexi/bugs/mysql-5.1-13683 mysql-test/r/insert.result: Null-merge sql/sql_insert.cc: Null-merge
-
unknown authored
Don't use the MYSQL* returned from mysql_real_connect to overwrite the already initalised mysql variable client/mysqlslap.c: Only use the MYSQL* returned from mysql_reqal_connect as an indicator wether the connect was successfull or not. As the manual says about the return value from mysql_real_connect: "A MYSQL* connection handle if the connection was successful, NULL if the connection was unsuccessful. For a successful connection, the return value is the same as the value of the first parameter."
-
unknown authored
into c-4908e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug18750 mysql-test/r/partition.result: manual merge mysql-test/t/partition.test: manual merge
-
unknown authored
-
unknown authored
into linux.site:/home/marty/MySQL/mysql-5.1-new sql/ha_ndbcluster.cc: Auto merged
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.1-new.b18285 mysql-test/r/xml.result: Auto merged mysql-test/t/xml.test: Auto merged
-
unknown authored
-
unknown authored
-
unknown authored
Remove the my_seek calls as we have just opened the file for append with O_APPEND and the file pointer should be at end of the file already. storage/csv/ha_tina.cc: Remove the my_seek calls as we have just opened the file for append with O_APPEND and the file pointer should be at end of the file already
-
unknown authored
into shellback.:C:/mysql/my51-bug17368 sql/ha_partition.cc: Auto merged
-
unknown authored
-
unknown authored
Open and seek to end of data_file after rename Fix comment for when file does not need repair. Set share->mapped_file to NULL always when it's been unmapped Add test to see that file can be used after repair mysql-test/r/csv.result: Add more test to see that the table can be used after repair mysql-test/t/csv.test: Add more test to see that the table can be used after repair storage/csv/ha_tina.cc: Close share->data_file in before renaming in ha_tina::repair Open and seek to end after rename Fix comment for when file does not need repair. Set share->mapped_file to NULL always when it's been unmapped
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.1-new
-
unknown authored
ExtractValue didn't understand tag and attribute names consisting of "tricky" national letters (e.g. latin accenter letters). It happened because XPath lex parser recognized only basic latin letter a..z ad a part of an identifier. Fixed to recognize all letters by means of new "full ctype" which was added recently. mysql-test/r/xml.result: Adding test case mysql-test/t/xml.test: Adding test case sql/item_xmlfunc.cc: Using recently implemented "true" ctype functionality to treat all national letters as valid tag names, Only basic latin letters worked so far. strings/ctype-simple.c: A bug fix: ctype is array of 257 elements, adding offset to address correct element.
-
unknown authored
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1 client/mysqltest.c: Auto merged libmysql/Makefile.shared: Auto merged mysql-test/mysql-test-run.pl: Auto merged sql/ha_ndbcluster.cc: Auto merged
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1 sql/ha_ndbcluster.cc: Auto merged
-
unknown authored
Add surrounding braces, move invalidate dictionary_cace to after declaration of variable "table_list"
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1 Makefile.am: Auto merged mysql-test/mysql-test-run.sh: Auto merged mysys/Makefile.am: Auto merged sql/ha_ndbcluster.cc: Auto merged sql-common/client.c: Auto merged
-