- 11 Oct, 2006 2 commits
-
-
msvensson@neptunus.(none) authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
-
Kristofer.Pettersson@naruto. authored
into naruto.:C:/cpp/mysql-4.1-maint
-
- 09 Oct, 2006 2 commits
-
-
cmiller@zippy.cornsilk.net authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/bug17583/my41-bug17583
-
cmiller@zippy.cornsilk.net authored
When the client program had its stdout file descriptor closed by the calling shell, after some amount of work (enough to fill a socket buffer) the server would complain about a packet error and then disconnect the client. This is a serious security problem. If stdout is closed before the mysql is exec()d, then the first socket() call allocates file number 1 to communicate with the server. Subsequent write()s to that file number (as when printing results that come back from the database) go back to the server instead in the command channel. So, one should be able to craft data which, upon being selected back from the server to the client, and injected into the command stream become valid MySQL protocol to do something nasty when sent /back/ to the server. The solution is to close explicitly the file descriptor that we *printf() to, so that the libc layer and the OS layer both agree that the file is closed.
-
- 07 Oct, 2006 5 commits
-
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
strcmp -> strncmp
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
Improve sort algorithm for reorder, all test with smae name except for ending digit should be run after each other. Example of that is ndb_autodiscover[1-3]
-
msvensson@neptunus.(none) authored
Two implementations of "get_err_code_from_name", one use if mysqld_ername.h is available and oe if it's not Declare "to_ptr" first in block
-
- 06 Oct, 2006 8 commits
-
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
Fix problem with specifying vardir, mysql_version_id was not yet available when vardir arguments is checked Move the code to look for exe_mysqld earlier => to initial_setup Fix warnings detected by running with "diagnostics" Remove unused option "opt_result_ext" Init "path_ndb_examples_dir"
-
msvensson@neptunus.(none) authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
-
msvensson@neptunus.(none) authored
the "mysqld --version" command will print "/path/.libs/lt-mysqld Ver x.x.x"
-
msvensson@neptunus.(none) authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
Improve 'run_testcase_need_slave_restart' to detect if a slave restart really is necessary. So far all rpl test requires a slave restart, but for all other tests it can be skipped Improve the sort order used by --reorder
-
- 05 Oct, 2006 16 commits
-
-
msvensson@neptunus.(none) authored
Move call f dunction into "initialize_servers" so it's called also in stress and bench mode
-
msvensson@neptunus.(none) authored
Cleanup .progress, .reject, .log and .warnings files produced by mysqltest
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
creating an environment variable is handled directly from the perl code.
-
msvensson@neptunus.(none) authored
but having it on tmpfs gives a big speedup.
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
- When --record is passed to mysqltest the whole testcase should be executed as it normally is while the output form the test is acumulating in ds_res. When test has finished ds_res should simply be written to the specified result file(if any) instead of comapring it against the result file. Simplify handling of --require and also the cecking of result files by splitting check_result function into one function 'check_require' that is specialised in checking require's and leave 'check_result' to do just that. - "mysqltest --record" has been considered unsafe, but with this really simple logic, it should be safe to use.
-
msvensson@neptunus.(none) authored
from var/ to a tmpfs area and thereby speed up the execution of the testsuite significantly
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
Some variable names in 5.1 is soo long that there is no space inbetween name and value. Outputing a warning about it, as that should probably be fixed. At least one space should be put between the name and value.
-
msvensson@neptunus.(none) authored
Improve check of wheter test case need slave cluster
-
msvensson@neptunus.(none) authored
Set the environment variable NDB_STATUS_OK to indicate that cluster is installed ok. This is actually not needed for this script as it will skip ndb tests if cluster install failed. But provided for compatibility
-
msvensson@neptunus.(none) authored
I.e take advantage of the fact that a # comment is always terminated by a new line Add tests for the above
-
- 04 Oct, 2006 7 commits
-
-
msvensson@neptunus.(none) authored
Fix detection of debug binaries. If mysqld ouputs "debug xx" in the variable list it's a debug binary
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
- add missing DBUG_RETURN - Change type of st_error->code to uint, that should be more than enough to hold the error numbers between 1000 and around 2000
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
-