Commit graph

369 commits

Author SHA1 Message Date
monty@mashka.mysql.fi
a748b35ddd merge with work 2002-10-02 13:45:16 +03:00
monty@mashka.mysql.fi
d69250a969 Fixes and code cleanups after merge with 4.0.3
Warning handling and initial prepared statement handling (last not complete yet)
Changed a lot of functions that returned 0/1 to my_bool type.
GRANT handling now uses read/write locks instead of mutex
Change basic net functions to use THD instead of NET
(needed for 4.1 protocol)
Use my_sprintf instead of sprintf() + strlen()
Added alloc_query() to be able to chare query initialization code with
prepared statements.
Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()

Note that the following test fails (will be fixed ASAP):
sub_select, union, rpl_rotate_logs and rpl_mystery22
2002-10-02 13:33:08 +03:00
bar@bar.mysql.r18.ru
14938669af Some warning fixes 2002-09-06 18:15:40 +05:00
monty@narttu.mysql.fi
7134ffec21 Merge with 4.0.3
Some simple optimzations, more comments and indentation changes.
Add ` around database in 'use database' in binary log.
Moved max_error_count and max_warning_count to variables struct.
Removed SHOW_WARNS_COUNT and SHOW_ERRORS_COUNT calls.
Changed string functions to use character set of first string argument as default return characterset
(Each string function can change the above assumption if needed)
2002-08-30 12:40:40 +03:00
monty@hundin.mysql.fi
a5edb20042 Fixed timing problem with rpl000001 replication test.
Fixed configure problems with HPUX and openbsd
SHOW SLAVE STATUS returns empty set if slave is not initialized
SHOW MASTER STATUS returns empty set if binary logging is not enabled.
Fixed shutdown problem on Solaris.
2002-08-18 16:04:26 +03:00
monty@hundin.mysql.fi
f7c8bd0e47 Portability fixes for 4.0.3 build.
Don't update MyISAM index file on UPDATE if index is not changed
2002-08-17 18:02:56 +03:00
monty@hundin.mysql.fi
c99c1fd384 Changed IF(expr, column, NULL) to take type from column
Fixed some windows portability problems and removed some compiler warnings
 Cleaned up QUOTE() function and fixed bug in \0 and \Z handling.
2002-08-12 03:33:46 +03:00
serg@sergbook.mysql.com
d981ccf90c fixed mi_comp_unique to use _mi_compare_text() 2002-08-09 13:22:23 +02:00
serg@serg.mysql.com
680c9778f5 Merge serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.00
2002-08-08 21:05:17 +00:00
serg@sergbook.mysql.com
a196e7efc3 "words" of length 1 are removed from stopword list 2002-08-08 13:14:58 +02:00
monty@mashka.mysql.fi
1bb7665a9c merge 2002-08-08 03:29:36 +03:00
monty@mashka.mysql.fi
2c4fa340cc Lots of code fixes to the replication code (especially the binary logging and index log file handling)
Fixed bugs in my last changeset that made MySQL hard to compile.
Added mutex around some data that could cause table cache corruptions when using OPTIMIZE TABLE / REPAIR TABLE or automatic repair of MyISAM tables.
Added mutex around some data in the slave start/stop code that could cause THD linked list corruptions
Extended my_chsize() to allow one to specify a filler character.
Extend vio_blocking to return the old state (This made some usage of this function much simpler)
Added testing for some functions that they caller have got the required mutexes before calling the function.
Use setrlimit() to ensure that we can write core file if one specifies --core-file.
Added --slave-compressed-protocol
Made 2 the minimum length for ft_min_word_len
Added variables foreign_key_checks & unique_checks.
Less logging from replication code (if not started with --log-warnings)
Changed that SHOW INNODB STATUS requre the SUPER privilege
More DBUG statements and a lot of new code comments
2002-08-08 03:12:02 +03:00
serg@sergbook.mysql.com
0e0137b588 one more "suboptimal memory usage during REPAIR for FULLTEXT keys" bug fixed 2002-08-07 23:11:26 +02:00
serg@sergbook.mysql.com
3a2f57745d Merge work:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-08-06 13:10:39 +02:00
serg@sergbook.mysql.com
9621e36238 fixed bug, that caused suboptimal memory usage during REPAIR when ft_max_word_len was decreased by user 2002-08-06 13:09:16 +02:00
jani@hynda.(none)
9bc030f68a Small fixes in mysql and myisamchk. 2002-08-05 17:08:27 +03:00
serg@sergbook.mysql.com
9fae3956c9 make SEARCH_PREFIX to work with complex (use_coll) charsets, namely latin1_de 2002-08-05 00:14:21 +02:00
serg@serg.mysql.com
1b29ee50fc yet another "trunc*" bug fixed - and the fundamental one! (now, when next trunc* word is less than curdoc it doesn't led to wrong results) 2002-08-04 19:20:02 +00:00
serg@sergbook.mysql.com
aa1edc610e rec_buff should be initialized 2002-07-26 20:52:13 +02:00
serg@sergbook.mysql.com
9961a57e90 mi_repair* functions need a separate rec_buff :( 2002-07-26 16:01:04 +02:00
serg@sergbook.mysql.com
43ef1198e9 MyISAM: always store alloced_rec_buff_length with the buffer itself 2002-07-26 14:42:51 +02:00
monty@mashka.mysql.fi
bc035c71f1 Merge with 3.23.51
Fixed wrong usage of sprintf() in ha_innodb.cc
2002-07-25 22:46:28 +03:00
serg@sergbook.mysql.com
51d940bb46 Merge work:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-07-24 21:57:37 +02:00
serg@sergbook.mysql.com
e74ba054ec bugfix: uniques did not contributed to MYI tot_length estimation, which resulted in "Index file full" error on huge SELECT DISTINCT's 2002-07-24 21:56:33 +02:00
monty@mashka.mysql.fi
c702a1f8fd Removed wrong implementation of CUBE/ROLLUP
Fixed bugfix of INSERT ... SET db_name.table_name.column_name
Changed locking to external-locking
Fix client hangup for some invalid SQL queries.
2002-07-24 19:55:08 +03:00
monty@mashka.mysql.fi
4233d3a3d4 merge 2002-07-23 20:39:36 +03:00
monty@mashka.mysql.fi
dddc20d9d1 New SET syntax & system variables.
Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups
2002-07-23 18:31:22 +03:00
serg@sergbook.mysql.com
0642d54a37 parallel repair: style fixups 2002-07-21 21:01:05 +02:00
serg@sergbook.mysql.com
2fe3fec4e4 parallel repair needs rec_buff local for thread !!! 2002-07-14 21:47:46 +02:00
serg@sergbook.mysql.com
3f6491e3eb yet another generalization for rec_buff handling, MI_INFO doesn't need rec_alloc anymore 2002-07-14 13:51:03 +02:00
serg@sergbook.mysql.com
0ae810ae85 mi_fix_rec_buff_for_blob() generalized a bit 2002-07-09 22:42:44 +02:00
serg@sergbook.mysql.com
ffe18e48e5 Merge work:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-07-01 12:58:56 +02:00
serg@sergbook.mysql.com
f72f6467a2 added missing options to help text (myisamchk --help) 2002-07-01 12:58:30 +02:00
monty@hundin.mysql.fi
daaf9b1a31 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-07-01 02:55:57 +03:00
monty@hundin.mysql.fi
4d4d6d34a2 Removed purify warning 2002-07-01 02:50:30 +03:00
serg@serg.mysql.com
f3e1fb4d4c post-merge fix 2002-06-30 23:29:25 +00:00
serg@sergbook.mysql.com
ac26ba181e Merge serg:/usr/home/serg/Abk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-06-30 18:14:49 +02:00
serg@serg.mysql.com
0a1de562a7 merged 2002-06-30 16:14:48 +00:00
serg@serg.mysql.com
a90ad0a0d0 added -H (--HELP) to myisamchk to get a list of all the options it accepts (including debug and internal ones). 2002-06-30 15:05:29 +00:00
serg@serg.mysql.com
53ac59b913 "myisamchk -p" for parallel recover works (no extensive testing though) 2002-06-30 14:17:29 +00:00
serg@sergbook.mysql.com
dc8d7e03c3 Merge work:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-06-29 13:33:46 +02:00
monty@hundin.mysql.fi
3615272269 Fixed copyright in pack_isam.c 2002-06-29 01:06:14 +03:00
monty@hundin.mysql.fi
578a9d9901 Updated windows files (VC++ files and winmysqladmin).
Portability fixes.
Removed compiler warnings.
2002-06-28 17:26:11 +03:00
serg@sergbook.mysql.com
e0381217a6 Merge work:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-06-28 15:19:43 +02:00
serg@sergbook.mysql.com
84103d36d7 parser bug of "phrase search" fixed 2002-06-28 15:18:45 +02:00
monty@hundin.mysql.fi
33f84cf8fe Fixed bug in REPAIR table.
Portability fix in safemalloc.c
2002-06-28 15:06:04 +03:00
monty@hundin.mysql.fi
ade20c5b19 Indentation cleanup & new comments 2002-06-28 09:18:23 +03:00
monty@hundin.mysql.fi
5fa5172b64 merge 2002-06-27 11:35:50 +03:00
monty@hundin.mysql.fi
8a2daeac77 Removed mysql_ssl_clear()
Added statistics information for alarms (for bug tracking)
Don't store "incomplete" in the xxx.cfg file if we are not using --restart. (Crash-me)
Enlarged STACK_BUF_ALLOC becasue of failed crash-me test
Aded new script mysql_tableinfo to make a system directory.
2002-06-27 11:27:04 +03:00
bar@gw.udmsearch.izhnet.ru
337d46966c Several problems were fixed (mostly BLOB+charset related)
Fixed that MyISAM were not working properly with non-8bit charsets in some cases
CONVERT() function now works properly
2002-06-26 16:00:43 +05:00