summaryrefslogtreecommitdiff
path: root/mysql-test/lib/My
Commit message (Collapse)AuthorAgeFilesLines
* Updated/added copyright headersMurthy Narkedimilli2014-01-062-3/+2
|
* Bug #16632543 - INCORRECT VALUE OF BOGOMIPS IN MYSQLTESTsayantan dutta2013-04-161-2/+2
|
* Bug#11765629 CMAKE: CAN SUPPRESS INSTALLATION OF SQL-BENCH, BUT NOT MYSQL-TESTTor Didriksen2013-04-021-4/+16
| | | | | | Don't try to install anything into INSTALL_MYSQLTESTDIR if it is explicitly set empty on the cmake command line.
* Bug #16403186 - MTR ON WINDOWS SHOULD NOT TRY TO START CDB IF RUNNING WITH ↵sayantan dutta2013-03-281-3/+7
| | | | PARALLEL
* Fix for Bug 16395495 - OLD FSF ADDRESS IN GPL HEADERMurthy Narkedimilli2013-03-191-1/+1
|
* Reinstate install of mysql-test/lib/My/SafeProcess/Base.pm, removed by mistakeBjorn Munch2012-11-261-0/+1
|
* upmerge 5.1 => 5.5unknown2012-11-263-171/+11
|\
| * Bug #14757120 - SAFE_PROCESS.CC/SAFE_PROCESS.PL SHOULD NOT KILL MYSQLD ON ↵unknown2012-11-262-170/+11
| | | | | | | | SIGSTOP/SIGCONT
* | Upmerge optional testsuite pathBjorn Munch2012-05-151-3/+4
|\ \ | |/
| * Added some extra optional path to test suitesBjorn Munch2012-05-151-3/+4
| |
| * Updated/added copyright headersKent Boortz2011-07-033-11/+11
| |\
* | | Silly mistake in gdb output: replaced print with resfile_print,Bjorn Munch2011-10-051-2/+2
| | | | | | | | | | | | | | | | | | but the latter only takes one argument, duh! Fixed by concatenating the args (replace , with .)
* | | Updated/added copyright headersKent Boortz2011-07-041-1/+1
|\ \ \
* \ \ \ Updated/added copyright headersKent Boortz2011-06-3012-12/+46
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Updated/added copyright headersKent Boortz2011-06-3016-18/+63
| | |
* | | WL #5680 MTR results written to file with well defined formatBjorn Munch2011-05-092-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added --result-file option, which will produce var/mtr-results.txt Output has a simple format: <tag> : <value> for general info on test run { <tag> : <value> .... } for each test Output from failed tests are included but may be truncated. See WL for more details.
* | | upmerge 12379923 (60907)Bjorn Munch2011-04-261-2/+2
|\ \ \ | | |/ | |/|
| * | Bug #12379923 60907: MYSQL-TEST/LIB/MY/SAFEPROCESS/SAFE_PROCESS.PL USES ↵Bjorn Munch2011-04-201-2/+2
| | | | | | | | | | | | | | | | | | | | | HARDCODED SIGNAL NUMBE Replaced the hardcoded 9 with 'KILL'
| * | Bug #12365486 MTR FAILS TO FIND WARNINGS IN SERVER LOG WITH --VALGRIND ↵Bjorn Munch2011-04-181-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | COMBINED WITH --DEBUG With this combination, outoput was directed to .trace but not all parts of MTR was aware of this. Replace .err with .trace at the earliest possible place
* | | upmerge 12365486Bjorn Munch2011-04-181-2/+6
|\ \ \
| * | | Bug #12365486 MTR FAILS TO FIND WARNINGS IN SERVER LOG WITH --VALGRIND ↵Bjorn Munch2011-04-181-2/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | COMBINED WITH --DEBUG With this combination, outoput was directed to .trace but not all parts of MTR was aware of this. Replace .err with .trace at the earliest possible place
* | | upmerge 12351213,12360195Bjorn Munch2011-04-151-3/+2
|\ \ \ | |/ /
| * | Bug #12351213 MTR --VS-CONFIG DOES NOT WORK LIKE MTR_VS_CONFIGBjorn Munch2011-04-141-4/+2
| |/ | | | | | | | | | | | | | | | | Fix for --vs-config applied Find.pm incorrectly tested an unitialized local variable instead of the global, corrected. Find.pm is also wrong in 5.5: uses a non-existent global variable. Fix when merging up.
* | 11766640 follow-up: fix for VS_CONFIG on WindowsBjorn Munch2011-02-241-3/+2
| |
* | Bug #59489 Enable setting of env. variables for mysqld from mtrBjorn Munch2011-01-273-5/+22
| | | | | | | | | | | | | | | | Added --mysqld-env option, propagate via safe_process Simplified: should be safe to set in parent safe_process after it's started Addendum: catch cases of --mysqld-env w/o value, assume env.var name never begins with "--"
* | Fixed copyright headers in mtr src filesBjorn Munch2011-01-1813-15/+61
|\ \ | |/
| * Fixed copyright headers in mtr src filesBjorn Munch2011-01-1815-17/+63
| |
| * merge from 5.1Bjorn Munch2010-09-291-1/+1
| |\
* | | WL#5665: Removal of the autotools-based build systemDavi Arnaut2010-11-201-25/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The autotools-based build system has been superseded and is being removed in order to ease the maintenance burden on developers tweaking and maintaining the build system. In order to support tools that need to extract the server version, a new file that (only) contains the server version, called VERSION, is introduced. The file contents are human and machine-readable. The format is: MYSQL_VERSION_MAJOR=5 MYSQL_VERSION_MINOR=5 MYSQL_VERSION_PATCH=8 MYSQL_VERSION_EXTRA=-rc The CMake based version extraction in cmake/mysql_version.cmake is changed to extract the version from this file. The configure to CMake wrapper is retained for backwards compatibility and to support the BUILD/ scripts. Also, a new a makefile target show-dist-name that prints the server version is introduced. VERSION: Add top-level version file. cmake/mysql_version.cmake: Get version information from the top-level VERSION file. Do not cache the version components (MAJOR_VERSION, etc). Add MYSQL_RPM_VERSION as a replacement for MYSQL_U_SCORE_VERSION.
* | | Patch for Bug#55854 (MySQL AB should not be AUTHOR, copyright incorrect).Alexander Nozdrin2010-08-121-2/+2
| | | | | | | | | | | | Fixing copyright text.
* | | merge from trunkBjorn Munch2010-07-234-1/+1
|\ \ \
| * | | Unset the execute bit where it's not needed.Davi Arnaut2010-07-033-0/+0
| | | |
| * | | Merge of mysql-5.1-bugteam into mysql-trunk-merge.Davi Arnaut2010-07-021-1/+1
| |\ \ \ | | | |/ | | |/|
| | * | Bug#53445: Build with -Wall and fix warnings that it generatesDavi Arnaut2010-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apart strict-aliasing warnings, fix the remaining warnings generated by GCC 4.4.4 -Wall and -Wextra flags. One major source of warnings was the in-house function my_bcmp which (unconventionally) took pointers to unsigned characters as the byte sequences to be compared. Since my_bcmp and bcmp are deprecated functions whose only difference with memcmp is the return value, every use of the function is replaced with memcmp as the special return value wasn't actually being used by any caller. There were also various other warnings, mostly due to type mismatches, missing return values, missing prototypes, dead code (unreachable) and ignored return values. BUILD/SETUP.sh: Remove flags that are implied by -Wall and -Wextra. Do not warn about unused parameters in C++. BUILD/check-cpu: Print only the compiler version instead of verbose banner. Although the option is gcc specific, the check was only being used for GCC specific checks anyway. client/mysql.cc: bcmp is no longer defined. client/mysqltest.cc: Pass a string to function expecting a format string. Replace use of bcmp with memcmp. cmd-line-utils/readline/Makefile.am: Always define _GNU_SOURCE when compiling GNU readline. Required to make certain prototypes visible. cmd-line-utils/readline/input.c: Condition for the code to be meaningful. configure.in: Remove check for bcmp. extra/comp_err.c: Use appropriate type. extra/replace.c: Replace use of bcmp with memcmp. extra/yassl/src/crypto_wrapper.cpp: Do not ignore the return value of fgets. Retrieve the file position if fgets succeed -- if it fails, the function will bail out and return a error. extra/yassl/taocrypt/include/blowfish.hpp: Use a single array instead of accessing positions of the sbox_ through a subscript to pbox_. extra/yassl/taocrypt/include/runtime.hpp: One definition of such functions is enough. extra/yassl/taocrypt/src/aes.cpp: Avoid potentially ambiguous conditions. extra/yassl/taocrypt/src/algebra.cpp: Rename arguments to avoid shadowing related warnings. extra/yassl/taocrypt/src/blowfish.cpp: Avoid potentially ambiguous conditions. extra/yassl/taocrypt/src/integer.cpp: Do not define type within a anonymous union. Use a variable to return a value instead of leaving the result in a register -- compiler does not know the logic inside the asm. extra/yassl/taocrypt/src/misc.cpp: Define handler for pure virtual functions. Remove unused code. extra/yassl/taocrypt/src/twofish.cpp: Avoid potentially ambiguous conditions. extra/yassl/testsuite/test.hpp: Function must have C language linkage. include/m_string.h: Remove check which relied on bcmp being defined -- they weren't being used as bcmp is only visible when _BSD_SOURCE is defined. include/my_bitmap.h: Remove bogus helpers which were used only in a few files and were causing warnings about dead code. include/my_global.h: Due to G++ bug, always silence false-positive uninitialized variables warnings when compiling C++ code with G++. Remove bogus helper. libmysql/Makefile.shared: Remove built-in implementation of bcmp. mysql-test/lib/My/SafeProcess/safe_process.cc: Cast pid to largest possible type for a process identifier. mysys/mf_loadpath.c: Leave space of the ending nul. mysys/mf_pack.c: Replace bcmp with memcmp. mysys/my_bitmap.c: Dead code removal. mysys/my_gethwaddr.c: Remove unused variable. mysys/my_getopt.c: Silence bogus uninitialized variable warning. Do not cast away the constant qualifier. mysys/safemalloc.c: Cast to expected type. mysys/thr_lock.c: Silence bogus uninitialized variable warning. sql/field.cc: Replace bogus helper with a more appropriate logic which is used throughout the code. sql/item.cc: Remove bogus logical condition which always evaluates to TRUE. sql/item_create.cc: Simplify code to avoid signedness related warnings. sql/log_event.cc: Replace use of bcmp with memcmp. No need to use helpers for simple bit operations. sql/log_event_old.cc: Replace bmove_align with memcpy. sql/mysqld.cc: Move use declaration of variable to the ifdef block where it is used. Remove now-unnecessary casts and arguments. sql/set_var.cc: Replace bogus helpers with simple and classic bit operations. sql/slave.cc: Cast to expected type and silence bogus warning. sql/sql_class.h: Don't use enum values as bit flags, the supposed type safety is bogus as the combined bit flags are not a value in the enumeration. sql/udf_example.c: Only declare variable when necessary. sql/unireg.h: Replace use of bmove_align with memcpy. storage/innobase/os/os0file.c: Silence bogus warning. storage/myisam/mi_open.c: Remove bogus cast, DBUG_DUMP expects a pointer to unsigned char. storage/myisam/mi_page.c: Remove bogus cast, DBUG_DUMP expects a pointer to unsigned char. strings/bcmp.c: Remove built-in bcmp. strings/ctype-ucs2.c: Silence bogus warning. tests/mysql_client_test.c: Use a appropriate type as expected by simple_command().
* | | | merge from trunkBjorn Munch2010-07-141-6/+11
|\ \ \ \ | |/ / /
| * | | mergeDaniel Fischer2010-06-181-6/+11
| |\ \ \
| | * \ \ MergeDaniel Fischer2010-04-214-102/+79
| | |\ \ \
| | | * | | Install mtr, mysql-test-run and my_safe_process into the correctJonathan Perkin2010-03-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | locations.
| | * | | | Add components to INSTALL, some eraly Wix supportVladislav Vaintroub2010-02-101-8/+11
| | | | | |
* | | | | | upmerge 52321,53374,53949,54111,54364,54368Bjorn Munch2010-06-152-3/+11
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | merge 54368Bjorn Munch2010-06-151-0/+2
| |\ \ \ \ \
| | * | | | | Bug #54368 MTR does not recognize carriage return in --defaults-fileBjorn Munch2010-06-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove any leftover trailing ^M from lines read in
| * | | | | | Bug #52321 mtr test suite paths need to be updatedBjorn Munch2010-06-151-2/+9
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use $suitedir instead of $basedir to find suites Add 'testdir' to ConfigFactory
* | | | | | Merge from mysql-trunkBjorn Munch2010-06-021-4/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Another incarnation of the patch for Bug#30708Alexander Nozdrin2010-05-191-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (make relies GNU extentions). The patch was partially backport from 6.0. Original comment: bug#30708: make relies GNU extensions. Now that we no longer use BitKeeper we can safely remove the SCCS handling with no loss of functionality.
* | | | | | merge from trunkBjorn Munch2010-03-261-2/+2
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Bug #52149 - packaging differences in CMake buildVladislav Vaintroub2010-03-171-2/+2
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Corrected some packaging bugs: - install mysqlservices library - install libmysqlclient_r.so.{16,16.0.0} as links to libmysqlclient.so - install libmysqld-debug.a - install my_safe_process, my_safe_kill and symlinks to mysql-test-run.pl (mtr, mysql-test-run) into correct place ${INSTALL_MYSQLTESTDIR} cmake/install_layout.cmake: Fix typo cmake/install_macros.cmake: Refactor INSTALL_SYMLINK to allow arbitrary symlink paths. Old version of this macro would make link extension the same as in target. This was not sufficient in some scenarios (would not allow for example libmysqlclient_r.so.16=>./libmysqlclient.so link) libmysql/CMakeLists.txt: Install extra symlinks to libmysqlclient.so (libmysqlclient_r.so.16 and libmysqlclient_r.so.16.0.0) for backward compatiblity. libmysqld/CMakeLists.txt: install libmysqld-debug.a libservices/CMakeLists.txt: install mysqlservices library mysql-test/lib/My/SafeProcess/CMakeLists.txt: install my_safe_process, my_safe_kill into correct place
* | | | | merge 51767Bjorn Munch2010-03-161-1/+14
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / /
| * | | Bug #51767 Implement --start-and-exit also for MTR v2Bjorn Munch2010-03-161-1/+14
| | |/ | |/| | | | | | | | | | | | | Added option and logic, bypass safe_process Adapted after review comments
| * | merge from 5.1-mtrBjorn Munch2010-02-222-84/+71
| |\ \