An error occurred fetching the project authors.
- 13 Oct, 2005 1 commit
-
-
konstantin@mysql.com authored
The bug was in JOIN::join_free which was wrongly determining that all joins have been already executed and therefore all used tables can be closed.
-
- 21 Sep, 2005 1 commit
-
-
konstantin@mysql.com authored
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
-
- 08 Sep, 2005 1 commit
-
-
konstantin@mysql.com authored
-
- 12 Aug, 2005 1 commit
-
-
monty@mysql.com authored
Removed duplicate usage of TMP_TABLE_FORCE_MYISAM by making 'options' longlong
-
- 10 Aug, 2005 1 commit
-
-
konstantin@mysql.com authored
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.
-
- 08 Aug, 2005 1 commit
-
-
konstantin@mysql.com authored
CURSOR_TYPE_READ_ONLY nested queries corrupt result"
-
- 20 Jul, 2005 1 commit
-
-
konstantin@mysql.com authored
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.
-
- 19 Jul, 2005 1 commit
-
-
konstantin@mysql.com authored
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.
-
- 14 Jul, 2005 1 commit
-
-
konstantin@mysql.com authored
in cursors.
-
- 01 Jul, 2005 1 commit
-
-
konstantin@mysql.com authored
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).
-
- 24 Jun, 2005 1 commit
-
-
konstantin@mysql.com authored
The reason it happened was that both, JOIN::cleanup() and JOIN::join_free(), went over all nested joins and called cleanup/join_free for them. For that: - split recursive and non-recursive parts of JOIN::cleanup() and JOIN::join_free() - rename JOIN::cleanup to JOIN::destroy, as it actually destroys its argument - move the recursive part of JOIN::cleanup to st_select_lex::cleanup - move the non-recursive part of JOIN::join_free to the introduced method JOIN::cleanup().
-
- 23 Jun, 2005 1 commit
-
-
igor@rurik.mysql.com authored
Added a test case for bug #10124. sql_select.h, item_subselect.cc, sql_select.cc: Fixed bug #10124. The copy method of the store_key classes can return STORE_KEY_OK=0, STORE_KEY_FATAL=1, STORE_KEY_CONV=2 now. field.cc: Fixed bug #10124. When ussuing a warning the store methods return 2 instead of 1 now.
-
- 22 Jun, 2005 1 commit
-
-
konstantin@mysql.com authored
main_mem_root is moved out of class Query_arena.
-
- 15 Jun, 2005 1 commit
-
-
serg@serg.mylan authored
Item_buff -> Cached_item Item_arena -> Query_arena TEST_ASSERT -> YYERROR_UNLESS
-
- 09 Jun, 2005 1 commit
-
-
konstantin@mysql.com authored
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.
-
- 12 May, 2005 1 commit
-
-
konstantin@mysql.com authored
(crash on attempt to re-execute a statement with an open cursor) + post-review fixes.
-
- 04 May, 2005 1 commit
-
-
msvensson@neptunus.(none) authored
- Introduce ifdefs so we can control when to use #pragma interface on cygwin
-
- 30 Apr, 2005 1 commit
-
-
konstantin@mysql.com authored
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).
-
- 18 Apr, 2005 1 commit
-
-
sergefp@mysql.com authored
Don't produce data truncation warnings from within cp_buffer_from_ref(). This function is only used to make index search tuples and data truncation that occurs here has no relation with truncated values being saved into tables.
-
- 04 Apr, 2005 1 commit
-
-
sergefp@mysql.com authored
"Early NULL-values filtering for ref access" (attempt2+post-review fixes) 1. update_ref_and_keys() accumulates info about null-rejecting predicates in in KEY_FIELD::null_rejecting, add_key_part saves these to KEYUSE. 2. create_ref_for_key copies them to TABLE_REF. 3. add_not_null_conds adds "x IS NOT NULL" to join_tab->select_cond of appropiate JOIN_TAB members. Includes code cleanups: * add_key_field() params: s/COND/Item_func/ (as only Item_funcs are passed to it) * add_key_fields() params: JOIN_TAB *stat removed (wasn't used)
-
- 30 Mar, 2005 1 commit
-
-
ramil@mysql.com authored
-
- 24 Mar, 2005 1 commit
-
-
konstantin@mysql.com authored
and Bug#9159 "Server crash during mysql_stmt_close". The patch adds support for single-row result sets in cursors.
-
- 19 Mar, 2005 1 commit
-
-
jimw@mysql.com authored
Windows to call CreateFileMapping() with correct arguments, and propogating the introduction of query_id_t to everywhere query ids are passed around. (Bug #8826)
-
- 16 Mar, 2005 1 commit
-
-
igor@rurik.mysql.com authored
Added a test case for bug #8616. item.h: Fixed bug #8616. Added class Item_null_result used in rollup processing. sql_select.h, sql_select.cc: Fixed bug #8616. Added JOIN::rollup_write_data to cover rollup queries with DISTINCT. Modified other rollup methods.
-
- 13 Mar, 2005 1 commit
-
-
konstantin@mysql.com authored
implementation of AVG(DISTINCT) which utilizes the approach with Fields. The patch implemented in October is portede to the up-to-date tree containing DECIMAL type. Tests for AVG(DISTINCT) (although there is not much to test provided that SUM(DISTINCT) works), cleanups for COUNT(DISTINCT) and GROUP_CONCAT() will follow in another changeset.
-
- 01 Mar, 2005 1 commit
-
-
jani@ua141d10.elisa.omakaista.fi authored
-
- 19 Dec, 2004 1 commit
-
-
monty@mysql.com authored
Fixed some found bugs in BIT fields Added more test cases for BIT fields and varchar
-
- 18 Dec, 2004 1 commit
-
-
monty@mysql.com authored
Add support for VARCHAR with 1 or 2 length bytes Enable VARCHAR packing in MyISAM files (previous patch didn't pack data properly) Give error if we got problems in temporary tables during a SELECT Don't use new table generated by ALTER TABLE if index generation fails Fixed wrong call by range_end() (Could cause an ASSERT in debug mode)
-
- 24 Nov, 2004 1 commit
-
-
konstantin@mysql.com authored
-
- 07 Nov, 2004 1 commit
-
-
monty@mysql.com authored
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
-
- 20 Oct, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
net_printf/send_error calls replaced by my_error family functions -1/1 (sent/unsent) error reporting removed (WL#2133)
-
- 19 Oct, 2004 1 commit
-
-
igor@rurik.mysql.com authored
Added the code processing on expressions for applying multiple equalities. sql_select.cc: Post-merge fixes for Item_equal patch. Added the code processing on expressions for applying multiple equalities. Many files: Post-merge fixes for Item_equal patch. item_cmpfunc.cc: Post-merge fixes for Item_equal patch. Fixed a problem when an equality field=const cannot be applied to the predicate P(field,c) for constant propagation as a conversion of field is needed. item.h, item.cc: Fixed a problem when an equality field=const cannot be applied to the predicate P(field,c) for constant propagation as a conversion of field is needed.
-
- 17 Sep, 2004 1 commit
-
-
monty@mishka.local authored
Removed wrong warnings in test suite (This was because select_insert / select_create results was not freed. Added thd to openfrm() for initialization of TABLE->in_use. This fixed a bug in BDB handling where table->in_use was used early
-
- 10 Sep, 2004 1 commit
-
-
timour@mysql.com authored
"Min/Max Optimization for Queries with Group By Clause"
-
- 31 Aug, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 27 Aug, 2004 1 commit
-
-
timour@mysql.com authored
- after-review changes - merged with the source tree from 204-08-27
-
- 03 Aug, 2004 1 commit
-
-
konstantin@mysql.com authored
- client side part is simple and may be considered stable - server side part now just joggles with THD state to save execution state and has no additional locking wisdom. Lot's of it are to be rewritten.
-
- 11 Jun, 2004 1 commit
-
-
igor@rurik.mysql.com authored
new file Many files: Nested joins added.
-
- 12 May, 2004 1 commit
-
-
sergefp@mysql.com authored
This is first cset for WL#1394 "Optimize index merge when all involved index ranges include only values with equal keys" The main idea is to exploit the fact that key scans for "key=const" return ordered sequences of rowids.
-
- 11 May, 2004 1 commit
-
-
timour@mysql.com authored
-