summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* A fix and a test case for Bug#11172 "mysql_stmt_attr_setkonstantin@mysql.com2005-07-011-0/+69
| | | | | | CURSOR_TYPE_READ_ONLY date/datetime filter server crash". The fix adds support for Item_change_list in cursors (proper rollback of the modified item tree).
* A fix and a test case for Bug#10794 "mysql_stmt_attr_set no konstantin@mysql.com2005-06-301-0/+88
| | | | | | | | | | open cursor after mysql_stmt_execute" + post-review fixes. The bug was caused by wrong flags in stmt->server_status on the client side: if there was no cursor, the server didn't send server_status flags to the client, and the old flags were used to set up the fetch function of a statement. Consequently, stmt_read_row_from_cursor was used when there was no cursor. The fix fixes the server to always send server flags to the client.
* A fix and a test case for Bug#10736 "mysql_stmt_attr_set konstantin@mysql.com2005-06-281-0/+59
| | | | | | | | | | | | CURSOR_TYPE_READ_ONLY select within select". The bug was caused by the reset of thd->mem_root to thd->main_mem_root in Item_subselect::exec, which in turn triggered too early free_root() for data which was needed on subsequent fetches from a cursor. This reset also caused a memory leak in stored procedures, as subsequent executions of instructions containing a subselect were allocating memory in thd->main_mem_root, which is not freed until the end of the entire SP, instead of the per-call mem_root, which is freed in the end of execution of the instruction.
* Fix a formatting bug and add a test for it.konstantin@mysql.com2005-06-201-1/+14
|
* Rewrite the test for Bug#9992.konstantin@mysql.com2005-06-191-21/+55
|
* Fix the test for Bug#11111: coding style, a compiler warning, don'tkonstantin@mysql.com2005-06-191-12/+16
| | | | use tabs.
* Rename all prepared statements COM_ commands to prefix with COM_STMT_konstantin@mysql.com2005-06-171-1/+1
|
* fix of BUG#11111 fixbell@sanja.is.com.ua2005-06-151-9/+23
|
* Fix 11 "fetch from view returns wrong data"evgen@moonbone.local2005-06-151-0/+43
| | | | | | | | | Wrong method for creating temporary field was choosen, which results in sending int field with int header but lonlong data. Test case is added to mysql_client_test.c because client library is required to test the bug.
* WL#2286 - Compile MySQL w/YASSL supportsvoj@mysql.com2005-06-121-1/+8
| | | | Fix for link failures on boxes with non-gnu compiler.
* A fix and test case for Bug#10729 "mysql_stmt_attr_set konstantin@mysql.com2005-06-091-0/+62
| | | | | | CURSOR_TYPE_READ_ONLY". The bug was that we (me) don't perform proper cleanups of the prepared statement when done fetching from a cursor. Another patch.
* more than 64 indexes per table. bugfixes. bug#10995serg@serg.mylan2005-06-011-6/+10
|
* Fix for bug #9992: mysql_next_result hangs on errorgluh@eagle.intranet.mysql.r18.ru2005-05-271-3/+23
| | | | | set net->no_send_error to 0 before execution of each element of multiquery statement to provide the sending of error to client
* Change update_auto_increment to return 1 if get_auto_increment() returned ↵monty@mysql.com2005-05-181-1/+2
| | | | | | ~(ulonglong) This makes it easier to give an error in the handler if there was a problem generating an auto-increment value
* Merge bk-internal.mysql.com:/home/bk/mysql-5.0konstantin@mysql.com2005-05-161-0/+63
|\ | | | | | | into mysql.com:/opt/local/work/mysql-5.0-9643
| * A fix and a test case for Bug#9643 " CURSOR_TYPE_SCROLLABLE dos not work"konstantin@mysql.com2005-05-161-0/+63
| | | | | | | | | | | | | | - check on the client the unsupported feature and return an error message if it's been requested. Additionally added API support for STMT_ATTR_PREFETCH_ROWS. Post-review fixes.
* | Fixed failing tests for not 32 bit intel machinesmonty@mysql.com2005-05-161-3/+6
|/ | | | Fixed bug in mysql_stmt_fetch() when retrieving rows to return
* A fix and test case for Bug#9478 "mysql_stmt_attr_set mysql_stmt_execute"konstantin@mysql.com2005-05-121-22/+175
| | | | | (crash on attempt to re-execute a statement with an open cursor) + post-review fixes.
* Clean up merge from 4.1jimw@mysql.com2005-05-021-2/+51
|\
| * Merge bk-internal:/home/bk/mysql-4.1jimw@mysql.com2005-05-021-2/+51
| |\ | | | | | | | | | into mysql.com:/home/jimw/my/mysql-4.1-clean
| | * Fix 'mysql_client_test' with embedded server. (Bug #9634)jimw@mysql.com2005-04-271-2/+51
| | |
* | | Merge with 4.1monty@mysql.com2005-04-301-0/+212
|\ \ \ | |/ /
| * | Fixed core dump bug when hot link list in key cache was empty. Bug #10167monty@mysql.com2005-04-271-0/+212
| |/
* | Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mysql.com2005-04-301-0/+54
|\ \ | | | | | | | | | into mysql.com:/home/my/mysql-5.0
| * | A fix and a test case for Bug#9520 "SELECT DISTINCT crashes serverkonstantin@mysql.com2005-04-301-0/+54
| | | | | | | | | | | | | | | | | | | | | with cursor". The patch refactors do_select/sub_select functions, which implement the nested loop algorithm, and reuses them to fetch rows for cursors as well. Pushing with view.test failing (--ps-protocol).
* | | Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mysql.com2005-04-271-3/+4
|\ \ \ | |/ / |/| | | | | into mysql.com:/home/my/mysql-5.0
| * | mysqladmin extended-status now displays global statusmonty@mysql.com2005-04-271-3/+4
| | | | | | | | | | | | Fixed problem with NULL in VARCHAR/BLOB keys for multi-part keys where VARCHAR/BLOB is first part
* | | Fix for verification tests: loss of decimal places should notgeorg@lmy002.wdf.sap.corp2005-04-121-3/+2
| | | | | | | | | | | | return an error
* | | New versions of mail_to_db.pl and pmail.pl.jani@a193-229-222-105.elisa-laajakaista.fi2005-04-092-92/+245
|/ / | | | | | | | | Added email threading capabilities to both programs.
* | Don't use -lsupc++ with gcc 3.3 and below as this gives linking problems ↵monty@mysql.com2005-04-041-1/+6
| | | | | | | | | | | | | | when linking staticly Fix that mysql.proc works with new VARCHAR fields Give warnings for wrong zero dates
* | Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1bar@eagle.intranet.mysql.r18.ru2005-03-251-0/+2
|\ \ | |/ | | | | into eagle.intranet.mysql.r18.ru:/home/bar/mysql-5.0
| * mysql_client_test.c:bar@mysql.com2005-03-251-0/+2
| | | | | | | | Don't run GBK test if not GBK support was compiled.
* | Manual mergekonstantin@mysql.com2005-03-241-0/+68
|\ \
| * | Fixes and test cases for Bug#8880 "Commands out of sync error with cursors"konstantin@mysql.com2005-03-241-0/+69
| | | | | | | | | | | | | | | and Bug#9159 "Server crash during mysql_stmt_close". The patch adds support for single-row result sets in cursors.
* | | Add the test case for Bug#8722 "prepared statement with view crashes konstantin@mysql.com2005-03-241-0/+43
|/ / | | | | | | server" to the test suite, the bug is no longer repeatable.
* | Cleanup, remove some -ansi -pedancit warnings (mysql_client_test.c)konstantin@mysql.com2005-03-191-47/+123
| |
* | Merge mysql.com:/home/jimw/my/mysql-5.0-buildjimw@mysql.com2005-03-171-1/+1
|\ \ | | | | | | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean
| * \ Merge mysql.com:/home/jimw/my/mysql-5.0-8047jimw@mysql.com2005-03-171-1/+1
| |\ \ | | | | | | | | | | | | into mysql.com:/home/jimw/my/mysql-5.0-build
| | * | Fix 64-bit issue with mysql_client_test. (Bug #8047)jimw@mysql.com2005-03-161-1/+1
| | | |
* | | | Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0brian@zim.(none)2005-03-171-2/+2
|\ \ \ \ | |/ / / | | | | | | | | into zim.(none):/home/brian/mysql/mysql-5.0
| * | | Fixed two bugs in MySQL ACL.jani@a193-229-222-105.elisa-laajakaista.fi2005-03-171-2/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First one is related to Bug#7905. One should not be allowed to create new user with password without UPDATE privilege to MySQL database. Furthermore, executing the same GRANT statement twice would actually crash the server and corrupt privilege database. Other bug was that one could update a column, using the existing value as basis to calculate the new value (e.g. UPDATE t1 SET a=a+1) without SELECT privilege to the field (a in the above example) Fixed tests grant.pl and grant2, which were wrong.
* | | Removed support for RAID, mit-threads, and MySQL FS (really, if someone ↵brian@zim.(none)2005-03-161-1/+1
|/ / | | | | | | wants this feature look at a web-dav hookup).
* | Merge with global treemonty@mysql.com2005-02-251-6/+2
|\ \
| * | Remove compiler warnings and remove not used variablesmonty@mysql.com2005-02-251-6/+2
| | | | | | | | | | | | (Found during build process)
* | | Mergebell@51.0.168.192.in-addr.arpa2005-02-201-0/+49
|\ \ \ | |/ /
| * | Mergejimw@mysql.com2005-02-171-0/+49
| |\ \ | | |/
| | * Mergejimw@mysql.com2005-02-171-0/+49
| | |\
| | | * Only escape the first character in a sequence of bytes that appears to bejimw@mysql.com2005-02-151-10/+10
| | | | | | | | | | | | | | | | | | | | a multibyte character, but was not a valid multibyte character. Refinement of fix for Bug #8378.
| | | * When escaping a string in a multi-byte character set, escape all bytes ofjimw@mysql.com2005-02-091-0/+49
| | | | | | | | | | | | | | | | | | | | a character that appears to be a multi-byte character based on its first byte, but is not actually a valid multi-byte character. (Bug #8378)
* | | | fixed SP processing for mysql_list_fields() command (BUG#6814)bell@sanja.is.com.ua2005-02-131-0/+37
|/ / /