serg@serg.mylan
0c2107c6b4
minor fixups: more verbose on "no memory" errors - report requested size, avoid flushing rec buffer to a file that is closed and deleted already (on got_error=1)
2003-11-19 23:07:31 +01:00
serg@serg.mylan
9837748e5f
obligatory update checksum on repair, if it is obligatory verified on check.
2003-11-14 22:08:45 +01:00
monty@narttu.mysql.fi
dfd981505a
More explicit error messages from myisamchk
2003-09-16 14:45:42 +03:00
serg@serg.mylan
1fb8c31e07
Merge bk-internal:/home/bk/mysql-4.0/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2003-08-26 23:57:14 +02:00
serg@serg.mylan
f7f48719f8
fix ANALYZE TBALE to never generate rec_per_key_part < 1, as it prevent the table from being marked as analyzed (and the value is meaningless anyway)
2003-08-26 23:52:15 +02:00
monty@narttu.mysql.fi
f83e876065
Update of VC++ project files (to remove link warnings)
...
Fix unlock error in myisamchk on windows when doing --sort-index
Use SetFilePointer instead of SetFilePointerEx
2003-08-25 14:27:32 +03:00
monty@mashka.mysql.fi
8f08c511ee
Review of changesets since last pull.
...
(Mostly code cleanups)
2003-08-07 20:16:37 +03:00
serg@serg.mylan
c8c7aab6a0
Bug#937
...
myisamchk.c:
help text clarified
mi_check.c:
allow one to "analyze" empty table :)
2003-07-30 16:15:10 +02:00
monty@narttu.mysql.fi
7b8a54b512
Fixed memory overrun when doing REPAIR on table with multi-part auto_increment key where one part was a packed CHAR
2003-07-18 04:04:24 +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@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
serg@sergbook.mysql.com
6c033b9854
make myisam usable without threads (and even w/o pthread_t)
2003-03-24 11:19:28 +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
00db3c391b
fixed crash with blobs in compressed table
2003-01-30 19:34:19 +01:00
serg@serg.mysql.com
f29224c6fe
fixed bug in parallel repair
2003-01-26 12:27:29 +01: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
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
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
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
serg@serg.mysql.com
32dff16a72
fixed repair_by_sort FULLTEXT bug
2002-10-09 18:57:13 +00:00
serg@serg.mysql.com
fdc42017d2
fixed bug in myisamchk -R mode
2002-09-25 14:29:38 +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
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
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
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
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
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@serg.mysql.com
0a1de562a7
merged
2002-06-30 16:14:48 +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
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
monty@hundin.mysql.fi
ade20c5b19
Indentation cleanup & new comments
2002-06-28 09:18:23 +03:00
serg@sergbook.mysql.com
dcdfe5b545
mi_check T_xxx options massaged. T_REP_PARALLEL added
...
my_getopt-related style changes in myisamchk.c
2002-06-24 21:21:33 +02:00
serg@serg.mysql.com
099d78d4cb
resolving
2002-06-20 00:55:06 +00:00
serg@serg.mysql.com
5c83ae3fca
multithreaded repair-by-sort code
...
parallel read access to IO_CACHE
2002-06-19 23:54:45 +00:00
monty@hundin.mysql.fi
b44b485491
Ensure that share->tot_locks s updated correctly
...
This fixes that mysamchk --sort-records works on windows.
2002-06-17 12:34:19 +03:00
jani@rhols221.arenanet.fi
16e3b892a6
Changed ft_dump, ft_eval, ft_test1, mi_test1, myisampack, gen_lex_hash,
...
mysqlmanager from using GNU getopt to use my_getopt.
Changed some files that just included old getopt.h to include
my_getopt.h now.
Fixed a bug in my_print_help() in my_getopt.c.
Made better documentation for option -G in mysql client.
2002-05-24 14:06:58 +03:00
serg@serg.mysql.com
57fb3329c0
Fulltext todo updated, typo in mi_check.c fixed
2002-04-22 18:35:19 +00:00
serg@serg.mysql.com
3f51fcf1f1
mi_check flags cleanup
...
CHECK/REPAIR syntax cleanup
REPAIR ... USE_FRM syntax
2002-03-13 17:20:17 +00:00
monty@hundin.mysql.fi
79796e989f
Merge from 3.23.48 tree
2002-01-30 16:37:47 +02:00