Commit graph

402 commits

Author SHA1 Message Date
serg@serg.mysql.com
d552ba7d8a support for HA_READ_PREFIX_LAST_OR_PREV in headres
full support for HA_READ_PREFIX_LAST_OR_PREV in MyISAM
protected by #if NOT_IMPLEMENTED_YET in opt_range.cc as not all table handlers support it
2002-10-25 14:09:47 +00:00
serg@serg.mysql.com
31d702dd68 Merge work:/home/bk/mysql-4.1
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
2002-10-22 00:30:17 +00:00
serg@serg.mysql.com
43599856b2 make REPAIR killable 2002-10-22 00:25:36 +00:00
monty@hundin.mysql.fi
3476dc8f9e Merge hundin.mysql.fi:/my/mysql-4.0 into hundin.mysql.fi:/my/mysql-4.1 2002-10-16 19:31:22 +03:00
monty@hundin.mysql.fi
fbf6ab4465 merge with 4.0.5 2002-10-16 19:30:24 +03:00
monty@hundin.mysql.fi
a54df74af0 Fixes after last merge.
Ignore changed keyblocks when on does DELETE FROM table_name;
2002-10-16 19:05:10 +03:00
monty@hundin.mysql.fi
67d3cd643b Merge with 3.23.54 2002-10-16 13:11:25 +03:00
serg@serg.mysql.com
fcb8bc061d merged 2002-10-14 11:36:48 +00:00
serg@serg.mysql.com
68cd8c47fc --tmpdir=dir1:dir2... uses (is_windows ? ";" : ":") as a delimiter 2002-10-12 17:43:40 +00:00
serg@serg.mysql.com
f7ca3212ea Merge work:/home/bk/mysql-4.1
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
2002-10-12 17:40:57 +00:00
bar@bar.mysql.r18.ru
de434ff8ab Don't use sort_order directly 2002-10-10 17:32:24 +05:00
bar@bar.mysql.r18.ru
69dc5ef8f6 Don't use sort_order directly 2002-10-10 17:14:56 +05:00
lenz@mysql.com
5c0d195a5b Merge 2002-10-09 21:03:59 +02:00
serg@serg.mysql.com
32dff16a72 fixed repair_by_sort FULLTEXT bug 2002-10-09 18:57:13 +00:00
bar@bar.mysql.r18.ru
954a47b95a Simple charsets now have strncoll() field too 2002-10-09 15:40:57 +05:00
monty@mashka.mysql.fi
bae4af8a4f Fixed missing table_list->name -> table_list->alias convert 2002-10-08 17:58:43 +03:00
serg@serg.mysql.com
e65536b147 --tmpdir=dir1:dir2:... support in myisamchk 2002-10-08 14:34:04 +00:00
lenz@mysql.com
727e3056d9 Merge mysql.com:/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-automake
2002-10-08 16:22:35 +02:00
jani@rhols221.adsl.netsonic.fi
d4fc18bf5f Small fixes in mysql and myisampack 2002-10-04 17:18:41 +03:00
monty@mashka.mysql.fi
0f39457613 Merge with 4.0.4 2002-10-02 17:55:12 +03:00
monty@mashka.mysql.fi
4d705988d5 Update libmysqld to use 4.1 protocol. 2002-10-02 14:14:36 +03:00
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
lenz@mysql.com
3cf7acb756 - Applied required modifications for automake 1.5
- some additional small fixes
 - added "depcomp" for automake 1.5
2002-10-01 21:57:10 +02:00
serg@serg.mysql.com
fdc42017d2 fixed bug in myisamchk -R mode 2002-09-25 14:29:38 +00:00
monty@mashka.mysql.fi
f638ee6df9 Added code to flush a bulk_insert index.
This fixes a bug when doing multi-row inserts on table with an auto_increment key that is not in the first key segment.
2002-09-18 21:04:49 +03:00
serg@sergbook.mysql.com
7118d006b4 ft-boolean + ORDER BY (ftb tree reusing) bug 2002-09-17 21:04:10 +02:00
serg@sergbook.mysql.com
888d3cf757 max_key_length MyISAM bugfix 2002-09-10 21:40:01 +02:00
bar@bar.mysql.r18.ru
14938669af Some warning fixes 2002-09-06 18:15:40 +05:00
serg@serg.mysql.com
2697582cfb merged 2002-09-04 16:00:57 +00:00
serg@sergbook.mysql.com
2a6b91bc32 wrong test for -q/-qq (T_QUICK/T_FORCE_UNIQUENESS) in myisamchk corrected 2002-09-04 08:05:29 +02:00
monty@mashka.mysql.fi
a01a0840dc Some trivial optimzations
Check if AND/OR expression can be NULL; Fixed bug in GROUP BY and-or-expression where expression could be NULL
Bug fix for SHOW OPEN TABLES when user didn't have privilege to access all open tables.
Better fix for ALTER TABLE on BDB tables.
2002-09-03 15:44:25 +03:00
serg@serg.mysql.com
2e15d13fd8 LOCK+change+OPTIMIZE MyISAM bug 2002-08-31 20:42:41 +00:00
Sinisa@sinisa.nasamreza.org
f883e5eb27 A nasty fix when all rows are deleted with a write lock 2002-08-30 22:17:24 +03: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
monty@mashka.mysql.fi
621b5da80e Fixed bug with GROUP BY on NULL fields.
(Merge of code from 4.0)
2002-08-05 18:10:53 +03: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