An error occurred fetching the project authors.
- 31 Aug, 2004 1 commit
-
-
monty@mysql.com authored
Use 'mysqltest' as test database instead of test_$1 or test1,test2 to not accidently delete an important database Safety fix for mailformed MERGE files
-
- 20 Aug, 2004 2 commits
-
-
konstantin@mysql.com authored
a second time". The bug was caused by incompatibility of negations elimination algorithm and PS: during first statement execute a subtree with negation was replaced with equivalent subtree without NOTs. The problem was that although this transformation was permanent, items of the new subtree were created in execute-local memory. The patch adds means to check if it is the first execute of a prepared statement, and if this is the case, to allocate items in memory of the prepared statement. The implementation: - backports Item_arena from 5.0 - adds Item_arena::is_stmt_prepare(), Item_arena::is_first_stmt_execute(). - deletes THD::allocate_temporary_pool_for_ps_preparing(), THD::free_temporary_pool_for_ps_preparing(); they were redundant. and adds a few invariants: - thd->free_list never contains junk (= freed items) - thd->current_arena is never null. If there is no prepared statement, it points at the thd. The rest of the patch contains mainly mechanical changes and cleanups.
-
dlenev@brandersnatch.localdomain authored
When in find_item_in_list() we are looking for item we should take into account unaliased names of the fields but only if item with such aliased name is not found. Also we should ignore aliases when looking for fully specified field.
-
- 10 Aug, 2004 1 commit
-
-
dlenev@brandersnatch.localdomain authored
Instead of trying to open time zone tables during calculation of CONVERT_TZ() function or setting of @@time_zone variable we should open and lock them with the rest of statement's table (so we should add them to global table list) and after that use such pre-opened tables for loading info about time zones.
-
- 02 Aug, 2004 1 commit
-
-
serg@serg.mylan authored
-
- 30 Jul, 2004 1 commit
-
-
serg@serg.mylan authored
-
- 24 Jun, 2004 1 commit
-
-
ingo@mysql.com authored
Redesigned the handler close functions so that they are usable at different places where waiting for closing tables is done.
-
- 18 Jun, 2004 1 commit
-
-
dlenev@brandersnatch.localdomain authored
Added basic per-thread time zone functionality (based on public domain elsie-code). Now user can select current time zone (from the list of time zones described in system tables). All NOW-like functions honor this time zone, values of TIMESTAMP type are interpreted as values in this time zone, so now our TIMESTAMP type behaves similar to Oracle's TIMESTAMP WITH LOCAL TIME ZONE (or proper PostgresSQL type). WL#1266 "CONVERT_TZ() - basic time with time zone conversion function". Fixed problems described in Bug #2336 (Different number of warnings when inserting bad datetime as string or as number). This required reworking of datetime realted warning hadling (they now generated at Field object level not in conversion functions). Optimization: Now Field class descendants use table->in_use member instead of current_thd macro.
-
- 10 Jun, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
close table before opening in optimize
-
- 29 May, 2004 1 commit
-
-
serg@serg.mylan authored
-
- 17 May, 2004 1 commit
-
-
serg@serg.mylan authored
check for field_name (not only for name) in find_item_in_list, to be compatible with item->eq() that is done later
-
- 14 May, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 05 May, 2004 1 commit
-
-
monty@mysql.com authored
We didn't use 'only index' for tables of type 'const'. (Bug #3497)
-
- 04 May, 2004 1 commit
-
-
serg@serg.mylan authored
-
- 15 Apr, 2004 1 commit
-
-
magnus@neptunus.(none) authored
-
- 07 Apr, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 06 Apr, 2004 2 commits
-
-
serg@serg.mylan authored
::reset(), HA_FAST_KEY_READ, disable_indexes(), enable_indexes(), start_bulk_insert(), end_bulk_insert() Field::val_str simplification, comment
-
monty@mysql.com authored
Don't add -debug to server version if MYSQL_SERVER_PREFIX is used Indentation cleanups
-
- 04 Apr, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
fixed error code in union test
-
- 03 Apr, 2004 2 commits
-
-
bell@sanja.is.com.ua authored
fixed outer joins test of different joins included
-
bell@sanja.is.com.ua authored
fixed aggregate functions in PS (BUG#3360)
-
- 02 Apr, 2004 1 commit
-
-
dlenev@jabberwock.localdomain authored
Final version of patch. Adds support for specifying of DEFAULT NOW() and/or ON UPDATE NOW() clauses for TIMESTAMP field definition. Current implementation allows only one such field per table and uses several unireg types for storing info about this properties of field. It should be replaced with better implementation when new .frm format is introduced.
-
- 01 Apr, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
save moving ON/USING tables conditions to WHERE clause (BUG#2794)
-
- 31 Mar, 2004 3 commits
-
-
dlenev@brandersnatch.localdomain authored
-
dlenev@brandersnatch.localdomain authored
table resolution". Added members to Item_ident for storing original db, table and field names since those that set later from Field have shorter life-time than required by prep. stmt. So we need to restore original names in Item_ident::cleanup(). Also now using special construnctor for creation of Item_field from Field object that ensures that table and field name have big enough life-time. "Fix" for bug #2050 "10 to 1 performance drop with server 4.1.1" Clean ups in implementation of caching of field number in table. Added caching of table in which field is found in find_field_in_tables().
-
monty@mysql.com authored
Portability fixes
-
- 30 Mar, 2004 2 commits
-
-
ingo@mysql.com authored
This is to enable table handlers to implement online create/drop index. It consists of some parts: - New default handler methods in handler.h - Split of mysql_alter_table. It decides if only one kind of alteration is to be done (e.g. only create indexes or only drop indexes etc.) It then calls the specialized new handler method if the handler implements it. Otherwise it calls real_alter_table. - The parser sets flags for each alter operation detected in a command. These are used by mysql_alter_table for the decision. - mysql_prepare_table is pulled out of mysql_create_table. This is also used by mysql_create_index to prepare the key structure array for the handler. It is also used by mysql_create_index and mysql_drop_index to prepare a call to mysql_create_frm. - mysql_create_frm is pulled out of rea_create_table for use by mysql_create_index and mysql_drop_index after the index is created/dropped. Thanks to Antony who supplied most of the changes.
-
ram@gw.mysql.r18.ru authored
ChangeSet 1.1707 04/03/19 12:36:55 ram@gw.mysql.r18.ru +4 -0 Fix for the bug #2976: NATURAL JOIN produces duplicate columns.
-
- 29 Mar, 2004 1 commit
-
-
monty@mysql.com authored
-
- 28 Mar, 2004 1 commit
-
-
dlenev@brandersnatch.localdomain authored
Actually it is not a bug but right behavior observed as pefomance degradation after we have forced Item_field::fix_fields() to re-execute each time when we are executing prep stmt. This patch implements small optimization which heals this bad behavior. We are caching field position in TABLE::field array in Item's member and are using this position for speeding up field lookups in fix_fields() in case of its re-execution.
-
- 26 Mar, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 25 Mar, 2004 1 commit
-
-
monty@mysql.com authored
-
- 24 Mar, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 20 Mar, 2004 2 commits
-
-
guilhem@mysql.com authored
this is better in this case: - imagine user1 has created a temp table - imagine user2 does FLUSH TABLES WITH READ LOCK, then takes a backup, then RESET MASTER then UNLOCK TABLES, like mysqldump --first-slave - then in the binlog you will finally have the DROP TEMPORARY TABLE, but not the CREATE TEMPORARY TABLE, so when you later restore with mysqlbinlog|mysql, mysql will complain that table does not exist. Replication was already protected of this (it processes DROP TEMPORARY TABLE as if there was a IF EXISTS), now I add it directly to the query for mysqlbinlog|mysql to work.
-
bell@sanja.is.com.ua authored
-
- 19 Mar, 2004 1 commit
-
-
ram@gw.mysql.r18.ru authored
Improvement natural join code in the setup_conds().
-
- 18 Mar, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
small optimisation in signed_literal
-
- 17 Mar, 2004 3 commits
-
-
monty@mysql.com authored
-
bell@sanja.is.com.ua authored
-
monty@mysql.com authored
-