monty@mysql.com 
							
						 
					 
					
						
						
							
						
						af44187bff 
					 
					
						
						
							
							Merge with 4.0 to get fixes for Windows project files  
						
						
						
						
					 
					
						2004-05-25 02:47:25 +03:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						0babddff40 
					 
					
						
						
							
							New MYSQL_SERVER_SUFFIX usage (for easier compilation)  
						
						... 
						
						
						
						Update of VC++ project files. 
						
						
					 
					
						2004-05-25 02:28:44 +03:00 
						 
				 
			
				
					
						
							
							
								konstantin@mysql.com 
							
						 
					 
					
						
						
							
						
						f207b33a7b 
					 
					
						
						
							
							Support for character set conversion in binary protocol: another go  
						
						... 
						
						
						
						after Monty's review.
- Item_param was rewritten.
- it turns out that we can't convert string data to character set of
  connection on the fly, because they first should be written to the binary
  log.
  To support efficient conversion we need to rewrite prepared statements
  binlogging code first. 
						
						
					 
					
						2004-05-25 02:03:49 +04:00 
						 
				 
			
				
					
						
							
							
								hf@deer.(none) 
							
						 
					 
					
						
						
							
						
						e18cd2ea9f 
					 
					
						
						
							
							Fixes for  #3371 ,  #3372 ,  #3374 ,  #3375 ,  #3376  
						
						
						
						
					 
					
						2004-05-15 17:07:44 +05:00 
						 
				 
			
				
					
						
							
							
								georg@beethoven.local 
							
						 
					 
					
						
						
							
						
						c745ae9503 
					 
					
						
						
							
							Added additional parameter userdata for mysql_set_local_infile_handler  
						
						... 
						
						
						
						to allow binding of userland functions in PHP. 
						
						
					 
					
						2004-05-07 14:50:10 +02:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						9e71351122 
					 
					
						
						
							
							Merge bk-internal.mysql.com:/home/bk/mysql-4.1  
						
						... 
						
						
						
						into mysql.com:/home/my/mysql-4.1 
						
						
					 
					
						2004-05-07 01:44:07 +03:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						939ea71ecd 
					 
					
						
						
							
							Portability fixes  
						
						... 
						
						
						
						Change strtoll -> my_strtoll10()
