summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* A fix and a test case for Bug#6513 "Test Suite: Values inserted by using konstantin@mysql.com2005-09-221-2/+5
| | | | | | | | | | cursor is interpreted latin1 character and Bug#9819 "Cursors: Mysql Server Crash while fetching from table with 5 million records." A fix for a possible memory leak when fetching into an SP cursor in a long loop. The patch uses a common implementation of cursors in the binary protocol and in stored procedures and implements materialized cursors. For implementation details, see comments in sql_cursor.cc
* Merge mysql.com:/home/jimw/my/mysql-4.1-cleanjimw@mysql.com2005-08-311-2/+2
|\ | | | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean
| * Fix incorrect spellings of "dropped" in source and tests. (Bug #12828)jimw@mysql.com2005-08-301-2/+2
| |
* | Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.0andrey@lmy004.2005-08-271-0/+76
|\ \ | | | | | | | | | into lmy004.:/work/mysql-5.0-bug11904
| * | fix for bug #11904 (select statement, cursor, grouping wrong results)andrey@lmy004.2005-08-261-0/+76
| | |
* | | Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mishka.local2005-08-251-0/+35
|\ \ \ | |/ / |/| | | | | into mishka.local:/home/my/mysql-5.0
| * | Merge mishka.local:/home/my/mysql-4.1monty@mishka.local2005-08-251-0/+35
| |\ \ | | |/ | | | | | | into mishka.local:/home/my/mysql-5.0
| | * Fix bug #11718 query with function, join and order by returns wrong type.evgen@moonbone.local2005-08-171-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | create_tmp_field_from_item() was creating tmp field without regard to original field type of Item. This results in wrong type being reported to client. To create_tmp_field_from_item() added special handling for Items with DATE/TIME field types to preserve their type.
* | | Merge mysql.com:/home/jimw/my/mysql-5.0-11680jimw@mysql.com2005-08-241-2/+1
|\ \ \ | |/ / |/| | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean
| * | Fix build using --without-server. (Bug #11680)jimw@mysql.com2005-08-231-2/+1
| | |
* | | WL#2486 - natural and using join according to SQL:2003timour@mysql.com2005-08-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Provide backwards compatibility extension to name resolution of coalesced columns. The patch allows such columns to be qualified with a table (and db) name, as it is in 4.1. Based on a patch from Monty. * Adjusted tests accordingly to test both backwards compatible name resolution of qualified columns, and ANSI-style resolution of non-qualified columns. For this, each affected test has two versions - one with qualified columns, and one without.
* | | Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mysql.com2005-08-151-2/+2
|\ \ \ | | | | | | | | | | | | into mysql.com:/home/my/mysql-5.0
| * \ \ Merge mysql.com:/home/timka/mysql/src/5.0-virgintimour@mysql.com2005-08-121-2/+2
| |\ \ \ | | | | | | | | | | | | | | | into mysql.com:/home/timka/mysql/src/5.0-2486-merge
| | * | | Implementation of WL#2486 -timour@mysql.com2005-08-121-2/+2
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Process NATURAL and USING joins according to SQL:2003". * Some of the main problems fixed by the patch: - in "select *" queries the * expanded correctly according to ANSI for arbitrary natural/using joins - natural/using joins are correctly transformed into JOIN ... ON for any number/nesting of the joins. - column references are correctly resolved against natural joins of any nesting and combined with arbitrary other joins. * This patch also contains a fix for name resolution of items inside the ON condition of JOIN ... ON - in this case items must be resolved only against the JOIN operands. To support such 'local' name resolution, the patch introduces a stack of name resolution contexts used at parse time. NOTICE: - This patch is not complete in the sense that - there are 2 test cases that still do not pass - one in join.test, one in select.test. Both are marked with a comment "TODO: WL#2486". - it does not include a new test specific for the task
* | | | Save and clear run context before executing a stored function or trigger and ↵monty@mysql.com2005-08-151-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | restore it afterwards. This allows us to use statement replication with functions and triggers The following things are fixed with this patch: - NOW() and automatic timestamps takes the value from the main event for functions and triggers (which allows these to replicate with statement level logging) - No side effects for triggers or functions with auto-increment values(), last_insert_id(), rand() or found_rows() - Triggers can't return result sets Fixes bugs: #12480: NOW() is not constant in a trigger #12481: Using NOW() in a stored function breaks statement based replication #12482: Triggers has side effects with auto_increment values #11587: trigger causes lost connection error
* | | Merge xiphis.org:/usr/home/antony/work2/mysql-4.1acurtis@xiphis.org2005-08-111-1/+1
|\ \ \ | | |/ | |/| | | | into xiphis.org:/usr/home/antony/work2/merge-5.0
| * | Fixed compiler warningsmonty@mysql.com2005-07-281-2/+3
| | |
* | | A fix and a test case for Bug#12243 "MySQL Server crashes with 2 konstantin@mysql.com2005-08-101-0/+61
| | | | | | | | | | | | | | | cursors (+ commit)" and Bug#11832 "Server crash with InnoDB + Cursors" See comments to the changed files.
* | | Fix coding style.konstantin@mysql.com2005-08-101-10/+16
| | |
* | | A fix for Bug#11901 "mysql_stmt_attr_set CURSOR_TYPE_READ_ONLY join inkonstantin@mysql.com2005-08-101-0/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subqry order by server crash": failing DBUG_ASSERT(curr_join == this) when opening a cursor. Ensure that for top-level join curr_join == join (always), and thus fix the failing assert. curr_join is a hack to ensure that uncacheable subqueries can be re-evaluated safely, and should be never different from main join in case of top-level join.
* | | A fix and a test case for Bug#11909 "mysql_stmt_attr_set konstantin@mysql.com2005-08-081-0/+120
| |/ |/| | | | | CURSOR_TYPE_READ_ONLY nested queries corrupt result"
* | Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1pappa@c-450ae253.1238-1-64736c10.cust.bredbandsbolaget.se2005-07-211-0/+45
|\ \ | |/ | | | | into c-450ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.0
| * Merge grichter@bk-internal.mysql.com:/home/bk/mysql-4.1georg@lmy002.wdf.sap.corp2005-07-201-0/+44
| |\ | | | | | | | | | into lmy002.wdf.sap.corp:/home/georg/work/mysql/prod/mysql-4.1
| | * cs fixes from last commit georg@lmy002.wdf.sap.corp2005-07-201-10/+10
| | |
| | * fix for bug#12001georg@lmy002.wdf.sap.corp2005-07-191-0/+44
| | |
* | | Implement MySQL framework to support consistent read views inkonstantin@mysql.com2005-07-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | cursors. This should fix Bug#11813 when InnoDB part is in (tested with a draft patch). The idea of the patch is that if a storage engine supports consistent read views, we open one when open a cursor, set is as the active view when fetch from the cursor, and close together with cursor close.
* | | Merge bk-internal:/home/bk/mysql-5.0jimw@mysql.com2005-07-191-11/+19
|\ \ \ | | | | | | | | | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean
| * | | Cleanups after merge from 4.1.jimw@mysql.com2005-07-191-14/+22
| | | |
| * | | Merge mysql.com:/home/jimw/my/mysql-4.1-cleanjimw@mysql.com2005-07-191-3/+3
| |\ \ \ | | |/ / | | | | | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean
| | * | Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1reggie@linux.site2005-07-181-3/+3
| | |\ \ | | | |/ | | |/| | | | | into linux.site:/home/reggie/bk/bug7142
| | | * Bug #7142 Show Fields from fails using Borland's dbExpress interfacereggie@linux.site2005-07-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem here is that columns that have an especially long type such as an enum type with many options would be longer than 40 chars but the type column returned from show columns always was defined as varchar(40). This is fixed in 5.0 using info schema.
| | * | Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1tomas@poseidon.ndb.mysql.com2005-07-151-4/+14
| | |\ \ | | | | | | | | | | | | | | | into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-new
| | | * | fix for #11808 backported.ramil@mysql.com2005-07-141-4/+14
| | | |/
* | | | A fix and a test case for Bug#10760 and complementary cleanups. konstantin@mysql.com2005-07-191-0/+129
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The idea of the patch is that every cursor gets its own lock id for table level locking. Thus cursors are protected from updates performed within the same connection. Additionally a list of transient (must be closed at commit) cursors is maintained and all transient cursors are closed when necessary. Lastly, this patch adds support for deadlock timeouts to TLL locking when using cursors. + post-review fixes.
* | | Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mishka.local2005-07-181-71/+71
|\ \ \ | | | | | | | | | | | | into mishka.local:/home/my/mysql-5.0
| * | | Cleanups during reviewmonty@mishka.local2005-07-181-71/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed defaults option --instance to --defaults-group-suffix Changed option handling to allow --defaults-file, --defaults-extra-file and --defaults-group-suffix to be given in any order Changed MYSQL_INSTANCE to MYSQL_GROUP_SUFFIX mysql_print_defaults now understands --defaults-group-suffix Remove usage of my_tempnam() (not safe function) if( -> if ( and while( to while (
* | | | cs fixesgeorg@lmy002.wdf.sap.corp2005-07-161-6/+6
| | | |
* | | | minor fix for restoring the previous characterset in georg@lmy002.wdf.sap.corp2005-07-151-3/+3
| | | | | | | | | | | | | | | | test_client_character_set
* | | | Fix for bug #11037.georg@lmy002.wdf.sap.corp2005-07-151-1/+47
| | | | | | | | | | | | | | | | | | | | When all rows are fetched subsequent calls to mysql_stmt_fetch return now MYSQL_NO_DATA instead of errorcode 1.
* | | | Merge mysql.com:/opt/local/work/mysql-4.1-rootkonstantin@mysql.com2005-07-141-0/+46
|\ \ \ \ | | |/ / | |/| | | | | | into mysql.com:/opt/local/work/mysql-5.0-root
| * | | A fix and a test case for Bug#11183 "mysql_stmt_reset() doesn't resetkonstantin@mysql.com2005-07-141-0/+45
| | | | | | | | | | | | | | | | information about error".
* | | | Merge mysql.com:/opt/local/work/mysql-4.1-rootkonstantin@mysql.com2005-07-141-1/+27
|\ \ \ \ | |/ / / | | | | | | | | into mysql.com:/opt/local/work/mysql-5.0-root
| * | | A fix and a test case for Bug#9735.konstantin@mysql.com2005-07-141-1/+30
| | |/ | |/| | | | | | | | | | | | | | | | No separate typecode for MEDIUMTEXT/LONGTEXT is added, as we have no sound decision yet what typecodes and for what types are sent by the server (aka what constitutes a distinct type in MySQL).
* | | Implement MarkM optimization request to avoid redundnat packet exchangekonstantin@mysql.com2005-07-141-22/+1
| | | | | | | | | | | | in cursors.
* | | Post-merge fixes.konstantin@mysql.com2005-07-141-4/+6
| | |
* | | a fix (bug #11808: Test case 'mysql_client_test' fails in assert ↵ramil@mysql.com2005-07-131-4/+14
| | | | | | | | | | | | 'double_data == o_double_data')
* | | changes after Bar's review: renamed CHARACTER_SET to MY_CHARSET_INFOgeorg@lmy002.wdf.sap.corp2005-07-121-1/+1
| | |
* | | New attempt after Bar's reviewgeorg@lmy002.wdf.sap.corp2005-07-121-0/+18
| | | | | | | | | | | | | | | Added api function mysql_get_character_set_info which provides information about the current client character set.
* | | Mergekent@mysql.com2005-07-061-1/+2
|\ \ \ | |/ /
| * | Makefile.am:kent@mysql.com2005-07-051-1/+2
| | | | | | | | | | | | | | | Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir