summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* MySQL-5.5.36 mergeSergei Golubchik2014-02-178-10/+18
|\ | | | | | | (without few incorrect bugfixes and with 1250 files where only a copyright year was changed)
| * Updated/added copyright headersMurthy Narkedimilli2014-01-068-10/+18
| |
* | Fixed compiler errors and warningsMichael Widenius2013-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | extra/jemalloc/src/ctl.c: Fixed compiler warning include/mysql/service_logger.h: Fixed compile failure with clang compiler storage/maria/ma_check.c: Fixed compiler warning support-files/compiler_warnings.supp: Suppressed warnings in jemalloc tests/bug25714.c: Fixed compiler warning
* | MDEV-4941 make: AIX fails with 'Identifier not allowed in cast'; syntax ↵Sergei Golubchik2013-09-091-0/+2
| | | | | | | | | | | | error in include/my_global.h C++ comments in C files, and a typo in my_global.h
* | mysql-5.5.32 mergeSergei Golubchik2013-07-1622-22/+22
|\ \ | |/
| * Correcting the permissions of the executable files.Murthy Narkedimilli2013-03-2012-0/+0
| |
| * Fix for Bug 16395495 - OLD FSF ADDRESS IN GPL HEADERMurthy Narkedimilli2013-03-1922-22/+22
| |
| * merge 5.1 => 5.5Tor Didriksen2012-11-011-0/+1
| |\
| | * Bug#14840488 VALGRIND ERRORS IN MYSQL_CLIENT_TESTTor Didriksen2012-11-011-0/+1
| | | | | | | | | | | | | | | | | | Add missing DBUG_RETURNs, otherwise the debug-stack gets messed up, and _db_enter_ and _db_exit_ will access data outside the current stack frame.
* | | MDEV-4601 : Allow MariaDB to be build without non-blocking client.Vladislav Vaintroub2013-06-151-1/+2
| | | | | | | | | | | | | | | Non-blocking client currently can be build on Windows, GCC on i386 and x64, or any OS wth ucontext.h header. Prior to this patch, build failed if neither of these conditions is true. Fix to avoid compiler errors in these case - non-blocking API would not be useful on , but otherwise everything will work as before.
* | | MDEV-4604 Wrong server status when sending out parametersSergei Golubchik2013-06-121-0/+71
| | | | | | | | | | | | | | | | | | | | | reset SERVER_MORE_RESULTS_EXISTS *after* sending the OUT packet to the client. the next packet will be the last one. patch by Georg Richter.
* | | 5.3 merge.Sergei Golubchik2013-05-201-1/+109
|\ \ \ | | | | | | | | | | | | change maria.distinct to use a function that doesn't require ssl-enabled builds
| * \ \ 5.2 mergeSergei Golubchik2013-05-201-1/+109
| |\ \ \
| | * \ \ 5.1 mergeSergei Golubchik2013-05-201-1/+109
| | |\ \ \
| | | * | | MDEV-4326 fix.unknown2013-04-091-1/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed "optimization" which caused preoblems on second execution of PS with string parameter in LIMIT clause. Fixed test_bug43560 to be able to skipp it if connection is UNIX socket.
* | | | | | MDEV-4332 Increase username length from 16 charactersSergei Golubchik2013-04-181-4/+5
| | | | | |
* | | | | | 5.3 mergeSergei Golubchik2013-04-121-4/+5
|\ \ \ \ \ \ | |/ / / / /
| * | | | | 5.2 mergeSergei Golubchik2013-04-111-4/+5
| |\ \ \ \ \ | | |/ / / /
| | * | | | 5.1 mergeSergei Golubchik2013-04-111-4/+5
| | |\ \ \ \ | | | |/ / /
| | | * | | MDEV-4244 [PATCH] Buffer overruns and use-after-free errorsSergei Golubchik2013-04-061-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | fixes for gcc 4.8 - compilation warnings and -fsanitize=address
* | | | | | 5.3 mergeSergei Golubchik2013-01-251-72/+108
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | client/mysqltest.cc: make --error to work for --change_user errors
| * | | | | 5.2 mergeSergei Golubchik2013-01-251-72/+108
| |\ \ \ \ \ | | |/ / / /
| | * | | | MDEV-3915 COM_CHANGE_USER allows fast password brute-forcingSergei Golubchik2013-01-251-72/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | allow only three failed change_user per connection. successful change_user do NOT reset the counter tests/mysql_client_test.c: make --error to work for --change_user errors
| * | | | | 5.2 merge.Sergei Golubchik2012-08-223-1363/+1388
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | two tests still fail: main.innodb_icp and main.range_vs_index_merge_innodb call records_in_range() with both range ends being open (which triggers an assert)
| | * | | | 5.1 mergeSergei Golubchik2012-08-223-1363/+1388
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | increase xtradb verson from 13.0 to 13.01
| | | * | | merge with MySQL 5.1.65Sergei Golubchik2012-08-223-1361/+1386
| | | |\ \ \ | | | | | |/ | | | | |/|
* | | | | | typoSergei Golubchik2012-12-061-1/+1
| | | | | |
* | | | | | Fix yet another regression after MDEV-3885.Vladislav Vaintroub2012-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If connection kills itself (or own query), it will get an error consistently, with both COM_PROCESSKILL and with "KILL [QUERY] id"
* | | | | | MDEV-3885 - connection suicide via mysql_kill() causes assertion in serverVladislav Vaintroub2012-11-271-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assertion happened because sql_kill did not set OK status in diagnostic area in the case of connection suicide (id to kill == thd->thread_id), issued via COM_PROCESS_KILL , e.g using mysql_kill() This patch ensures that diagnostic area is initialized in this specific case.
* | | | | | mysql-5.5.28Sergei Golubchik2012-10-162-32/+42
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Merge from 5.1 to 5.5Praveenkumar Hulakund2012-07-262-7/+16
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| | * | | | mysql_client_fw.c was not included in make distBjorn Munch2012-07-101-0/+1
| | | | | |
* | | | | | Fix for bug lp:1039277 "Crash in sql_cache.cc".Michael Widenius2012-08-211-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The crash happend when combining query cache, prepared statements and using a read only cursor. sql/sql_cache.cc: Fixed unlikely error when one adjust query cache size in middle of operation sql/sql_cursor.cc: Disable query cache when using cursors. This fixed lp:1039277 tests/mysql_client_test.c: Test case for lp:1039277
* | | | | | merge with MySQL 5.5.27Sergei Golubchik2012-08-092-1423/+1446
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | manually checked every change, reverted incorrect or stupid changes.
| * | | | | Fixed compile error in mysql_client_test using gccBjorn Munch2012-07-091-1/+1
| |\ \ \ \ \ | | |/ / / /
| | * | | | Fixed compile error in mysql_client_test using gccBjorn Munch2012-07-091-1/+1
| | | | | |
| * | | | | Refactor mysql_client_test.c into a framework part and a test partBjorn Munch2012-07-092-1396/+1423
| |\ \ \ \ \ | | |/ / / /
| | * | | | Refactor mysql_client_test.c into a framework part and a test partBjorn Munch2012-07-093-1353/+1381
| | | | | |
* | | | | | Merge MWL#192: Non-blocking client library, into MariaDB 5.5.unknown2012-02-215-0/+1049
|\ \ \ \ \ \
| * | | | | | MWL#192: non-blocking client API, after-review fixes.unknown2012-01-063-26/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Main change is that non-blocking operation is now an option that must be explicitly enabled with mysql_option(mysql, MYSQL_OPT_NONBLOCK, ...) before any non-blocing operation can be used. Also the CLIENT_REMEMBER_OPTIONS flag is now always enabled and thus effectively ignored (it was not really useful anyway, and this simplifies things when non-blocking mysql_real_connect() fails).
| * | | | | | MWL#192: Non-blocking client API for libmysqlclient.unknown2011-09-205-0/+1046
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All client functions that can block on I/O have alternate _start() and _cont() versions that do not block but return control back to the application, which can then issue I/O wait in its own fashion and later call back into the library to continue the operation. Works behind the scenes by spawning a co-routine/fiber to run the blocking operation and suspend it while waiting for I/O. This co-routine/fiber use is invisible to applications. For i368/x86_64 on GCC, uses very fast assembler co-routine support. On Windows uses native Win32 Fibers. Falls back to POSIX ucontext on other platforms. Assembler routines for more platforms are relatively easy to add by extending mysys/my_context.c, eg. similar to the Lua lcoco library. For testing, mysqltest and mysql_client_test are extended with the option --non-blocking-api. This causes the programs to use the non-blocking API for database access. mysql-test-run.pl has a similar option --non-blocking-api that uses this, as well as additional testcases. An example program tests/async_queries.c is included that uses the new non-blocking API with libevent to show how, in a single-threaded program, to issue many queries in parallel against a database. client/async_example.c: Fix const warning ****** Fix bug with wrong timeout value for poll(). include/Makefile.am: Fix missing include for `make dist` include/mysql.h: Add prototypes for all non-blocking API calls. include/mysql.h.pp: Add prototypes for all non-blocking API calls. mysys/my_context.c: Fix type warning for makecontext() function pointer argument. sql-common/mysql_async.c: Fix crashes in the non-blocking API for functions that can take MYSQL argument that is NULL. tests/Makefile.am: Add header file to `make dist` tests/mysql_client_test.c: Replace blocking calls with wrappers around the non-blocking calls, used in mysql_client_test to test the new non-blocking API. tests/nonblock-wrappers.h: Replace blocking calls with wrappers around the non-blocking calls, used in mysql_client_test to test the new non-blocking API.
* | | | | | | mysql-5.5 mergeSergei Golubchik2012-01-161-3/+1
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Auto-merge from mysql-5.1-security.Alexander Nozdrin2011-10-201-3/+3
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | |
| * | | | | | merge mysql-5.5->mysql-5.5-securityGeorgi Kodinov2011-10-121-3/+7
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Manual merge from mysql-5.1-security.Alexander Nozdrin2011-09-231-0/+81
| |\ \ \ \ \ \ \
* | \ \ \ \ \ \ \ 5.3 mergeSergei Golubchik2012-01-131-2/+85
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / | |/| | | | | | |
| * | | | | | | | Merge with 5.2.Michael Widenius2011-12-114-6/+110
| |\ \ \ \ \ \ \ \ | | | |_|_|_|_|/ / | | |/| | | | | | | | | | | | | | | no_error handling for select (used by INSERT ... SELECT) still needs to be fixed, but I will do that in a separate commit
| | * | | | | | | Merge with MariaDB 5.1Michael Widenius2011-11-244-6/+107
| | |\ \ \ \ \ \ \ | | | |_|_|_|_|/ / | | |/| | | | | / | | | | |_|_|_|/ | | | |/| | | |
| | | * | | | | Merge with MySQL 5.1.60Michael Widenius2011-11-231-0/+80
| | | |\ \ \ \ \ | | | | | |_|_|/ | | | | |/| | |
| | | | * | | | Fix Windows-build failure: use my_snprintf() instead of snprintf().Alexander Nozdrin2011-10-201-3/+3
| | | | | |/ / | | | | |/| |