monty@mysql.com 
							
						 
					 
					
						
						
							
						
						28a5491d3d 
					 
					
						
						
							
							Merge with 4.1  
						
						 
						
						
						
						
					 
					
						2005-04-30 09:46:08 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						b40756c27e 
					 
					
						
						
							
							Merge bk-internal.mysql.com:/home/bk/mysql-4.1  
						
						 
						
						... 
						
						
						
						into mysql.com:/home/my/mysql-4.1 
						
						
					 
					
						2005-04-28 00:41:39 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ingo@mysql.com 
							
						 
					 
					
						
						
							
						
						731c8da030 
					 
					
						
						
							
							Bug#7823 - FLUSH TABLES WITH READ LOCK + INSERT DELAYED = deadlock  
						
						 
						
						... 
						
						
						
						After merge fix. 
						
						
					 
					
						2005-04-27 22:58:11 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ingo@mysql.com 
							
						 
					 
					
						
						
							
						
						15f9556ca2 
					 
					
						
						
							
							Bug#7823 - FLUSH TABLES WITH READ LOCK + INSERT DELAYED = deadlock  
						
						 
						
						... 
						
						
						
						Merge from 4.1 
						
						
					 
					
						2005-04-27 21:02:38 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ingo@mysql.com 
							
						 
					 
					
						
						
							
						
						1df110057c 
					 
					
						
						
							
							Bug#7823 - FLUSH TABLES WITH READ LOCK + INSERT DELAYED = deadlock  
						
						 
						
						... 
						
						
						
						After merge fix. 
						
						
					 
					
						2005-04-27 20:54:19 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						972f86f1ee 
					 
					
						
						
							
							Cleanups during review  
						
						 
						
						
						
						
					 
					
						2005-04-26 23:24:59 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ingo@mysql.com 
							
						 
					 
					
						
						
							
						
						d859eafa83 
					 
					
						
						
							
							Bug#7806 - insert on duplicate key and auto-update of timestamp  
						
						 
						
						... 
						
						
						
						Merged fix for bugfix to 5.0. 
						
						
					 
					
						2005-04-22 17:13:18 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ingo@mysql.com 
							
						 
					 
					
						
						
							
						
						0e7f6a601f 
					 
					
						
						
							
							Bug#7806 - insert on duplicate key and auto-update of timestamp  
						
						 
						
						... 
						
						
						
						A fix of the original patch.
Correctly clear a bit from an enum value. 
						
						
					 
					
						2005-04-22 12:30:09 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						0c23f81dcb 
					 
					
						
						
							
							C99 Portability fix  
						
						 
						
						
						
						
					 
					
						2005-04-21 21:47:58 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								acurtis@xiphis.org 
							
						 
					 
					
						
						
							
						
						310c360465 
					 
					
						
						
							
							C99 Portability fix  
						
						 
						
						
						
						
					 
					
						2005-04-21 18:38:34 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ingo@mysql.com 
							
						 
					 
					
						
						
							
						
						eeda9b3f8c 
					 
					
						
						
							
							After merge fix.  
						
						 
						
						
						
						
					 
					
						2005-04-21 10:29:05 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ingo@mysql.com 
							
						 
					 
					
						
						
							
						
						692093c041 
					 
					
						
						
							
							Hand merge, which needs fixes.  
						
						 
						
						
						
						
					 
					
						2005-04-20 15:50:29 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ingo@mysql.com 
							
						 
					 
					
						
						
							
						
						792b816b1b 
					 
					
						
						
							
							Bug#7806 - insert on duplicate key and auto-update of timestamp  
						
						 
						
						... 
						
						
						
						Modified the check for the timestamp field so that the flags for
the automatic for inserts and updates are cleared independently. 
						
						
					 
					
						2005-04-19 15:12:32 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jimw@mysql.com 
							
						 
					 
					
						
						
							
						
						b95cb4e654 
					 
					
						
						
							
							Merge  
						
						 
						
						
						
						
					 
					
						2005-04-05 19:45:34 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jimw@mysql.com 
							
						 
					 
					
						
						
							
						
						ee2b4ec959 
					 
					
						
						
							
							Eliminate warnings noticed by VC7. This includes fixing my_mmap() on  
						
						 
						
						... 
						
						
						
						Windows to call CreateFileMapping() with correct arguments, and
