An error occurred fetching the project authors.
- 08 Sep, 2005 1 commit
-
-
timour@mysql.com authored
-
- 02 Sep, 2005 2 commits
-
-
konstantin@mysql.com authored
- current_arena to stmt_arena: the thread may have more than one 'current' arenas: one for runtime data, and one for the parsed tree of a statement. Only one of them is active at any moment. - set_item_arena -> set_query_arena, because Item_arena was renamed to Query_arena a while ago - set_n_backup_item_arena -> set_n_backup_active_arena; the active arena is the arena thd->mem_root and thd->free_list are currently pointing at. - restore_backup_item_arena -> restore_active_arena (with the same rationale) - change_arena_if_needed -> activate_stmt_arena_if_needed; this method sets thd->stmt_arena active if it's not done yet.
-
bell@sanja.is.com.ua authored
-
- 24 Aug, 2005 2 commits
-
-
monty@mishka.local authored
Removed ASSERT that can obviously never be wrong
-
timour@mysql.com authored
-
- 23 Aug, 2005 2 commits
-
-
timour@mysql.com authored
-
timour@mysql.com authored
* 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.
-
- 21 Aug, 2005 1 commit
-
-
monty@mishka.local authored
-
- 20 Aug, 2005 1 commit
-
-
monty@mishka.local authored
Fixed new bug when running a SP without a default database
-
- 19 Aug, 2005 1 commit
-
-
timour@mysql.com authored
- Corrected problem with N-way nested natural joins in PS mode. - Code cleanup - More asserts to check consistency of name resolution contexts - Fixed potential memory leak of name resolution contexts
-
- 18 Aug, 2005 1 commit
-
-
dlenev@mysql.com authored
If we are in stored function or trigger we should ensure that we won't change table that is already used by calling statement (this can damage table or easily cause infinite loops). Particularly this means that recursive triggers should be disallowed.
-
- 17 Aug, 2005 3 commits
-
-
timour@mysql.com authored
- fixed a problem with RIGHT JOIN ON and enabled corresponding tests in select.test - fixed a memory leak
-
timour@mysql.com authored
-
timour@mysql.com authored
- Applied Monty's patch after his review of sql_base.cc
-
- 16 Aug, 2005 1 commit
-
-
andrey@lmy004.wdf.sap.corp authored
(after review commit)
-
- 12 Aug, 2005 3 commits
-
-
serg@sergbook.mysql.com authored
Now we keep all active XID's in a hash
-
timour@mysql.com authored
"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
-
igor@rurik.mysql.com authored
Fixed bug #12470. A misplaced initialization of the cond_count counter resulted in a wrong calculation of it. This caused a memory corruption since this counter was used as a parameter of some memory allocation. view.test: Added a test case for bug #12470.
-
- 11 Aug, 2005 2 commits
-
-
igor@rurik.mysql.com authored
Fixed bug #12382. INSERT statement effectively changed thd->set_query_id to 0, while SELECT statement changed it to 0. As a result the insert_fields function that expanded '*' was called with different values of thd->set_query_id for the query SELECT * FROM view depending on whether it was run after an INSERT or after a SELECT statement. This was corrected by restoring the old value of thd->set_query_id when returning from the function setup_fields where possible reset could occur. If the value of thd->set_query_id == 0 then the fields substituted instead of '*' were not registered as used for bitmaps used_keys. This caused selection of an invalid execution plan for the query SELECT * from <view>. view.result, view.test: Added a test case for bug #12382.
-
monty@mysql.com authored
-
- 08 Aug, 2005 1 commit
-
-
dlenev@mysql.com authored
result set". To enable full access to contents of I_S tables from stored functions or statements that use them, we manipulate with thread's open tables state and ensure that we won't cause deadlock when we open tables by ignoring flushes and name-locks. Building of contents of I_S.TABLES no longer requires locking of tables since we use use handler::info() method with HA_STATUS_AUTO flag instead of handler::update_auto_increment() for obtaining information about auto-increment values. But this also means that handlers have to implement support for HA_STATUS_AUTO flag (particularly InnoDB needs it).
-
- 03 Aug, 2005 1 commit
-
-
sergefp@mysql.com authored
* Don't activate prelocking mode for evaluating procedure arguments when it is not necessary. * Code structure simplification and cleanup. * Cleanup in .test files
-
- 02 Aug, 2005 1 commit
-
-
bell@sanja.is.com.ua authored
frequently used command sequence replaced with inline function
-
- 31 Jul, 2005 1 commit
-
-
monty@mishka.local authored
Change bool in C code to my_bool Added to mysqltest --enable_parsning and --disable_parsing to avoid to have to comment parts of tests Added comparison of LEX_STRING's and use this to compare file types for view and trigger files.
-
- 30 Jul, 2005 1 commit
-
-
sergefp@mysql.com authored
its body, but lets each statement to get/release its own locks. This allows a broader set of statements to be executed inside PROCEDUREs (but breaks replication) This patch should fix BUG#8072, BUG#8766, BUG#9563, BUG#11126
-
- 28 Jul, 2005 2 commits
-
-
monty@mysql.com authored
-
monty@mysql.com authored
Ensure mysql_close() is called if mysql_set_character_set() fails
-
- 26 Jul, 2005 1 commit
-
-
monty@mysql.com authored
Fixed portability problem with bool in C programs Moved close_thread_tables out from LOCK_thread_count mutex (safety fix) my_sleep() -> pthread_cond_timedwait()
-
- 21 Jul, 2005 1 commit
-
-
- 20 Jul, 2005 1 commit
-
-
mronstrom@mysql.com authored
-
- 19 Jul, 2005 1 commit
-
-
dlenev@mysql.com authored
"Triggers have the wrong namespace" "Triggers: duplicate names allowed" "Triggers: CREATE TRIGGER does not accept fully qualified names" "SHOW TRIGGERS"
-
- 18 Jul, 2005 1 commit
-
-
mronstrom@mysql.com authored
remove_table_from_cache fails to signal other thread and gets blocked when other thread also gets blocked
-
- 14 Jul, 2005 1 commit
-
-
bell@sanja.is.com.ua authored
try to find most suitable table, to avouid pickup table with too low locking mode or occupy table with write mode for select when it will be need for update later (BUG#9597)
-
- 13 Jul, 2005 1 commit
-
-
dlenev@mysql.com authored
of stored routines definitions even if we already have some tables open and locked. To avoid deadlocks in this case we have to put certain restrictions on locking of mysql.proc table. This allows to use stored routines safely under LOCK TABLES without explicitly mentioning mysql.proc in the list of locked tables. It also fixes bug #11554 "Server crashes on statement indirectly using non-cached function".
-
- 12 Jul, 2005 2 commits
-
-
evgen@moonbone.local authored
New item created in find_field_in_table() to fix view's item, was created without taking into account original item's alias. This patch checks if alias is set to the original item and if so sets it to newly created item.
-
igor@igor-inspiron.creware.com authored
Added a test case for bug #11771. item.h: Fixed bug #11771. Added method reset_query_id_processor to be able to adjust query_id for fields generated from * in queries like this: SELECT * FROM <view> ... sql_base.cc: Fixed bug #11771. Adjusted query_id for fields generated from * in queries like this: SELECT * FROM <view> ...
-
- 09 Jul, 2005 1 commit
-
-
dlenev@mysql.com authored
crash if referencing a table" and several other related bugs. Fix for bug #11834 "Re-execution of prepared statement with dropped function crashes server." which was spotted during work on previous bugs. Also couple of nice cleanups: - Replaced two separate hashes for stored routines used by statement with one. - Now instead of doing one pass through all routines used in statement for caching them and then doing another pass for adding their tables to table list, we do only one pass during which do both things.
-
- 04 Jul, 2005 1 commit
-
-
monty@mysql.com authored
Better fix for ON DUPLICATE KEY UPDATE
-
- 02 Jul, 2005 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 01 Jul, 2005 1 commit
-
-
bell@sanja.is.com.ua authored
-