An error occurred fetching the project authors.
- 23 Jun, 2005 1 commit
-
-
konstantin@mysql.com authored
We need every instruction to have its own arena, because we want to track instruction's state (INITIALIZED_FOR_SP -> EXECUTED). Because of `if' statements and other conditional instructions used in stored procedures, not every instruction of a stored procedure gets executed during the first (or even subsequent) execution of the procedure. So it's better if we track the execution state of every instruction independently. All instructions of a given procedure now also share sp_head's mem_root, but keep their own free_list. This simplifies juggling with free Item lists in sp_head::execute. - free_items() moved to be a member of Query_arena. - logic of 'backup_arena' debug member of Query_arena has been changed to support multi-backups. Until now, TRUE 'backup_arena' meant that there is exactly one active backup of the THD arena. Now it means simply that the arena is used for backup, so that we can't accidentally overwrite an existing backup. This allows doing multiple backups, e.g. in sp_head::execute and Cursor::fetch, when THD arena is already backed up but we want to set yet another arena (usually the 'permanent' arena, to save permanent transformations/optimizations of a parsed tree).
-
- 22 Jun, 2005 3 commits
-
-
konstantin@mysql.com authored
-
svoj@mysql.com authored
Fix GCC 4.0 link failure. Better CXX_VERSION guessing.
-
konstantin@mysql.com authored
main_mem_root is moved out of class Query_arena.
-
- 19 Jun, 2005 1 commit
-
-
svoj@mysql.com authored
Fix for yaSSL link failures with Forte Developer 7, MIPSpro Compilers, Compaq C++. These compilers have problem with implicit template instantiation in archives (libyassl.a, libtaocrypt.a). Instantiate templates explicitly. Fix for yaSSL link failure on powermacg5 (gcc 3.3). When -O3 is specified gcc inlines __cxa_pure_virtual. This is wrong behavior, __cxa_pure_virtual must never be inlined.
-
- 15 Jun, 2005 1 commit
-
-
serg@serg.mylan authored
Item_buff -> Cached_item Item_arena -> Query_arena TEST_ASSERT -> YYERROR_UNLESS
-
- 07 Jun, 2005 1 commit
-
-
igor@rurik.mysql.com authored
Fixed bug #9899: erronious NOT_NULL flag for some attributes in the EXPLAIN table.
-
- 05 Jun, 2005 1 commit
-
-
serg@serg.mylan authored
'#pragma interface' (that comes with the #include'd header file)
-
- 03 Jun, 2005 1 commit
-
-
monty@mysql.com authored
Ensure that 'null_value' is not accessed before val() is called in FIELD() functions Fixed initialization of key maps. This fixes some problems with keys when you have more than 64 keys Fixed that ROLLUP don't always create a temporary table. This fix ensures that func_gconcat.test results are now predictable
-
- 02 Jun, 2005 1 commit
-
-
kent@mysql.com authored
Set #pragma implementation" earlier Many files: Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
-
- 26 May, 2005 1 commit
-
-
msvensson@neptunus.(none) authored
Added some more ifdefs for "#pragma interface"
-
- 23 May, 2005 1 commit
-
-
pem@mysql.comhem.se authored
Memory leak in locally evalutated expressions during SP execution fixed by reusing allocated item slots when possible. Note: No test case added, since the test is a stress test that tries to make the machine to run out of memory. Second attempt, now tested with debug build, valgrind build, max (optimized) build, with and without --debug, --vagrind and --ps-protocol. Errors in trigger and view test with --debug in debug build where present before this patch, and likewise for valgrind warnings for view test in valgrind build with --ps-protocol.
-
- 18 May, 2005 1 commit
-
-
sergefp@mysql.com authored
-
- 08 May, 2005 1 commit
-
-
bell@book.sanja.is.com.ua authored
Item::fix_field need correct pointer on item reference to chnge it if itis need, so support of correct item address added to SP commands (BUG#5963) some optimisation of IF/NOT IF ptomised to Pem
-
- 12 Apr, 2005 1 commit
-
-
serg@serg.mylan authored
correct result after bugfix sql/sql_class.cc initialize net.query_cache_query
-
- 06 Apr, 2005 1 commit
-
-
monty@mysql.com authored
-
- 03 Apr, 2005 1 commit
-
-
serg@serg.mylan authored
minor cleanups XA tests
-
- 28 Mar, 2005 1 commit
-
-
bell@sanja.is.com.ua authored
(BUG##9398, BUG#8703) fixed wrong join view detection in multi-delete which lead to server crash
-
- 23 Mar, 2005 1 commit
-
-
konstantin@mysql.com authored
"Server crashes when running out of connections"
-
- 09 Mar, 2005 2 commits
-
-
lars@mysql.com authored
-
serg@serg.mylan authored
-
- 04 Mar, 2005 1 commit
-
-
dlenev@brandersnatch.localdomain authored
and some SP-related cleanups. - We don't have separate stage for calculation of list of tables to be prelocked and doing implicit LOCK/UNLOCK any more. Instead we calculate this list at open_tables() and do implicit LOCK in lock_tables() (and UNLOCK in close_thread_tables()). Also now we support cases when same table (with same alias) is used several times in the same query in SP. - Cleaned up execution of SP. Moved all common code which handles LEX and does preparations before statement execution or complex expression evaluation to auxilary sp_lex_keeper class. Now all statements in SP (and corresponding instructions) that evaluate expression which can contain subquery have their own LEX.
-
- 24 Feb, 2005 1 commit
-
-
monty@mysql.com authored
Previously we only stored the first given error (the error sent to the client)
-
- 19 Feb, 2005 1 commit
-
-
monty@mysql.com authored
Lots of small fixes to multi-precision-math path Give Note for '123.4e' Added helper functions type 'val_string_from_real() Don't give warnings for end space for string2decimal() Changed storage of values for SP so that we can detect length of argument without strlen() Changed interface for str2dec() so that we must supple the pointer to the last character in the buffer
-
- 15 Feb, 2005 1 commit
-
-
konstantin@mysql.com authored
delete is declared. As we don't use exceptions placement delete is never called and the fix only affects numerous warnings when compiling with MS Visual C++. For more info see http://www.gotw.ca/gotw/010.htm.
-
- 08 Feb, 2005 1 commit
-
-
hf@deer.(none) authored
-
- 26 Jan, 2005 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 16 Jan, 2005 1 commit
-
-
serg@serg.mylan authored
-
- 06 Jan, 2005 1 commit
-
-
monty@mysql.com authored
Split TABLE to TABLE and TABLE_SHARE (TABLE_SHARE is still allocated as part of table, will be fixed soon) Created Field::make_field() and made Field_num::make_field() to call this Added 'TABLE_SHARE->db' that points to database name; Changed all usage of table_cache_key as database name to use this instead Changed field->table_name to point to pointer to alias. This allows us to change alias for a table by just updating one pointer. Renamed TABLE_SHARE->real_name to table_name Renamed TABLE->table_name to alias Renamed TABLE_LIST->real_name to table_name
-
- 09 Dec, 2004 1 commit
-
-
dlenev@brandersnatch.localdomain authored
tables requires privileges for them if some table or column level grants present" (with after-review fixes). We should set SELECT_ACL for implicitly opened tables in my_tz_check_n_skip_implicit_tables() to be able to bypass privilege checking in check_grant(). Also we should exclude those tables from privilege checking in multi-update.
-
- 07 Dec, 2004 1 commit
-
-
serg@serg.mylan authored
-
- 24 Nov, 2004 1 commit
-
-
serg@serg.mylan authored
-
- 18 Nov, 2004 3 commits
-
-
tomas@poseidon.ndb.mysql.com authored
-
bell@sanja.is.com.ua authored
fixed null processing in NOT operation used in ALL subquery (Bug #6247)
-
gluh@gluh.mysql.r18.ru authored
fix for 'show create schema_table' fix for usage schema tables in subselect 'wrong schema table charset' fix
-
- 13 Nov, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
used only one implementation of format parser of (printf) fixed multistatement
-
- 12 Nov, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 11 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
-
- 03 Nov, 2004 1 commit
-
-
monty@mysql.com authored
FOUND is not a reserved keyword anymore Added Item_field::set_no_const_sub() to be able to mark fields that can't be substituted Added 'simple_select' method to be able to quickly determinate if a select_result is a normal SELECT Note that the 5.0 tree is not yet up to date: Sanja will have to fix multi-update-locks for this merge to be complete
-