propogating the introduction of query_id_t to everywhere query ids are
passed around. (Bug #8826 ) 
						
						
					 
					
						2005-03-18 16:12:25 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								dlenev@brandersnatch.localdomain 
							
						 
					 
					
						
						
							
						
						3b6aeddc11 
					 
					
						
						
							
							Fix for sp.test failure in --ps-protocol mode (2nd attempt).  
						
						 
						
						... 
						
						
						
						Now we should call open_and_lock_tables() even if table list is empty -
to cache stored routines used by query and open and lock tables required
for their execution. 
						
						
					 
					
						2005-03-10 16:05:48 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						3839e443a4 
					 
					
						
						
							
							merge with 4.1  
						
						 
						
						
						
						
					 
					
						2005-02-28 12:18:39 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						253bfcf783 
					 
					
						
						
							
							Fixed wrong memory references found by purify  
						
						 
						
						... 
						
						
						
						(No really critical errors found, but a few possible wrong results) 
						
						
					 
					
						2005-02-28 11:59:46 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						0a6b7aedb2 
					 
					
						
						
							
							Remove compiler warnings and remove not used variables  
						
						 
						
						... 
						
						
						
						(Found during build process) 
						
						
					 
					
						2005-02-25 16:53:22 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								serg@serg.mylan 
							
						 
					 
					
						
						
							
						
						c0dda01f76 
					 
					
						
						
							
							Merge serg.mylan:/usr/home/serg/Abk/mysql-5.0  
						
						 
						
						... 
						
						
						
						into serg.mylan:/usr/home/serg/Abk/mysql-5.0-xa 
						
						
					 
					
						2005-02-18 12:02:46 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								acurtis@pcgem.rdg.cyberkinetica.com 
							
						 
					 
					
						
						
							
						
						647eaaea1d 
					 
					
						
						
							
							Bug#8147  
						
						 
						
						... 
						
						
						
						Merge from 4.1 
						
						
					 
					
						2005-02-17 17:38:13 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								serg@serg.mylan 
							
						 
					 
					
						
						
							
						
						fd828e5b4d 
					 
					
						
						
							
							manually merged  
						
						 
						
						
						
						
					 
					
						2005-02-14 21:50:09 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						209190d3df 
					 
					
						
						
							
							Review fixed  
						
						 
						
						
						
						
					 
					
						2005-02-02 22:39:21 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								serg@serg.mylan 
							
						 
					 
					
						
						
							
						
						3c5060981f 
					 
					
						
						
							
							query_id and my_xid -> ulonglong  
						
						 
						
						... 
						
						
						
						fix for binlog+autocommit+tclog
comments, style fixes 
						
						
					 
					
						2005-01-27 22:38:56 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								mskold@mysql.com 
							
						 
					 
					
						
						
							
						
						da658b9f11 
					 
					
						
						
							
							Fix for failing INSERT IGNORE in test ndb_insert  
						
						 
						
						
						
						
					 
					
						2005-01-25 15:08:51 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ingo@mysql.com 
							
						 
					 
					
						
						
							
						
						ea8882be80 
					 
					
						
						
							
							BUG#6034 - Error code 124:  Wrong medium type.  
						
						 
						
						... 
						
						
						
						Version for 5.0. Committed for merge.
If the result table is one of the select tables in INSERT SELECT,
we must not disable the result tables indexes before selecting.
Now the preparation is split into two prepare methods.
The first detects the situation and defers some preparations
until the second phase. 
						
						
					 
					
						2005-01-19 21:20:55 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								serg@serg.mylan 
							
						 
					 
					
						
						
							
						
						1034677f94 
					 
					
						
						
							
							XA (not completely polished out yet)  
						
						 
						
						
						
						
					 
					
						2005-01-16 13:16:23 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jimw@mysql.com 
							
						 
					 
					
						
						
							
						
						01ddc370f0 
					 
					
						
						
							
							Enable warnings for 'no default' fields being set to default when they  
						
						 
						
						... 
						
						
						
						are not specified in an insert. Most of these changes are actually to
clean up the test suite to either specify defaults to avoid warnings,
or add the warnings to the results. Related to bug #5986 . 
						
						
					 
					
						2005-01-14 17:09:35 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jimw@mysql.com 
							
						 
					 
					
						
						
							
						
						25fde2d092 
					 
					
						
						
							
							In TRADITIONAL mode, don't allow a NOT NULL field with no default be set to  
						
						 
						
						... 
						
						
						
						DEFAULT (with no argument) or to the field's type's default by not being
listed in the list of fields being inserted. (Bug #5986 ) 
						
						
					 
					
						2005-01-13 18:23:34 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								mskold@mysql.com 
							
						 
					 
					
						
						
							
						
						760b2a5f3b 
					 
					
						
						
							
							Fix for failing INSERT IGNORE  
						
						 
						
						
						
						
					 
					
						2005-01-10 20:55:05 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						bda0a78184 
					 
					
						
						
							
							Merge bk-internal.mysql.com:/home/bk/mysql-5.0  
						
						 
						
						... 
						
						
						
						into mysql.com:/home/my/mysql-5.0 
						
						
					 
					
						2005-01-06 13:31:31 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						d35140a851 
					 
					
						
						
							
							First stage of table definition cache  
						
						 
						
						... 
						
						
						
						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 
						
						
					 
					
						2005-01-06 13:00:13 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								bell@sanja.is.com.ua 
							
						 
					 
					
						
						
							
						
						a8a5f3590c 
					 
					
						
						
							
							fixed bugs in view code with prepared statemnts  
						
						 
						
						
						
						
					 
					
						2005-01-04 18:04:16 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						7cf8285b3f 
					 
					
						
						
							
							After merge fixes  
						
						 
						
						... 
						
						
						
						Add support for warnings for prepare of prepared statements
Fixed test to work with --ps-protocol
Fixed some test results 
						
						
					 
					
						2005-01-04 13:46:53 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						309b1a2b6c 
					 
					
						
						
							
							Merge with 4.1 tree to get fix for INSERT IGNORE ... ON DUPLICATE KEY  
						
						 
						
						
						
						
					 
					
						2005-01-03 23:04:52 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						2299e1eca4 
					 
					
						
						
							
							Better handling of ensuring that setup_tables() are not called twice  
						
						 
						
						... 
						
						
						
						This fixed a bug in prepared statements when used with outher joins
Fixed a bug in SUM(DISTINCT) when used with prepared statements.
Some safety fixes in test scripts to ensure that previous test failures shouldn't affect other tests 
						
						
					 
					
						2005-01-03 21:04:33 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						ce456b6a20 
					 
					
						
						
							
							Remove clear_insert_values() because it was far from trivial to handle the cleanup in all cases  
						
						 
						
						... 
						
						
						
						(Old code failed for INSERT ... ON DUPLICATE with prepared statements) 
Instead, always reset table->insert_values on open. 
						
						
					 
					
						2005-01-03 13:56:23 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								serg@sergbook.mysql.com 
							
						 
					 
					
						
						
							
						
						a04fc26c54 
					 
					
						
						
							
							manually merged  
						
						 
						
						
						
						
					 
					
						2004-12-31 15:26:24 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						78da7196ad 
					 
					
						
						
							
							Merge bk-internal.mysql.com:/home/bk/mysql-4.1  
						
						 
						
						... 
						
						
						
						into mysql.com:/home/my/mysql-4.1 
						
						
					 
					
						2004-12-31 12:05:43 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						1bd22faa05 
					 
					
						
						
							
							Remove DUP_IGNORE from enum_duplicates and instead use a separate ignore flag  
						
						 
						
						... 
						
						
						
						This allows use to use INSERT IGNORE ... ON DUPLICATE ... 
						
						
					 
					
						2004-12-31 12:04:35 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						d71c030587 
					 
					
						
						
							
							After merge fixes  
						
						 
						
						
						
						
					 
					
						2004-12-31 00:44:00 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								serg@serg.mylan 
							
						 
					 
					
						
						
							
						
						735d25ed73 
					 
					
						
						
							
							better fix for bug#7242 (crash in prepared INSERT ... UPDATE)  
						
						 
						
						
						
						
					 
					
						2004-12-24 23:30:40 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mishka.local 
							
						 
					 
					
						
						
							
						
						4f4bbfc279 
					 
					
						
						
							
							Merge with 4.1  
						
						 
						
						
						
						
					 
					
						2004-12-22 13:54:39 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								acurtis@pcgem.rdg.cyberkinetica.com 
							
						 
					 
					
						
						
							
						
						9818cadd1b 
					 
					
						
						
							
							WL#2274 - INSERT..SELECT..UPDATE  
						
						 
						
						... 
						
						
						
						UPDATE clause conflicts with SELECT for use of item_list field.
  Alter UPDATE clause to use new lex field update_list
  Tests included 
						
						
					 
					
						2004-12-13 12:26:28 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								dlenev@mysql.com 
							
						 
					 
					
						
						
							
						
						62a6d9749b 
					 
					
						
						
							
							Merge bk-internal.mysql.com:/home/bk/mysql-4.1  
						
						 
						
						... 
						
						
						
						into mysql.com:/home/dlenev/src/mysql-4.1-bg6765 
						
						
					 
					
						2004-12-09 13:33:12 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								dlenev@brandersnatch.localdomain 
							
						 
					 
					
						
						
							
						
						4b0882e0a6 
					 
					
						
						
							
							Fix for bug  #6765  "Implicit access to time zone description  
						
						 
						
						... 
						
						
						
						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. 
						
						
					 
					
						2004-12-09 13:31:46 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						75d0958dc3 
					 
					
						
						
							
							After merge fixes  
						
						 
						
						... 
						
						
						
						Fixed compiler warnings
Fix core dump when sending SIGHUP to mysqld 
						
						
					 
					
						2004-12-06 17:15:54 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						0de4777187 
					 
					
						
						
							
							Merge with 4.1  
						
						 
						
						
						
						
					 
					
						2004-12-06 11:38:56 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jimw@mysql.com 
							
						 
					 
					
						
						
							
						
						48fc4cbc6b 
					 
					
						
						
							
							Merge  
						
						 
						
						
						
						
					 
					
						2004-12-03 17:48:19 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								serg@serg.mylan 
							
						 
					 
					
						
						
							
						
						6a5267e15d 
					 
					
						
						
							
							Merge bk-internal.mysql.com:/home/bk/mysql-4.1/  
						
						 
						
						... 
						
						
						
						into serg.mylan:/usr/home/serg/Abk/mysql-4.1 
						
						
					 
					
						2004-12-03 15:05:35 +01:00