Fixed bug in my_strntoul() and my_strntol() where we got different values on 32 and 64 bit systems (Bug #3472 ) 
						
						
					 
					
						2004-05-07 01:43:17 +03:00 
						 
				 
			
				
					
						
							
							
								konstantin@mysql.com 
							
						 
					 
					
						
						
							
						
						b58df2e9d4 
					 
					
						
						
							
							mysql_stmt_reset now expects ok/error packet from server.  
						
						
						
						
					 
					
						2004-05-06 22:44:00 +04:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						59ddd8c738 
					 
					
						
						
							
							Fix to handle unsigned data in prepared statements (Bug  #3447 )  
						
						... 
						
						
						
						Fixed security problem that password was temporarly reset when someone changed GRANT for a user. (Bug #3404 )
Fixed problem with PROCEDURE analyse() and impossible WHERE (Bug #2238 )
Don't auto-repair tables in mysqlcheck if table type doesn't support 'check' command. 
						
						
					 
					
						2004-05-04 15:02:38 +03:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						661aeb5af2 
					 
					
						
						
							
							Only calculate MYSQL_FIELD->max_length if mysql_stmt_attr_set(..., STMT_ATTR_UPDATE_MAX_LENGTH) is done.  
						
						
						
						
					 
					
						2004-04-30 14:24:06 +03:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						0a95918ee9 
					 
					
						
						
							
							Merge  
						
						
						
						
					 
					
						2004-04-30 14:04:51 +03:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						6678ecf19a 
					 
					
						
						
							
							Update 'MYSQL_FIELD->max_length' on mysql_stmt_store_result() (Bug  #1647 )  
						
						... 
						
						
						
						Added checking of cut read lines in bootstrap thread (Bug #2874 ) 
						
						
					 
					
						2004-04-30 14:02:17 +03:00 
						 
				 
			
				
					
						
							
							
								konstantin@mysql.com 
							
						 
					 
					
						
						
							
						
						07eaf18642 
					 
					
						
						
							
							Merge bk-internal.mysql.com:/home/bk/mysql-4.1  
						
						... 
						
						
						
						into mysql.com:/home/kostja/mysql/mysql-4.1-u2 
						
						
					 
					
						2004-04-30 03:00:55 +04:00 
						 
				 
			
				
					
						
							
							
								konstantin@mysql.com 
							
						 
					 
					
						
						
							
						
						aec8522569 
					 
					
						
						
							
							Fix for Bug#3035 "Prepared statement integer inserts": now unsigned  
						
						... 
						
						
						
						flag is sent to server with placeholder types.
There were no need to extend the protocol as one additional byte
was reserved for placeholder code, when placeholder code is in range 0-255.
So this byte is now used for flags. Post-review fixes added. 
						
						
					 
					
						2004-04-30 03:00:19 +04:00 
						 
				 
			
				
					
						
							
							
								konstantin@mysql.com 
							
						 
					 
					
						
						
							
						
						392481dae5 
					 
					
						
						
							
							Implementation of mysql_stmt_attr_get and mysql_stmt_attr_set  
						
						... 
						
						
						
						requested by Monty for Bug#1647 (No way to determine what size 
blob/clob is being returned into bound buffer) 
						
						
					 
					
						2004-04-30 01:02:29 +04:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						32d0b69503 
					 
					
						
						
							
							Allow one to send empty strings with mysql_stmt_send_long_data()  
						
						... 
						
						
						
						mysql_stmt_reset() now resets param->long_data_used
Abort if --defaults-file=path-name uses a non-existing file (Bug #3413 )
Fixed problem with symlink test (bug in 4.1.2) 
						
						
					 
					
						2004-04-28 20:19:50 +03:00 
						 
				 
			
				
					
						
							
							
								konstantin@dragonfly.local 
							
						 
					 
					
						
						
							
						
						4a4f5fc601 
					 
					
						
						
							
							Stubs for types/names of placeholders, cursor flags and array execution count  
						
						... 
						
						
						
						implemented in the client library and server.
Warning: this makes the new client library and server incompatible with all 
previous versions and 5.0. 
						
						
					 
					
						2004-03-31 02:27:49 +04:00 
						 
				 
			
				
					
						
							
							
								konstantin@mysql.com 
							
						 
					 
					
						
						
							
						
						889790a15c 
					 
					
						
						
							
							Simplification: MYSQL_RES *result replaced with MYSQL_DATA result;  
						
						... 
						
						
						
						No need to check for result existence any more, store_result functions
now are shorter.
cli_read_binary_rows rewritten to handle MYSQL_DATA directly. 
						
						
					 
					
						2004-03-28 17:22:04 +04:00 
						 
				 
			
				
					
						
							
							
								serg@serg.mylan 
							
						 
					 
					
						
						
							
						
						072ddb0194 
					 
					
						
						
							
							bad merge (?) fixed  
						
						
						
						
					 
					
						2004-03-26 13:21:48 +01:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						1448199bd7 
					 
					
						
						
							
							Cleanups & safety fixes  
						
						
						
						
					 
					
						2004-03-25 22:11:22 +02:00 
						 
				 
			
				
					
						
							
							
								jcole@mugatu.jcole.us 
							
						 
					 
					
						
						
							
						
						15cc92cacb 
					 
					
						
						
							
							Added LOCAL INFILE callback function support.  
						
						
						
						
					 
					
						2004-03-22 19:58:49 -05:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						933278a52b 
					 
					
						
						
							
							merge with 4.0 (to get compiler error fixes for innodb)  
						
						
						
						
					 
					
						2004-03-19 15:17:56 +02:00 
						 
				 
			
				
					
						
							
							
								konstantin@mysql.com 
							
						 
					 
					
						
						
							
						
						b9f51f7081 
					 
					
						
						
							
							WL  #1510  "Implement support for "commercial" binaries on handshake",  
						
						... 
						
						
						
						client library:
- implemented 'check_license' function 
						
						
					 
					
						2004-03-17 20:04:50 +03:00 
						 
				 
			
				
					
						
							
							
								konstantin@mysql.com 
							
						 
					 
					
						
						
							
						
						420c956d27 
					 
					
						
						
							
							Intermediate commit of client library (cleanups + fixes of 3 items from  
						
						... 
						
						
						
						flaws list)
TODO: 
 * verify that no sequence of API calls produces SIGSEGV.
 That is, verify that mysql_stmt_init  -> mysql_stmt_fetch is OK,
 or mysql_stmt_prepare -> mysql_stmt_fetch_column is OK and sets
 meaningful error.
 * remove alloc_stmt_fields call
 * revise stmt->state codes and statement states.
 * there are other items in prepared statements 'to fix' document.
Done:
 - cleanups and comments
 - revision of prepared statement error codes.
 - mysql_stmt_prepare is now can always be called (that is, you can reprepare
   a statement)
 - new implementation of mysql_stmt_close and fetch cancellation 
						
						
					 
					
						2004-03-16 01:04:04 +03:00 
						 
				 
			
				
					
						
							
							
								konstantin@oak.local 
							
						 
					 
					
						
						
							
						
						a1834919a9 
					 
					
						
						
							
							Rudimentary part of libmysql patch:  
						
						... 
						
						
						
						set_mysql_error is deployed 
						
						
					 
					
						2004-03-12 15:21:48 +03:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						98fb8ea4c7 
					 
					
						
						
							
							Merge with 3.23 to get patch for floor()  
						
						
						
						
					 
					
						2004-03-12 01:12:14 +02:00 
						 
				 
			
				
					
						
							
							
								konstantin@oak.local 
							
						 
					 
					
						
						
							
						
						082a01d1e0 
					 
					
						
						
							
							Rename:  
						
						... 
						
						
						
						read_statistic -> read_statistics
(statistic is adjective) 
						
						
					 
					
						2004-03-10 20:12:24 +03:00 
						 
				 
			
				
					
						
							
							
								konstantin@mysql.com 
							
						 
					 
					
						
						
							
						
						1d624d3546 
					 
					
						
						
							
							Fix for C++ style declaration  
						
						
						
						
					 
					
						2004-03-05 19:04:59 +03:00 
						 
				 
			
				
					
						
							
							
								konstantin@mysql.com 
							
						 
					 
					
						
						
							
						
						7753c6b93e 
					 
					
						
						
							
							New call mysql_stmt_init() introduced.  
						
						... 
						
						
						
						Renames:
mysql_bind_param      -> mysql_stmt_bind_param
mysql_bind_result     -> mysql_stmt_bind_result
mysql_execute         -> mysql_stmt_execute
mysql_fetch           -> mysql_stmt_fetch
mysql_fetch_column    -> mysql_stmt_fetch_column
mysql_get_metadata    -> mysql_stmt_result_metadata
mysql_param_count     -> mysql_stmt_param_count
mysql_param_result    -> mysql_stmt_param_metadata
mysql_prepare         -> mysql_stmt_prepare
mysql_send_long_data  -> mysql_stmt_send_long_data
client_test.c cleaned up from memory leaks 
						
						
					 
					
						2004-03-05 16:55:09 +03:00 
						 
				 
			
				
					
						
							
							
								monty@mashka.mysql.fi 
							
						 
					 
					
						
						
							
						
						1ae05760ac 
					 
					
						
						
							
							Merge bk-internal.mysql.com:/home/bk/mysql-4.1  
						
						... 
						
						
						
						into mashka.mysql.fi:/home/my/mysql-4.1 
						
						
					 
					
						2004-02-22 11:01:28 +02:00 
						 
				 
			
				
					
						
							
							
								monty@mashka.mysql.fi 
							
						 
					 
					
						
						
							
						
						f816e51096 
					 
					
						
						
							
							Added missing argument to strxnmov() (Applies for windows debug mode)  
						
						
						
						
					 
					
						2004-02-20 17:58:34 +02:00 
						 
				 
			
				
					
						
							
							
								monty@mashka.mysql.fi 
							
						 
					 
					
						
						
							
						
						494e43c1f5 
					 
					
						
						
							
							merge with 4.0 to get security fixes and latest bug fixes  
						
						
						
						
					 
					
						2004-02-20 17:43:02 +02:00 
						 
				 
			
				
					
						
							
							
								hf@deer.(none) 
							
						 
					 
					
						
						
							
						
						e01ea15029 
					 
					
						
						
							
							Fix for  #1429  (Segfault in mysql_stmt_close)  
						
						... 
						
						
						
						Problem was that we checked for existing connection in stmt_close
and did not free(stmt) if it's closed (that didn't work well with
embedded)
I just added new flag to the stmt_close and now we check it instead
of connection 
						
						
					 
					
						2004-02-20 12:18:06 +04:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						e1fee022fa 
					 
					
						
						
							
							Merge bk-internal.mysql.com:/home/bk/mysql-4.0  
						
						... 
						
						
						
						into mysql.com:/home/my/mysql-4.0 
						
						
					 
					
						2004-02-19 22:04:46 +02:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						14dc56b2a1 
					 
					
						
						
							
							Fixed usage of strxnmov() in recent changesets  
						
						
						
						
					 
					
						2004-02-19 22:04:31 +02:00 
						 
				 
			
				
					
						
							
							
								greg@mysql.com 
							
						 
					 
					
						
						
							
						
						25872043b5 
					 
					
						
						
							
							Merge gweir@bk-internal.mysql.com:/home/bk/mysql-4.0  
						
						... 
						
						
						
						into mysql.com:/bk/mysql-4.0 
						
						
					 
					
						2004-02-19 14:56:31 -01:00 
						 
				 
			
				
					
						
							
							
								serg@serg.mylan 
							
						 
					 
					
						
						
							
						
						7a03cf04af 
					 
					
						
						
							
							potential problem fixed afer some reasoning  
						
						
						
						
					 
					
						2004-02-19 09:11:46 +01:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com 
							
						 
					 
					
						
						
							
						
						e9315f984d 
					 
					
						
						
							
							Changed wellformedlen to well_formed_len  
						
						... 
						
						
						
						Fixed that blobs >16M can be inserted/updated
Fixed bug when doing CREATE TEMPORARY TABLE ... LIKE 
						
						
					 
					
						2004-02-17 01:35:17 +02:00 
						 
				 
			
				
					
						
							
							
								hf@deer.(none) 
							
						 
					 
					
						
						
							
						
						e100530b3e 
					 
					
						
						
							
							Fix for  #2212  (mysql_change_user doesn't work in embedded library)  
						
						... 
						
						
						
						now it's working 
						
						
					 
					
						2004-02-14 20:26:21 +04:00 
						 
				 
			
				
					
						
							
							
								konstantin@mysql.com 
							
						 
					 
					
						
						
							
						
						b865fb1cf3 
					 
					
						
						
							
							manual merge, bug  #2247  
						
						
						
						
					 
					
						2004-02-13 00:50:03 +03:00 
						 
				 
			
				
					
						
							
							
								dlenev@mysql.com 
							
						 
					 
					
						
						
							
						
						8e6a2e98ae 
					 
					
						
						
							
							Merge bk-internal.mysql.com:/home/bk/mysql-4.1  
						
						... 
						
						
						
						into mysql.com:/home/dlenev/src/mysql-4.1-bg2248 
						
						
					 
					
						2004-02-11 16:09:33 +03:00 
						 
				 
			
				
					
						
							
							
								hf@deer.(none) 
							
						 
					 
					
						
						
							
						
						f347208ac9 
					 
					
						
						
							
							Addition to the fix for  #2208  
						
						... 
						
						
						
						Made code shorter and more correct 
						
						
					 
					
						2004-02-11 16:35:56 +04:00 
						 
				 
			
				
					
						
							
							
								gluh@gluh.mysql.r18.ru 
							
						 
					 
					
						
						
							
						
						d5fa169fd1 
					 
					
						
						
							
							Fix for bug#2021: Wron error message from the client  
						
						
						
						
					 
					
						2004-02-11 12:30:20 +04:00 
						 
				 
			
				
					
						
							
							
								dlenev@dlenev.mshome 
							
						 
					 
					
						
						
							
						
						8ec663ef5b 
					 
					
						
						
							
							Fixed bug  #2248  "mysql_fetch without prior mysql_execute hangs"  
						
						... 
						
						
						
						Done clean-up in prep stmt API functions:
1) Removed some checks that were performed only in debug version
were making debug version more tolerable to user errors than 
production (and thus caused problems for example masking some
bugs). 
2) Also removed some other checks to make prep stmt API 
consistent with the rest of C API (this also in line with 
general politics - make checks in only those places where 
errors are very common and hard to spot). 
						
						
					 
					
						2004-02-10 16:58:20 +03:00 
						 
				 
			
				
					
						
							
							
								hf@deer.(none) 
							
						 
					 
					
						
						
							
						
						348bd98e48 
					 
					
						
						
							
							Fix for  #2208  (multi-query returns wrong result in embedded library)  
						
						... 
						
						
						
						now we execute only one first select during mysql_real_query
others - during 'mysql_next_result' 
						
						
					 
					
						2004-02-10 17:09:59 +04:00 
						 
				 
			
				
					
						
							
							
								konstantin@oak.local 
							
						 
					 
					
						
						
							
						
						69d00bdb88 
					 
					
						
						
							
							Fix for bug  #2247 : "mysql_stmt_affected_rows returns affected rows from  
						
						... 
						
						
						
						last command" 
						
						
					 
					
						2004-02-06 16:03:09 +03:00 
						 
				 
			
				
					
						
							
							
								greg@mysql.com 
							
						 
					 
					
						
						
							
						
						e845a6685c 
					 
					
						
						
							
							Revise Windows build script, correct comment re NetWare in libmysql.c  
						
						
						
						
					 
					
						2004-01-21 16:06:26 -01:00 
						 
				 
			
				
					
						
							
							
								paul@teton.kitebird.com 
							
						 
					 
					
						
						
							
						
						d1517d4997 
					 
					
						
						
							
							Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1  
						
						... 
						
						
						
						into teton.kitebird.com:/home/paul/mysql-4.1 
						
						
					 
					
						2003-12-23 09:47:02 -06:00 
						 
				 
			
				
					
						
							
							
								hf@deer.(none) 
							
						 
					 
					
						
						
							
						
						a735a51402 
					 
					
						
						
							
							Fix for  #2181  (mysql_execute crashed instead of returning error on embedded  
						
						... 
						
						
						
						server)
We didn't perform the check for the error for embedded server 
						
						
					 
					
						2003-12-23 18:24:33 +04:00 
						 
				 
			
				
					
						
							
							
								paul@teton.kitebird.com 
							
						 
					 
					
						
						
							
						
						4050a2f58a 
					 
					
						
						
							
							Minor comment edits.  
						
						
						
						
					 
					
						2003-12-22 13:08:16 -06:00