summaryrefslogtreecommitdiff
path: root/unittest
Commit message (Collapse)AuthorAgeFilesLines
* Merge fix for Bug#53303 from 5.1-bugteamTor Didriksen2010-06-104-11/+23
|\ | | | | | | text conflict: unittest/examples/Makefile.am
| * Backport of Bug#53303 mytap tests should always have a plan()Tor Didriksen2010-06-104-14/+26
| | | | | | | | | | | | | | The bug was caused by buffered output. Flushing resolved it. We still recommend to allways call plan(). Also fix some compile warnings (formal parameter different from declaration)
* | Another incarnation of the patch for Bug#30708Alexander Nozdrin2010-05-193-9/+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.
* | mergeVladislav Vaintroub2009-12-251-4/+19
|\ \
| * \ Manual merge of WL#4738 from mysql-next-mr: Alexey Kopytov2009-12-281-4/+19
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - backported code that handles %f/%g arguments in my_vsnprintf.c from 6.0 - backported %f/%g tests in unittest/mysys/my_vsnprintf-t.c from 6.0 - replaced snprintf("%g") in sql/set_var.cc with my_gcvt() - removed unnecessary "--replace-result"s for Windows in mysql-test/suite/sys_vars/t/long_query_time_basic.test - some test results adjustments
| | * | WL#4738 streamline/simplify @@variable creation processSergei Golubchik2009-12-221-1/+9
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug#16565 mysqld --help --verbose does not order variablesBug#20413 sql_slave_skip_counter is not shown in show variables Bug#20415 Output of mysqld --help --verbose is incomplete Bug#25430 variable not found in SELECT @@global.ft_max_word_len; Bug#32902 plugin variables don't know their names Bug#34599 MySQLD Option and Variable Reference need to be consistent in formatting! Bug#34829 No default value for variable and setting default does not raise error Bug#34834 ? Is accepted as a valid sql mode Bug#34878 Few variables have default value according to documentation but error occurs Bug#34883 ft_boolean_syntax cant be assigned from user variable to global var. Bug#37187 `INFORMATION_SCHEMA`.`GLOBAL_VARIABLES`: inconsistent status Bug#40988 log_output_basic.test succeeded though syntactically false. Bug#41010 enum-style command-line options are not honoured (maria.maria-recover fails) Bug#42103 Setting key_buffer_size to a negative value may lead to very large allocations Bug#44691 Some plugins configured as MYSQL_PLUGIN_MANDATORY in can be disabled Bug#44797 plugins w/o command-line options have no disabling option in --help Bug#46314 string system variables don't support expressions Bug#46470 sys_vars.max_binlog_cache_size_basic_32 is broken Bug#46586 When using the plugin interface the type "set" for options caused a crash. Bug#47212 Crash in DBUG_PRINT in mysqltest.cc when trying to print octal number Bug#48758 mysqltest crashes on sys_vars.collation_server_basic in gcov builds Bug#49417 some complaints about mysqld --help --verbose output Bug#49540 DEFAULT value of binlog_format isn't the default value Bug#49640 ambiguous option '--skip-skip-myisam' (double skip prefix) Bug#49644 init_connect and \0 Bug#49645 init_slave and multi-byte characters Bug#49646 mysql --show-warnings crashes when server dies
* | | mergeVladislav Vaintroub2009-12-191-1/+38
|\ \ \ | |/ /
| * | Merge WL#5138 to mysql-next-mrMikael Ronstrom2009-11-2714-23/+594
| |\ \
| * \ \ WL#5138 merged to mysql-next-mrMikael Ronstrom2009-11-203-107/+179
| |\ \ \
| | * | | Bug fixes to my_atomic infrastructureMikael Ronstrom2009-10-151-0/+2
| | | | |
| | * | | Backported my_atomic from 6.0-codebase and added support for 64-bit atomics ↵Mikael Ronstrom2009-10-122-107/+177
| | | | | | | | | | | | | | | | | | | | to enable removal of LOCK_thread_count from every query, removed LOCK_thread_count from use in dispatch_command and close of query which is used in every query, now uses atomic increments/decrements instead
* | | | | mergeVladislav Vaintroub2009-11-303-6/+232
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | WL#2373 Use cycle counter for timingMarc Alff2009-11-243-3/+266
| | | | |
* | | | | Remove STATIC from ADD_CONVENIENCE_LIBRARY on 2 placesVladislav Vaintroub2009-11-251-1/+1
| | | | |
* | | | | mergeVladislav Vaintroub2009-11-2514-133/+447
|\ \ \ \ \ | |/ / / /
| * | | | Port the unit test framework to windowsMarc Alff2009-11-1710-20/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport from 6.0.14 to 5.6.0 Original code from Guilhem Bichot
| * | | | WL#3230 concurrent hashMarc Alff2009-11-172-1/+179
| | | | | | | | | | | | | | | | | | | | | | | | | Backport from 6.0.14 to 5.6.0 Original code from Sergei Golubchik
| * | | | WL#2595 kernel-independent atomic operationsMarc Alff2009-11-173-107/+142
| |/ / / | | | | | | | | | | | | | | | | Backport from 6.0.14 to 5.6.0 Original code from Sergei Golubchik
* | | | WL#5161 : Cross-platform build with CMakeVladislav Vaintroub2009-11-095-3/+63
|/ / /
* | | unit tests for my_vsnprintf,Sergei Golubchik2009-11-042-1/+156
| |/ |/| | | bug fixes for my_vsnprintf
* | automergeGeorgi Kodinov2009-10-041-2/+9
|\ \
| * | Fix bug#46980Joerg Bruehe2009-09-171-2/+9
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Option "--without-server" still not working in 5.1 The general approach is to make sure that source files which require thread support are only compiled if the build really needs thread support, which means when the server is built or a thread-safe client library. This required several changes: - Make sure the subdirectories "storage/" and "plugin/" are only processed if the server is built, not ifclient-only. - Make the compilation of some modules which inherently require threading depend on thread supportin the build. - Separate the handling of threading in "configure.in" from that of server issues, threading is also needed in a non-server build of a thread-safe client library. Also, "libdbug" must get built even in a client-only build, so "dbug/" must be in the list of client directories. In addition, calls to thread functions in source files which can be built without thread support must use the wrapper functions which handle the non-threaded build. So the modules "client/mysqlimport.c" and "client/mysqlslap.c" must call "my_thread_end()" only via "mysql_thread_end()".
* | Bug #43414 Parenthesis (and other) warnings compiling MySQLStaale Smedseng2009-09-231-1/+1
|/ | | | | | with gcc 4.3.2 Cleaning up warnings not present in 5.0.
* Fix for server bug experienced in Maria (wrong "Truncated incorrect <var_name>guilhem@gbichot4.local2008-02-181-11/+11
| | | | | | | | value" error even though the value was correct): a C function in my_getopt.c was taking bool* in parameter and was called from C++ sql_plugin.cc, but on some Mac OS X sizeof(bool) is 1 in C and 4 in C++, giving funny mismatches. Fixed, all other occurences of bool in C are removed, future ones are blocked by a "C-bool-catcher" in my_global.h (use my_bool).
* my_atomic-t.c:serg@janus.mylan2007-12-201-2/+9
| | | | gcc bug workaround
* Fixes Bug#30127: --debug-info no longer prints memory usage in mysqlmonty@mysql.com/nosik.monty.fi2007-08-013-5/+9
| | | | | | | Fixed compiler warnings, errors and link errors Fixed new bug on Solaris with gethrtime() Added --debug-check option to all mysql clients to print errors and memory leaks Added --debug-info to all clients. This now works as --debug-check but also prints memory and cpu usage
* Makefile.am:kent@mysql.com/kent-amd64.(none)2007-05-285-0/+12
| | | | | Consistent use of '%::SCCS/s.%' to prevent some 'make' implementations from trying to update files in SCCS directory
* remove unnecessary lineserg@janus.mylan2007-03-161-3/+0
|
* base64-t.c:kent/mysqldev@mysql.com/production.mysql.com2007-02-211-1/+6
| | | | | Calculate and output line count first to be compatible with older versions of Test::Harness
* After merge fixistruewing@chilla.local2007-02-021-0/+2
|
* Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpllars/lthalmann@dl145j.mysql.com2007-01-121-3/+9
|\ | | | | | | into mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge
| * Merge mysql.com:/home/bkroot/mysql-5.1-new-rpllars@black.(none)2006-12-081-3/+9
| |\ | | | | | | | | | into mysql.com:/home/bk/MERGE/mysql-5.1-merge
| | * Work around slow my_atomic-t test on hpux11: decrease number ofguilhem@gbichot3.local2006-12-041-3/+9
| | | | | | | | | | | | iterations on this platform
* | | Many files:kent@mysql.com/kent-amd64.(none)2006-12-3114-2/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed "MySQL Finland AB & TCX DataKonsult AB" from copyright header Adjusted year(s) in copyright header Added GPL copyright text my_vle.h, rpl_utility.h, my_vle.c, base64-t.c, rpl_utility.cc: Changed copyright header formatting some plugin_example.c, daemon_example.c: Added "Copyright (C) 2006 MySQL AB" to GPL header
* | | Many files:kent@mysql.com/kent-amd64.(none)2006-12-275-10/+5
|/ / | | | | | | Changed header to GPL version 2 only
* | Fixed a LOT of compiler warningsmonty@mysql.com/nosik.monty.fi2006-11-272-1/+2
|/ | | | | | | Added missing DBUG_RETURN statements (in mysqldump.c) Added missing enums Fixed a lot of wrong DBUG_PRINT() statements, some of which could cause crashes Removed usage of %lld and %p in printf strings as these are not portable or produces different results on different systems.
* Merge mysql.com:/users/lthalmann/bkroot/mysql-5.1-new-rpllars/lthalmann@dl145h.mysql.com2006-11-074-54/+294
|\ | | | | | | into mysql.com:/users/lthalmann/bk/MERGE/mysql-5.1-merge
| * Merge romeo.(none):/home/bkroot/mysql-5.1-new-rplmats@romeo.(none)2006-10-204-54/+294
| |\ | | | | | | | | | into romeo.(none):/home/bk/mytap-mysql-5.1-new
| | * Documentation changes to MyTAP.mats@romeo.(none)2006-10-204-59/+302
| | |
* | | unittest/mytap/tap.c :joerg@trift2.2006-10-121-5/+13
|/ / | | | | | | Do not (try to) set a signal handler action unless a signal is defined on the platform.
* | Merge romeo.(none):/home/bkroot/mysql-5.1-new-rplmats@romeo.(none)2006-10-061-1/+1
|\ \ | | | | | | | | | into romeo.(none):/home/bk/b19459-mysql-5.1-new
| * | BUG#19459 (BINLOG RBR command does not lock tables correctly causingmats@romeo.(none)2006-10-021-1/+1
| | | | | | | | | | | | | | | crash for, e.g., NDB): Submitting patch to base64_decode() adding extra parameter.
* | | WL#3504 "plugin actions for engines' and plugins' unit tests"guilhem@gbichot3.local2006-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for push in 5.1 (I will inform Trudy). Storage engines and plugins can now have unit tests to test their components; such test must be an executable C/C++ program which name ends with '-t' and which is obeys the mytap protocol, it must be stored in the storage engine's or plugin's source directory (storage/<engine> or plugin/<plugin>) or any subdirectories of this. The top-level Makefile target "test-unit" will run all unit tests: it will scan the engines' and plugins' directories, recursively, and execute all executable files which name ends with '-t'."
* | | fixes for the my_atomic-t unit test:guilhem@gbichot3.local2006-09-141-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - compiler warning - detection of pthread_create failure (you will see this message only if you run with "make test-verbose" in unittest; otherwise unit.pl masks all messages from the test but "ok" ones. - the test fails randomly on some machines (I filed it as BUG#22320), on one host it looks like a crash at exit() which a sleep(2) makes disappear. So I add the sleep(2), which can be removed when BUG#22320 is fixed.
* | | Merge mysql.com:/users/lthalmann/bkroot/mysql-5.1-new-rpllars/lthalmann@dl145j.mysql.com2006-09-116-16/+124
|\ \ \ | | | | | | | | | | | | into mysql.com:/users/lthalmann/bk/MERGE/mysql-5.1-merge
| * \ \ Merge romeo.(none):/home/bk/mytap-mysql-5.1-newmats@romeo.(none)2006-08-301-25/+1
| |\ \ \ | | | |/ | | |/| | | | | into romeo.(none):/home/bk/mysql-5.1-new-rpl
| | * | Changes to make unit tests work on OS X and AIXmats@romeo.(none)2006-08-301-25/+1
| | | |
| * | | Various fixes to make MyTAP build on all platforms.mkindahl@dl145h.mysql.com2006-08-292-7/+27
| | | |
| * | | Adding missing filemkindahl@dl145h.mysql.com2006-08-251-0/+19
| | | |
| * | | mytap-changes.patchmkindahl@production.mysql.com[mkindahl]2006-08-255-12/+81
| |/ /