summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix for a bug #6996Sinisa@sinisa.nasamreza.org2004-12-071-0/+62
|
* Fixes to make mysql-test-run --embedded-server workinghf@deer.(none)2004-12-021-0/+2
|
* Fixes (bug #6932: 'revoke all privileges...' doesn't remove all proper ↵ram@gw.mysql.r18.ru2004-12-021-2/+2
| | | | | | columns from columns_priv bug #6933: error in the tests/grant.pl test).
* Manual merge of fix for bug #6266 "Invalid DATETIME value is not handleddlenev@mysql.com2004-11-191-0/+135
|\ | | | | | | properly" with main tree.
| * Fix for bug #6266 "Invalid DATETIME value is not handled properly".dlenev@brandersnatch.localdomain2004-11-151-0/+135
| | | | | | | | | | | | | | In server we assume that datetime values stored in MYSQL_TIME struct are normalized (and year is not greater than 9999), so we should perform range checks in all places then we convert something to MYSQL_TIME.
* | Some comments regarding Bug#6275 ""client_test" fail in 4.1.7 make test"konstantin@mysql.com2004-11-181-3/+19
| |
* | Code cleanup and some optimizations.jani@ua141d10.elisa.omakaista.fi2004-11-121-13/+11
| |
* | Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1jani@ua141d10.elisa.omakaista.fi2004-11-121-188/+217
|\ \ | | | | | | | | | into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1
| * | Added possibility to run only certain tests by giving the test name(s)jani@ua141d10.elisa.omakaista.fi2004-11-121-188/+217
| | | | | | | | | | | | | | | | | | as argument(s) after options. Added option -T to display all current test names.
* | | Write fatal errors even if silent is used in client_testmonty@mysql.com2004-11-111-0/+2
|/ /
* | Merge bk-internal.mysql.com:/home/bk/mysql-4.1monty@mysql.com2004-11-081-38/+48
|\ \ | | | | | | | | | into mysql.com:/home/my/mysql-4.1
| * | Simpler arena swapping codemonty@mysql.com2004-11-081-38/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | Now thd->mem_root is a pointer to thd->main_mem_root and THR_MALLOC is a pointer to thd->mem_root. This gives us the following benefits: - Allow us to easily detect if arena has already been swapped before (this fixes a bug in setup_conds() where arena was swaped twice in some cases) - Faster swaps of arenas (as we don't have to copy the whole MEM_ROOT) - We don't anymore have to call my_pthread_setspecific_ptr(THR_MALLOC,...) to change where memory is alloced. Now it's enough to set thd->mem_root
* | | A fix and test case for the bug reported by Reggie: if character setkonstantin@mysql.com2004-11-051-0/+71
|/ / | | | | | | | | | | of client equals to character set of connection, possibly required conversion to character set of column is not performed (prepared statements, data is supplied using placeholders).
* | A test case for Bug#4172 "Floating point conversion looses precision konstantin@mysql.com2004-11-051-0/+67
|/ | | | | | (prepared staements)": adding the test case to close the bug (the bug was fixed along with other conversion incompatibilities in 4.1.7)
* bad automerge (?) fixedserg@serg.mylan2004-11-021-1/+0
|
* Remove usage of !$ from mysql-testsmonty@mysql.com2004-11-021-417/+690
| | | | | | Added protocol::flush() for easier embedded-server code Increase block allocation variables a bit as they where a bit too small for MySQL 4.1 Added option --silent to client_test
* A fix and test case for Bug#6096 "field.max_length is always zero for konstantin@mysql.com2004-10-271-0/+101
| | | | numeric columns (stmt_resultset_metadata)"
* Playing with test_bug5399() to make it work on HPUX 64 bit: no konstantin@mysql.com2004-10-261-18/+19
| | | | | reason for the failure was found, so the guess is that it is a compiler bug.
* Manual merge of fix for bug #6081 "Call to deprecated mysql_create_db() ↵dlenev@mysql.com2004-10-221-0/+26
|\ | | | | | | | | | | function crashes server" with main tree.
| * Fix for bug #6081 "Call to deprecated mysql_create_db() function crashesdlenev@brandersnatch.localdomain2004-10-171-0/+28
| | | | | | | | | | | | | | | | server". Altough mysql_create_db()/mysql_drop_db() API calls are deprecated since 4.0, they should not crash server and should not stall connection in case of errors.
* | A test case for Bug#6046: no fix is needed (the bug is alreadykonstantin@mysql.com2004-10-221-0/+48
| | | | | | | | fixed in the main tree).
* | Manual merge.konstantin@mysql.com2004-10-211-0/+18
|\ \
| * | A fix and test case for bug#6059 "mysql_stmt_field_count returns konstantin@mysql.com2004-10-211-0/+17
| |/ | | | | | | | | | | | | positive numbers when no resultset is available": when sending result set metadata we need to use virtual select_result::send_fields, and not address protocol directly, because select_result descendents may intercept result set (it's the case for example for SELECT INTO OUTFILE).
* | Merge bk-internal.mysql.com:/home/bk/mysql-4.1konstantin@mysql.com2004-10-201-3/+98
|\ \ | | | | | | | | | into mysql.com:/home/kostja/work/mysql-4.1-6049
| * | A fix and test case for bug#6058 "Prepared statements return '0000-00-00' konstantin@mysql.com2004-10-201-4/+52
| | | | | | | | | | | | | | | (date) as empty string": preserve time type (date, time, or datetime) for zero dates, times, and datetimes.
| * | A fix and test case for Bug#6049 "Loss of sign when using prepared konstantin@mysql.com2004-10-161-0/+47
| |/ | | | | | | | | | | | | statements and negative time/date values". The bug was in wrong sprintf format used in the client library. The fix moves TIME -> string conversion functions to sql-common and utilized them in the client library.
* | Review of all code pushed since last reviewmonty@mishka.local2004-10-201-11/+3
|/ | | | | | | Simple optimzations and cleanups Removed compiler warnings and fixed portability issues Added client functions 'mysql_embedded()' to allow client to check if we are using embedded server Fixes for purify
* tests/client_test.c:konstantin@mysql.com2004-10-131-482/+596
| | | | | Make checks (asserts) performed in client_test.c work in non-debug builds.
* Makefile.am, client_test.test, mysql-test-run.sh:kent@mysql.com2004-10-081-1/+2
| | | | To make client_test work as mysql-test-run test case, needs to install it
* A fix for Bug#5748 "Prepared statement with BETWEEN and bigint values konstantin@mysql.com2004-10-081-1/+1
| | | | | | | | | | | crashes mysqld": implementation for a generic item tree modifications registry. Every item tree modification which should be rolled back for subsequent execution of a prepared statement or stored procedure should be saved in the registry. All such modifications are rolled back at once during cleanup stage of PS. Actual fix for the bug just adds a call to register modifications to convert_constant_item. Post review fixes implemented.
* client_test.test:kent@mysql.com2004-09-281-8/+6
| | | | | | | | | | | | Run client_test as a testcase new file mysql-test-run.sh: More clearly report failure if --force, also exit 1 client_test.c: Use MAXPATHLEN in test_frm_bug() Renable test cases disabled for running from mysql-test-run mysqltest.c: Don't check errno from popen, may not be set
* Mergekent@mysql.com2004-09-251-30/+44
|\
| * client_test.c:kent@mysql.com2004-09-251-30/+44
| | | | | | | | | | | | | | | | | | Return exit(1) instead of exit(0) on failure. Allow longer path names using MAXPATHLEN. Added option --testcase that skips some failing tests. Replaced 'return' with exit(1) in test_frm_bug(). mysqltest.c: Let --exec fail if command fails
* | fix client_test to be a bit faster under valgrind.konstantin@mysql.com2004-09-231-1/+1
| |
* | A fix and test case for Bug#5315 "mysql_change_user() doesn't freekonstantin@mysql.com2004-09-221-0/+30
|/ | | | prepared statements."
* Fix the test case for bug#4231 (which before was passing just by occasion)konstantin@mysql.com2004-09-151-3/+3
|
* Syntax correction for bug#5560.joerg@mysql.com2004-09-141-2/+2
|
* client_test.c:paul@kite-hub.kitebird.com2004-09-081-19/+19
| | | | fix typos noticed while poking around in test program.
* A fix and test case for Bug#5194 "Bulk Insert Failures with Prepared konstantin@mysql.com2004-09-081-0/+183
| | | | | | | | Statements": - fix a couple of net->buff overruns in libmysql, - check in the server that statement parameter count is less than 65535 (maximum value supported by prepared statements protocol).
* A fix and test case for bug#5399 "Wrong statement executed by MySQLkonstantin@mysql.com2004-09-081-0/+48
| | | | server" (use my_charset_bin for stmt id hash).
* Merge bk-internal.mysql.com:/home/bk/mysql-4.1monty@mysql.com2004-09-031-1/+1
|\ | | | | | | into mysql.com:/home/my/mysql-4.1
| * Merge bk-internal.mysql.com:/home/bk/mysql-4.1monty@mysql.com2004-09-021-1/+1
| |\ | | | | | | | | | into mysql.com:/home/my/mysql-4.1
| | * After merge fixesmonty@mysql.com2004-09-021-1/+1
| | |
* | | A fix and test case for Bug#4231 "Wrong result with MYSQL_TIMEkonstantin@mysql.com2004-09-021-0/+74
|/ / | | | | | | | | parameters": when unpacking binary time recieved from client, handle the case when length is 0: it means all MYSQL_TIME members are zero.
* | Make client_test pass on 64-bit HP-UX11: long is 64 bit,konstantin@mysql.com2004-09-011-33/+33
|/ | | | replace all (mis)uses of it with int32.
* A short fix and test case for Bug#5126 konstantin@mysql.com2004-08-261-0/+48
| | | | "Mediumint and PS problem": just treat mediumint as long.
* after mergeserg@serg.mylan2004-08-261-1/+1
|
* Cleanup in libmysql.konstantin@mysql.com2004-08-051-0/+6
|
* Type of MYSQL_BIND::buffer changed to void *konstantin@mysql.com2004-06-251-168/+168
|
* - fixed test_frm_bug test to work with increased number of columns inkonstantin@mysql.com2004-06-241-2/+2
| | | | result of SHOW TABLE STATUS