serg@serg.mylan
9b3dccd662
reverting Monty's "fix" that turned a warning into an error.
2003-06-16 19:07:48 +02:00
monty@narttu.mysql.fi
c01678bc3d
Added option --read-only (Thanks to Markus Benning)
2003-05-19 12:01:38 +03:00
monty@narttu.mysql.fi
3e72b423e3
Fix for MacOSX and symlinks
...
Fix for USE_FRM and crashed index file
2003-05-14 01:27:26 +03:00
monty@mashka.mysql.fi
4bde719df7
Safety fix to enable RAID in max binaries
...
Better fix for format('nan')
Fix for HAVING COUNT(DISTINCT...)
2003-05-13 10:54:07 +03:00
serg@serg.mylan
12e53eb9e1
parallel-repair available in mysqld
2003-05-04 18:43:37 +02:00
serg@serg.mylan
40435e8554
mising reset_tree() in ft_reinit_search() added
2003-05-03 14:48:51 +02:00
monty@narttu.mysql.fi
9e4f394e59
Fix reference to not initialized memory
...
Changed handing of priv_host to fix bug in FLUSH PRIVILEGES
2003-04-30 10:15:09 +03:00
monty@mashka.mysql.fi
e741c893ea
Fix to remove compiler warnings
2003-04-28 19:05:57 +03:00
monty@mashka.mysql.fi
dd377bfba6
Fixed problem when comparing a key for a multi-byte-character set. (bug 152)
...
Use 0x.... as strings if 'new' mode. (bug 152)
Don't report -max on windows when InnoDB is enabled. (bug 332)
Reset current_linfo; This could cause a hang when doing PURGE LOGS.
Fix for row numbers in EXPLAIN (bug 322)
Fix that USE_FRM works for all table types (bug 97)
2003-04-27 22:12:08 +03:00
monty@mashka.mysql.fi
bf6cfd2948
Fix for -fbranch-probabilites (bug 268)
...
Fix for LEFT/RIGHT/MID with multi-byte-character sets (bug 314)
Fix for new bison 1.875
max_insert_delayed_threads and delayed_insert_timeout now works as documented (bug 211)
Don't show port in SHOW PROCESSLIST for system threads
Fix problem with ORDER BY being discarded for some DISTINCT queries (bug 275)
Fixed bug with NATURAL LEFT JOIN, NATURAL RIGHT JOIN and RIGHT JOIN when
using many joined tables (Bug 212)
2003-04-26 20:43:28 +03:00
serg@sergbook.mysql.com
4c749f6f3e
Merge bk-internal:/home/bk/mysql-4.0
...
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-04-25 15:45:45 +04:00
monty@narttu.mysql.fi
f6a43bd567
Fixes for valgrind
...
Added optimzation for clustered index
Fixed bug in UPDATE ... ORDER BY
Fixed handling of UPDATE ... LIMIT
2003-04-23 21:52:16 +03:00
serg@sergbook.mysql.com
b6ca95a7f4
warning when a 4.1 MYI file is opened in 4.0
2003-04-23 14:03:21 +04:00
serg@sergbook.mysql.com
ae51f04564
do not mark the table as analyzed unless all the key parts are REALLY analyzed.
2003-04-23 00:53:07 +04:00
monty@narttu.mysql.fi
618857b6eb
Merge with 3.23 to get fixes for:
...
mysqldump --delete-master-logs
Portability fix for hammer
Memory overrun for MyISAM
LOAD DATA LOCAL replication bug fix.
2003-04-03 12:33:13 +03:00
Sinisa@sinisa.nasamreza.org
a496daf777
A fix for a bug in MyISAM with large number of NULL columns and at
...
least one BLOB column.
2003-03-25 14:49:43 +02:00
serg@sergbook.mysql.com
6c033b9854
make myisam usable without threads (and even w/o pthread_t)
2003-03-24 11:19:28 +01:00
monty@mashka.mysql.fi
7fdf7a4101
merge with 3.23 to get:
...
- Better detection of crashed .MYI file
- Ignore writeable config files
2003-03-11 21:45:39 +02:00
monty@mashka.mysql.fi
c38125c5db
Cleaned up disk_pos_assert() to be more general.
2003-03-11 21:25:17 +02:00
serg@serg.mysql.com
2a3003e99b
more propection in mi_open against badly corrupted MYI headers
2003-03-10 16:48:13 +01:00
serg@serg.mysql.com
be580475be
fix auto-increment in sub-key and insert ... select
2003-03-02 01:48:57 +01:00
serg@serg.mysql.com
55ae7d26f6
make myisamchk -R to work, if the table contains fulltext indexes
2003-02-22 15:51:21 +01:00
serg@serg.mysql.com
f43600cdd6
do not accept -R (sort by index) for FULLTEXT indexes
2003-02-22 11:44:26 +01:00
serg@serg.mysql.com
00db3c391b
fixed crash with blobs in compressed table
2003-01-30 19:34:19 +01:00
serg@serg.mysql.com
1ced5948f0
low-level error messages cleanup
2003-01-28 17:42:08 +01:00
monty@mashka.mysql.fi
6b71279382
merge
2003-01-28 09:02:51 +02:00
monty@mashka.mysql.fi
689578a099
Fixes for Netware
...
Call pthread_mutex_destroy() on not used mutex.
Changed comments in .h and .c files from // -> /* */
Added detection of mutex on which one didn't call pthread_mutex_destroy()
Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
Added optimisation for ORDER BY NULL
2003-01-28 08:38:28 +02:00
serg@serg.mysql.com
30eb9c5755
remove warnings
2003-01-27 17:52:55 +01:00
serg@serg.mysql.com
5f6b6fa3b3
fixes for SHOW VARIABLES and --ft-stopword-list
2003-01-27 12:12:12 +01:00
serg@serg.mysql.com
2e03648a0f
enadling out-of-cache reads for shared IO_CACHE
2003-01-26 14:20:43 +01:00
serg@serg.mysql.com
f29224c6fe
fixed bug in parallel repair
2003-01-26 12:27:29 +01:00
serg@serg.mysql.com
274df58118
--ft_stopword_file command-line option
2003-01-23 13:20:37 +01:00
monty@mashka.mysql.fi
5c7d102043
After merge fix
2003-01-17 13:57:15 +02:00
monty@mashka.mysql.fi
00be3292b3
Fixed typo
2003-01-17 13:52:23 +02:00
monty@mashka.mysql.fi
f4b950df96
Merge with 3.23
2003-01-16 20:47:46 +02:00
arjen@george.bitbike.com
7297dbc75f
Text fixes: ISAM -> MyISAM for myisamchk (found by Jocelyn Fournier).
2003-01-14 12:21:18 +10:00
monty@mashka.mysql.fi
2ea43f3c53
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
2003-01-09 02:20:29 +02:00
monty@mashka.mysql.fi
3c08da957e
Don't count NULL values in cardinalty for MyISAM tables.
...
Free row buffer cache after each query for MyISAM tables.
Added table join option FORCE INDEX
Fixed core dump bug when connecting with hostname that could not be resolved.
2003-01-09 02:19:14 +02:00
serg@sergbook.mysql.com
27cb1e8c3c
Merge work:/home/bk/mysql-4.0
...
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-01-08 19:44:09 +01:00
serg@sergbook.mysql.com
e98e810664
ft_nlq_search.c:
...
no _mi_search_next() bug fixed
2003-01-08 19:40:35 +01:00
monty@mashka.mysql.fi
9ecf9645eb
A lot of portability fixes.
...
Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables.
2003-01-05 20:18:49 +02:00
monty@mashka.mysql.fi
f22fde21c0
Fixed max_key_length when using UNIQUE keys.
...
This fixed a bug in GROUP BY on a BLOB column with NULL values.
2002-12-27 21:39:35 +02:00
monty@mashka.mysql.fi
9c509fcb52
Transactions in AUTOCOMMIT=0 mode didn't rotate binary log
...
Don't enable any bulk insert or record caching code if inserting less than MIN_ROWS_TO_USE_BULK_INSERT rows (100)
2002-12-14 12:45:31 +02:00
serg@serg.mysql.com
b42eff16cb
bulk insert code optimized
2002-12-07 22:40:20 +01:00
serg@serg.mysql.com
edb671e270
post-merge fix
2002-12-04 10:47:51 +01:00
monty@mashka.mysql.fi
6603d75213
New multi-table-update code
...
New (simpler) internal timestamp handling.
More debuging to heap tables.
Small cleanups to multi-table-delete
false -> 0 and true -> 1 (We should use TRUE and FALSE)
2002-11-29 16:40:18 +02:00
monty@mashka.mysql.fi
dd1b7e0c84
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
2002-11-20 22:57:42 +02:00
monty@mashka.mysql.fi
e65ddf3fc3
Try to optimize the cache buffer size needed for bulk_insert
...
Fix for shutdown on Mac OS X
2002-11-20 22:56:57 +02:00
serg@serg.mysql.com
35282f8967
bug in _ftb_strstr fixed :)
2002-11-20 15:17:17 +01:00
lenz@mysql.com
996255648b
- Applied required modifications for automake 1.5
...
- "make distcheck" needs to be fixed
2002-11-17 16:45:21 +01:00
monty@mashka.mysql.fi
1a96948e81
Small improvement to alloc_root
...
Add support for LIMIT # OFFSET #
Changed lock handling: Now all locks should be stored in TABLE_LIST instead of passed to functions.
Don't call query_cache_invalidate() twice in some cases
mysql_change_user() now clears states to be equal to close + connect.
Fixed a bug with multi-table-update and multi-table-delete when used with LOCK TABLES
Fixed a bug with replicate-do and UPDATE
2002-11-16 20:19:10 +02:00
serg@sergbook.mysql.com
cd6bf73f20
manually merged
2002-11-07 21:56:24 +01:00
monty@butch.
a2bdf9265f
Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes.
2002-11-07 03:54:00 +02:00
serg@sergbook.mysql.com
7ad5882da5
BETWEEN fixed
2002-11-06 16:21:41 +01:00
serg@serg.mysql.com
2d8358bc2e
fixed "huge number of packed rows in MyISAM" bug in 4.0 tree
2002-10-28 23:24:32 +01:00
serg@serg.mysql.com
ebd9fced0b
fixed MyISAM crash on dynamic-row tables with huge number of to-be-packed fields
2002-10-28 22:52:02 +01:00
serg@serg.mysql.com
17f975b8df
less restrictive test for max key length in mi_create
2002-10-23 22:14:59 +00:00
serg@serg.mysql.com
77102d8dac
truncate both MYI and MYD files on DELETE FROM table; to avoid warnings on CHECK TABLE
2002-10-22 15:16:16 +00:00
serg@serg.mysql.com
2d573f5852
ftb wasn't able to re-initialize index search (oops! in joins)
2002-10-19 20:39:35 +00:00
serg@serg.mysql.com
dca6c608eb
some DBUG_ENTER/RETURN macro added
...
safer GWS_PROB, avoid log(0)
2002-10-18 14:53:46 +00: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
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
monty@mashka.mysql.fi
bae4af8a4f
Fixed missing table_list->name -> table_list->alias convert
2002-10-08 17:58:43 +03: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
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
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@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
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
0a270d6562
bugfix: uniques did not contributed to MYI tot_length estimation, which resulted in "Index file full" error on huge SELECT DISTINCT's
2002-07-25 12:30:41 +02: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