Commit graph

502 commits

Author SHA1 Message Date
monty@mashka.mysql.fi
33a377c716 Remove remains of old getopt 2002-06-12 23:54:52 +03:00
monty@mashka.mysql.fi
2aecdd1a91 Big code cleanup/review before 4.0.2 release.
(All commit emails since 4.0.1 checked)
This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
2002-06-11 11:20:31 +03:00
jani@hynda.(none)
c961494444 Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.

Changed some exit code names and corresponding numbers.

Fixed a bug in mysqld.cc, in replication related options.

Added a global flag in my_getopt, which can be set by any program
that is using my_getopt, which tells whether the client should
print the error message itself, or whether my_getopt should do it.
The default is that my_getopt will print the error messages.
2002-05-29 15:07:30 +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
monty@hundin.mysql.fi
c6b21b93dd Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-05-22 21:08:11 +03:00
jani@hynda.(none)
c66162b464 my_getopt:
- some minor bugfixes
- made code more readable
- support for printing GET_BOOL type options in my_print_variables(),
  value is either TRUE or FALSE
2002-05-22 20:45:19 +03:00
monty@hundin.mysql.fi
cee1471ff6 Removed compiler warnings 2002-05-22 19:11:06 +03:00
serg@sergbook.mysql.com
6052c85604 Merge 2002-05-15 20:57:10 +02:00
serg@sergbook.mysql.com
8667b0a2d9 yet another ft-trunc bug fixed 2002-05-15 20:31:24 +02:00
jani@rhols221.adsl.netsonic.fi
3893920cbe Some bug fixes. 2002-05-15 02:33:41 +03:00
jani@dsl-jkl1657.dial.inet.fi
4945fd4a05 - Fixed some option types in my_getopt struct in all clients.
- Added special option/variable prefix '--loose-' to my_getopt.c
2002-05-11 14:36:34 +03:00
serg@serg.mysql.com
7347504ed6 phrase search parser bug 2002-05-08 16:47:27 +00:00
serg@serg.mysql.com
a902712b93 "duplicated rows" bug 2002-05-07 18:27:39 +00:00
monty@hundin.mysql.fi
37d6a4e492 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-04-29 12:25:35 +03:00
monty@hundin.mysql.fi
9d0f8a1b5f Fixed that enable-reads-from-master and repl-parse-query works in option files.
Fixed slowdown problem on win98
Fixed syntax for ALTER TABLE .. RENAME
2002-04-29 12:24:14 +03:00
serg@serg.mysql.com
b79f2f510d Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-04-28 21:27:21 +00:00
serg@serg.mysql.com
900788b2a1 init_dynamic_array MyODBC compatibility fix 2002-04-28 21:22:37 +00:00
monty@hundin.mysql.fi
d367495e39 Portability fixes 2002-04-26 08:56:28 +03:00
monty@hundin.mysql.fi
727122aadd merge 2002-04-25 01:16:42 +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
f0e137e539 follow-up correction patch for 'boolean fulltext search weighting scheme changed' 2002-04-19 13:59:54 +00:00
serg@serg.mysql.com
239f0714a6 boolean fulltext search weighting scheme changed 2002-04-19 13:36:16 +00:00
serg@serg.mysql.com
2e6b3c2673 ftb bug fixed 2002-04-18 18:44:18 +00:00
monty@tik.mysql.fi
f94d84a9ec SHOW VARIABLES LIKE ... are now case insensitive
Fixed stack overflow checking with crash-me with gcc 3.0.4
Using @@unknown_variable doesn't hang client anymore
Added @@VERSION variable
2002-04-18 18:24:14 +03:00
serg@serg.mysql.com
366fe664b0 Merge 2002-04-18 14:26:47 +00:00
serg@serg.mysql.com
3cc69d5a64 phrase search 2002-04-18 14:12:29 +00:00
jani@rhols221.adsl.netsonic.fi
430e9cab9f Bug fixes in mysql.cc and myisamchk.c 2002-04-18 13:53:28 +03:00
jani@rhols221.adsl.netsonic.fi
b3b2b9e0aa Fixed some spelling errors in myisamchk. 2002-04-16 10:52:51 +03:00
serg@serg.mysql.com
08384a3abd getting rid of default_charset_info 2002-04-15 20:32:40 +00:00
serg@serg.mysql.com
a73104645a Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-04-15 18:59:43 +00:00
jani@hynda.mysql.fi
70a258757c Merge and two bug fixes in my_getopt.c 2002-04-03 15:44:20 +03:00
jani@hynda.mysql.fi
22a35da68c merge 2002-04-03 13:36:01 +03:00
jani@hynda.mysql.fi
6980eafe08 Merged in some changes made to MySQL clients by other
developers before pushing my_getopt.
2002-04-03 13:33:25 +03:00
jani@hynda.mysql.fi
c143f01dd1 Changed mysql, mysqladmin, mysqlshow, mysqldump, mysqlimport,
mysqlcheck and myisamchk to use new my_getopt struct.
2002-04-02 20:29:53 +03:00
serg@serg.mysql.com
ea04d331e4 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-04-02 15:02:28 +00:00
monty@hundin.mysql.fi
727e507bca merge with 3.23.50 2002-03-27 01:56:10 +02:00
monty@hundin.mysql.fi
ce541b292a support for unsigned FLOAT/DOUBLE 2002-03-27 00:50:54 +02:00
serg@serg.mysql.com
eaf8a2f947 minor bug fixed 2002-03-22 17:18:06 +00:00
monty@hundin.mysql.fi
ed040fe21e Fix for bug in WHERE key='j' or key='J' 2002-03-22 14:03:42 +02:00
monty@hundin.mysql.fi
f0e835ac09 Fixed problem with WHERE key=const ORDER BY key DESC 2002-03-15 21:30:50 +02: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
serg@serg.mysql.com
2cac65ab72 optimization fix for bulk insert code 2002-03-13 13:17:11 +00:00
serg@serg.mysql.com
f1a14b4c1a merged 2002-03-09 13:23:35 +00:00
serg@serg.mysql.com
ebaa0dc3be several trunc* bugs fixed - to accomplish that, search algorithm was somewhat changed. 2002-03-09 13:18:44 +00:00
monty@hundin.mysql.fi
b5a4f89ea6 Portability fixes
Fix bug when using option groups
2002-03-06 22:12:08 +02:00
serg@serg.mysql.com
2a973ced22 bug with indexless boolean fts fixed 2002-03-04 13:17:49 +00:00
serg@serg.mysql.com
a93191a41a ft_boolean_search - minor simplification
manual: News updated
2002-02-26 12:42:22 +00:00
serg@serg.mysql.com
410cae668d bug fixed 2002-02-19 13:42:33 +00:00
monty@hundin.mysql.fi
fdb253467a Cleanup 2002-02-11 04:55:52 +02:00
monty@hundin.mysql.fi
40c77c767b Removed compiler warnings 2002-02-09 04:00:24 +02:00
monty@hundin.mysql.fi
d36ac6b669 Fix some bugs introduced with the new my_getopt
Added counting of rollback's and commits
Fixed bug in 'SELECT 0 LIMIT 0'
Fixed bug in 'SELECT SQL_CALC_FOUND_ROWS'
2002-02-08 03:21:34 +02:00
jani@rhols221.adsl.netsonic.fi
d57b95b695 Bug fixes and new functionality added in my_getopt and myisamchk 2002-02-06 17:22:43 +02:00
monty@hundin.mysql.fi
4000b036c0 Fixes for new getopt
Bug fix when using --no-deaults
Sets ref_length to right value (faster rnd_pos() handling in InnoDB).
Fixed problem with multi-table-delete and InnoDB
Fixed problem with truncate table, which required a COMMIT before.
Fixed multi-table-delete bug with InnoDB.
Remove not used index from EXPLAIN
2002-01-31 04:36:58 +02:00
monty@hundin.mysql.fi
79796e989f Merge from 3.23.48 tree 2002-01-30 16:37:47 +02:00
jani@hynda.mysql.fi
784e1d8b34 New functionality to my_getopt. myisamchk now uses my_getopt
only.
2002-01-30 05:08:17 +02:00
monty@hundin.mysql.fi
20530c307b merge 2002-01-26 01:24:38 +02:00
monty@hundin.mysql.fi
b9d3a55238 Update needed for SuSE 7.3
Update for autoconf 2.52
2002-01-26 01:19:47 +02:00
jani@rhols221.adsl.netsonic.fi
40fcae6d4b Added my_getopt struct and modified myisamchk to the bk tree. 2002-01-25 23:34:37 +02:00
serg@serg.mysql.com
5c1da27358 small bugfix 2002-01-19 19:01:55 +00:00
monty@hundin.mysql.fi
df5f8c18eb Move HA_EXTRA_NO_READCHECK to ha_open
Fixed bug in multi-table-delete
2002-01-16 23:02:26 +02:00
monty@hundin.mysql.fi
bea12d761a merge 2002-01-16 01:08:29 +02:00
monty@hundin.mysql.fi
4d10a0cb7e Add support for NULL=NULL in keys (Used in GROUP BY optimization)
Add ISAM to Windows version
Fix of test results
Fixes for NULL keys in HEAP tables.
2002-01-16 00:42:52 +02:00
serg@serg.mysql.com
1522294344 ftb-bugfix 2002-01-14 15:40:54 +00:00
serg@serg.mysql.com
cffbd7e3d8 ft-bugfix (UPDATE something -> NULL) 2002-01-13 15:35:12 +00:00
monty@tik.mysql.fi
7dd4eb71fe Added support of null keys in HEAP tables
Added ORDER BY optimization
2002-01-12 15:42:54 +02:00
monty@hundin.mysql.fi
ff17389116 Fix for FLUSH QUERY CACHE
Fix for new bug in CREATE TABLE when sorting keys.
2002-01-05 22:51:42 +02:00
monty@hundin.mysql.fi
4b877e0088 Added macros for nice TIMESPEC usage.
Fixes for building MySQL with gcc 3.0
Added SIGNED / UNSIGNED casts
Fixed core dump bug in net_clear() with libmysqld.
Back to using semaphores in query cache.
Added 'Null' and 'Index_type' to SHOW INDEX.
2002-01-02 21:29:41 +02:00
serg@serg.mysql.com
fc3e066f36 freebsd fix for openssl
horrible bug fixed
2001-12-15 21:39:26 +01:00
monty@hundin.mysql.fi
1d3e058c4b Added FLUSH DES_KEY_FILE.
New HEX() function.
Final (?) cleanup of des_encrypt() / des_decrypt().
Added missing files to Makefiles.
2001-12-13 15:53:18 +02:00
monty@hundin.mysql.fi
a5f061c7fb Merge 2001-12-13 02:38:39 +02:00
serg@serg.mysql.com
a910dacaba rewrote ft_boolean_find_relevance() to use ft_segiterator 2001-12-11 19:58:41 +01:00
monty@hundin.mysql.fi
8bef3771f4 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-12-11 20:47:07 +02:00
monty@hundin.mysql.fi
9ca9fc2283 Fix for MyISAM records > 16M 2001-12-11 20:45:48 +02:00
serg@serg.mysql.com
e9595dee53 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2001-12-11 14:40:56 +01:00
serg@serg.mysql.com
8e714e9f58 committing to be able to pull 2001-12-11 14:39:53 +01:00
serg@serg.mysql.com
22f71c2e66 _mi_ft_segiterator function family 2001-12-11 14:35:48 +01:00
monty@hundin.mysql.fi
6b02f13cf3 Removed compiler warnings.
Added new operators to be used with gcc 3.0.x
Update of query cache code.
Added semaphores for Windows (not yet in use)
Added pthread_mutex_trylock for windows.
2001-12-10 00:08:24 +02:00
monty@hundin.mysql.fi
b658662ae4 Update copyright
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
2001-12-06 14:10:51 +02:00
monty@hundin.mysql.fi
b4da2fb0ab Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-12-06 02:36:19 +02:00
serg@serg.mysql.com
b048cb34a0 bulk_insert feature can be turned off 2001-12-05 23:26:56 +01:00
monty@hundin.mysql.fi
90004e340b Fixed bug in LEFT JOIN 2001-12-05 23:15:05 +02:00
monty@hundin.mysql.fi
40da504605 merge 2001-12-05 13:08:00 +02:00
monty@hundin.mysql.fi
1de4fff5ba Update of query cache code.
Changed some sql_alloc() -> thd->alloc()
Removed a lot of compiler warnings on Linux Alpha (64 bit)
Fixed some core dumps on 64 bit systems (wrong type for packet_len)
2001-12-05 13:03:00 +02:00
serg@serg.mysql.com
9c6effa6a3 ft_boolean_search.c bugfix "+(aaa bbb) +ccc"
ft_dump.c	-l option - report word length distribution (for ft_max_word_len_for_sort)
2001-12-04 14:24:47 +01:00
monty@hundin.mysql.fi
1d26537da5 Query cache.
Remove some warnings
2001-12-02 14:34:01 +02:00
monty@hundin.mysql.fi
79caca1d96 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-11-29 22:05:53 +02:00
monty@hundin.mysql.fi
ce7a0a0293 Fix not critical MyISAM bug in locking.
Free character sets properly (for embedded).
Add missing mutex in HANDLER CLOSE
2001-11-29 21:46:51 +02:00
serg@serg.mysql.com
49b6f02dbe Merge 2001-11-28 18:01:50 +01:00
serg@serg.mysql.com
4a5ca1073b boolean fulltext search without an index 2001-11-28 17:55:45 +01:00
monty@bitch.mysql.fi
d0ccff5090 New improved IO_CACHE 2001-11-28 02:55:52 +02:00
serg@serg.mysql.com
163f0c8512 ft_dump re-enabled, manual fixes 2001-11-22 22:50:41 +01:00
serg@serg.mysql.com
b96c309f99 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2001-11-22 19:40:50 +01:00
serg@serg.mysql.com
59f3a95834 ft_boolean_syntax variable 2001-11-22 19:35:35 +01:00
serg@serg.mysql.com
307fb4a390 fixes for ft-boolean and range optimizer 2001-11-22 16:00:11 +01:00
monty@hundin.mysql.fi
9209210d30 Fix bug when repairing compressed MyISAM files
LOCATE() is now case sensitive
2001-11-22 13:50:50 +02:00
monty@hundin.mysql.fi
c79c6945ee Fixed problem when repairing packed MyISAM files. 2001-11-22 03:39:42 +02:00
serg@serg.mysql.com
16e16e7d07 ignore ft_min_word_len and stopword check for truncated words in the query 2001-11-13 19:25:06 +01:00
serg@serg.mysql.com
7a7f94d803 memory leak fixed 2001-11-10 01:54:31 +01:00
monty@hundin.mysql.fi
dd43f32d5a Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-11-08 01:33:46 +02:00
serg@serg.mysql.com
0674da3b27 ft_boolean_search.c test 2001-11-08 00:16:08 +01:00
serg@serg.mysql.com
9fdd88e1f3 bug in relevance calculation fixed 2001-11-08 00:06:07 +01:00
monty@hundin.mysql.fi
30209c1d66 Portability fix.
Fixed linking problem with InnoDB.
2001-11-07 02:30:34 +02:00
monty@hundin.mysql.fi
f9a321af8a merge 2001-11-07 00:19:36 +02:00
monty@hundin.mysql.fi
9285b745d6 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-11-07 00:14:43 +02:00
monty@hundin.mysql.fi
4c60b41954 Portability fix
Cleanup typos (like SKIPP -> SKIP)
2001-11-07 00:13:29 +02:00
monty@hundin.mysql.fi
4157d12df5 Added missing mysqlbinlog to binary distributions.
Applied patch to mysqlhotcopy
2001-11-07 00:08:57 +02:00
serg@serg.mysql.com
bfc6a29df6 cleanup 2001-11-06 19:30:19 +01:00
serg@serg.mysql.com
e3849552b1 Merge 2001-11-06 16:43:47 +01:00
serg@serg.mysql.com
1f5c997667 ft boolean search by table scan; queue_fix() 2001-11-06 16:17:31 +01:00
monty@bitch.mysql.fi
771af387e3 Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2001-11-06 00:10:08 +02:00
monty@bitch.mysql.fi
886a6d286d emove purify warnings 2001-11-06 00:05:45 +02:00
monty@hundin.mysql.fi
96fc8a7de6 Make ft_xxx variables ulong to not break mysqld.cc init of variables.
mysqltest: replace_result now also affects error messages
2001-11-05 03:43:00 +02:00
monty@hundin.mysql.fi
3afb157ca2 Fixes up things after merge from 3.23.44
Portability fixes.
Don't delete temporary tables on FLUSH tables.
2001-11-05 01:04:08 +02:00
monty@hundin.mysql.fi
fd0780493d merge with 3.23.44 2001-11-04 16:14:09 +02:00
monty@hundin.mysql.fi
2ac4ad6984 merge 2001-11-03 22:28:16 +02:00
monty@hundin.mysql.fi
0716bf4d0e Portability fixes 2001-10-31 20:28:43 +02:00
monty@hundin.mysql.fi
5a9ce774dc Update for OS2 (patch from Yuri Dario).
Use LONG_TIMEOUT (one year) instead of ~0 for long timeouts
Fixed error messages.
Fixed problem with const propagation when comparing columns of different types
2001-10-31 03:22:31 +02:00
monty@tramp.mysql.fi
abb7df2de1 Fixed error message when opening a not-MyISAM file.
Extended MODIFY and CHANGE in ALTER TABLE to accept the AFTER keyword.
Extended MyISAM to handle records > 16M.
2001-10-29 10:49:35 +02:00
serg@serg.mysql.com
ed2a54193a Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2001-10-23 10:56:08 +02:00
tim@black.box
0d3ffcf462 Remove unused lines in mysiam/Makefile.am that confused automake. 2001-10-22 18:30:53 -04:00
serg@serg.mysql.com
392315df0c I have to commit to be able to pull 2001-10-22 11:52:17 +02:00
serg@serg.mysql.com
c4229a8dcd two bugs in ft_update 2001-10-20 16:37:26 +02:00
serg@serg.mysql.com
5051120313 typo fixed 2001-10-17 14:49:54 +02:00
serg@serg.mysql.com
8ad15872a5 misc. fulltext staff 2001-10-11 18:46:35 +02:00
serg@serg.mysql.com
5d79a1ed6c quck fix for `make all' to work 2001-10-09 16:14:56 +02:00
serg@serg.mysql.com
3911c81024 merged 2001-10-09 16:01:06 +02:00
serg@serg.mysql.com
9ec4ca9c4d get rid of comp() macro - CMP is already in place 2001-10-09 15:23:44 +02:00
serg@serg.mysql.com
3d3ef6528a Boolean search passes _some_ tests 2001-10-09 14:53:54 +02:00
monty@hundin.mysql.fi
88aff4bf85 Updated manual about embedded version.
Speed up column-completion in 'mysql'
Don't use ISAM if HAVE_ISAM is not defined
A lot of fixes for the embedded version.  All libraries are now included in libmysqld.a
Changed arguments to convert_dirname() to make it more general.
Renamed files in the 'merge' directory to all use a common prefix.
Don't compile both assembler and C functions on x86
2001-10-08 04:58:07 +03:00
monty@hundin.mysql.fi
d28f23c14f Fixed bug in INSERT DELAYED
Fixed some problems in SHOW CREATE TABLE
Fixed calculation of checksums in myisamchk
2001-10-02 21:08:08 +03:00
monty@hundin.mysql.fi
880026ccf6 Cleaned up SSL documentation
Fixes for embedded server
Made key_cache more configurable
Fixed that one can change key blocksize in MyISAM
A lot of optimizations to make MyISAM slightly faster
2001-10-02 05:53:00 +03:00
serg@serg.mysql.com
5a9a3e91e7 get rid of ft_search. Now there're two sets of ft_ functions, ft_nlq_* and ft_boolean_* 2001-09-25 20:31:02 +02:00
serg@serg.mysql.com
57e4c8ef3b Initial checkin of the new boolean fulltext search code 2001-09-21 18:38:17 +02:00
monty@hundin.mysql.fi
5a14bb2a7e Integrated table->ref_primary_key into table->part_of_key
Fixed bug in UNION
2001-09-21 03:38:35 +03:00
monty@hundin.mysql.fi
a439dccaec Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-09-18 22:46:39 +03:00
monty@hundin.mysql.fi
1aeb2a125c Cleanup 2001-09-18 22:46:08 +03:00
monty@work.mysql.com
961b693327 merge 2001-09-18 21:27:28 +02:00
monty@hundin.mysql.fi
1ac9e1e678 Fix bug in SELECT EXPLAIN ... ORDER BY 2001-09-18 22:13:35 +03:00
monty@work.mysql.com
55485f5c2d Merge work.mysql.com:/home/bk/mysql
into work.mysql.com:/home/bk/mysql-4.0
2001-09-18 04:17:52 +02:00
monty@hundin.mysql.fi
cd78a8be66 Fix for LOAD DATA FROM MASTER when using tables with checksum
Fixed some wrong test cases
2001-09-18 04:58:15 +03:00
serg@serg.mysql.com
6e31331068 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2001-09-18 00:46:16 +02:00
monty@hundin.mysql.fi
bfc7394ec3 Fixed bug in UNION when doing UNION with the same tables 2001-09-17 22:44:51 +03:00
monty@hundin.mysql.fi
fe1753de58 Fixed locking problem when using bulk insert
Fixed array overrun when using drop_db
Portability fixes
2001-09-17 17:53:27 +03:00
serg@serg.mysql.com
a7e40c570e flush bulk-insert tree on dup key 2001-09-15 17:04:04 +02:00
monty@hundin.mysql.fi
0d72e5440f Portability fixes 2001-09-15 16:22:34 +03:00
monty@hundin.mysql.fi
77ee990bca Cleanups 2001-09-15 05:03:16 +03:00
monty@work.mysql.com
18474d8419 Merge with 3.23.42 2001-09-13 09:52:35 +02:00
monty@hundin.mysql.fi
7a19987805 OS2 patch 2001-09-12 23:53:31 +03:00
monty@hundin.mysql.fi
fa23b20789 Fixes for German sorting order. 2001-09-11 01:40:52 +03:00
monty@work.mysql.com
81006dd227 Merge work.mysql.com:/home/bk/mysql
into work.mysql.com:/home/bk/mysql-4.0
2001-09-04 01:04:32 +02:00
monty@hundin.mysql.fi
0b2af6bdfd Ensure that libmysqlclient doesn't use raid
Fix problem with MyISAM and rows of length 65517-65520
2001-09-04 01:25:34 +03:00
monty@work.mysql.com
bf1f7a2837 merge 2001-09-02 20:13:07 +02:00
monty@hundin.mysql.fi
7f8f1bd979 Fix to not running mysqld as root by default 2001-09-02 20:42:07 +03:00
monty@work.mysql.com
447c18954e merge with 3.23.42 2001-09-02 18:38:33 +02:00
monty@hundin.mysql.fi
ef97deb059 Portability fixes 2001-08-31 10:20:19 +03:00
monty@hundin.mysql.fi
91db5836e0 Portability fixes 2001-08-30 21:16:39 +03:00
monty@hundin.mysql.fi
55edbd24cf Fixed problem in myisampack with blobs 2001-08-30 14:24:15 +03:00
serg@serg.mysql.com
e17126b231 Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2001-08-29 13:43:50 +02:00
serg@serg.mysql.com
aeafb909e0 "freeing of unallocated pointer" bug fixed 2001-08-29 13:42:14 +02:00
tonu@x153.internalnet
451e3c8c3b Some warning fixes and some SSL testprograms check-in 2001-08-26 00:18:20 +08:00
monty@hundin.mysql.fi
dfcb208e53 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-08-23 00:59:19 +03:00
monty@hundin.mysql.fi
e127a952a6 Portability fixes 2001-08-23 00:55:48 +03:00
tim@white.box
f811aa44b1 Merge 2001-08-21 19:24:35 -04:00
tim@white.box
96fb3dd329 myisamchk.c Make --set-character-set actually do something. 2001-08-21 19:07:28 -04:00
monty@hundin.mysql.fi
733f865f54 Fixes for OS2.
Fix bug in isamlog
Add argument types to function declarations.
2001-08-22 01:45:07 +03:00
monty@hundin.mysql.fi
2662e135c7 Remove usage of my_dup(), as this casued error 127 when reading MyISAM tables
New definition of WEEK().
2001-08-21 13:44:01 +03:00
monty@hundin.mysql.fi
a1be2a894f Fix of UNION code
Added heap_delete_table
Added HA_EXTRA_PREPARE_FOR_DELETE
Added and use my_dup() for faster open of tables.
Removed not working no-mix-table-type
2001-08-19 14:43:51 +03:00
monty@hundin.mysql.fi
b1cb5b6ff0 Portability fixes.
Let myisamchk generate a new checksum for compressed data.
Don't unconditionally force filenames to lower case on windows.
Update mysqltest to match 4.0 source (to get some of the new bug fixes into 3.23)
2001-08-18 10:49:00 +03:00
monty@hundin.mysql.fi
59e7c97dab Remove warnings and portability fixes
New global read lock code
Fixed bug in DATETIME with WHERE optimization
Made UNION code more general.
2001-08-14 20:33:49 +03:00
sasha@mysql.sashanet.com
f6836bf81a merged 2001-08-09 19:16:15 -06:00
monty@tik.mysql.fi
0d55e93614 Fix when using --without-server --with-thread-safe-client
Added prototype for my_thread_end
New error message for MATCH
Give error when using myisamchk --force --readonly
2001-08-04 00:10:00 +03:00
serg@serg.mysql.com
423f2851c5 ft-update bug fixed 2001-07-27 20:39:48 +02:00
serg@serg.mysql.com
6288cfb848 bulk insert bug fixed 2001-07-26 15:57:34 +02:00
sasha@mysql.sashanet.com
b5f76be024 merged with 3.23 2001-07-17 16:23:36 -06:00
monty@tik.mysql.fi
7ff42f8218 Merge 2001-07-16 03:07:45 +03:00
monty@tik.mysql.fi
bf9876a195 Patch for netBSD
Added warning for tables where the auto_increment key is 0
Fixed DELETE ... LIMIT 0
Fixed UPDATE ..LIMIT 0
2001-07-16 03:04:30 +03:00
serg@serg.mysql.com
0bbd660c99 merged 2001-07-12 14:58:20 +02:00
serg@serg.mysql.com
a753136440 bug fixed 2001-07-12 14:09:51 +02:00
serg@serg.mysql.com
db4a860203 cleanups 2001-07-10 20:23:37 +02:00
monty@tik.mysql.fi
fc81fdb4ba Redefinition of myisam_bulk_insert_tree_size
Removed new error message
Fixed test case for varbinary
Threads are again killable in "merge_buffers"
Cleanup of sql_repl.cc
SHOW OPEN TABLES now works when no tables are opened
2001-07-10 15:53:08 +03:00
monty@tik.mysql.fi
ca771c46bb merge 2001-07-08 06:24:03 +03:00
monty@tik.mysql.fi
0559758630 Added support for ANSI SQL X'hex-string' format.
Fixed mysqldump to use -- instead of # as comment characters.
Removed support for the 3.20 protocol format
2001-07-04 09:39:58 +03:00
serg@serg.mysql.com
0043136882 merged 2001-07-02 21:52:22 +02:00
serg@serg.mysql.com
15b6738474 memory-limited tree
bulk inserts optimization: caching keys in binary tree
2001-07-02 21:18:57 +02:00
monty@work.mysql.com
545e596ef7 merge 2001-06-28 14:51:18 +02:00
monty@hundin.mysql.fi
96aac3f0f5 Cleanup 2001-06-28 10:58:04 +03:00
monty@hundin.mysql.fi
897b37b506 Changed safe_mysqld -> mysqld_safe
Added some alias to SHOW commands
Prepare for dynamic changing of MySQL variables
2001-06-28 10:49:16 +03:00
monty@hundin.mysql.fi
85388703c4 Fixed length rows should not use row checksum in MyISAM tables
Fixed bug in handling of packed MyISAM keys
2001-06-26 10:23:50 +03:00
serg@serg.mysql.com
3c7cc2285c bug in _mi_prefix_search fixed 2001-06-21 16:40:24 +02:00
monty@hundin.mysql.fi
a06f391e7a Fixed multi-table-delete
Optimize fixed length MyISAM rows to use pread/pwrite.
2001-06-15 05:03:15 +03:00
monty@work.mysql.com
0652902ab5 merge 2001-06-12 14:12:35 +02:00
monty@tik.mysql.fi
1f409baf4c Changed compare in MyISAM to use my_pread()
Fixed that @VAR shows all decimals
Fixed problem with FLUSH TABLES and LOCK TABLE
CREATE ... SELECT now creates keys later
Reset AUTO_INCREMENT order if droping AUTO_INCREMENT key
2001-06-11 15:01:28 +03:00
monty@hundin.mysql.fi
4cbe66582c Symlinking of tables should not work.
Fixed error number handling bug in mysqltest.
Fixed that error number from insert delayed is reported correctly.
merged new vio code with old violite code.
2001-06-05 03:38:10 +03:00
monty@work.mysql.com
ef8d161dea merge 2001-06-01 23:51:23 +02:00
monty@hundin.mysql.fi
dd83beb76a Added --skip-symlinks
Don't force repair of tables that are not closed properly.
2001-06-01 19:38:47 +03:00
monty@hundin.mysql.fi
866a82782c Added support for symlinked tables.
myisamchk: Don't force a repair if the only problem was that the
open count wasn't correct.
Added missing error messages.
2001-06-01 04:27:59 +03:00
monty@hundin.mysql.fi
b7c3a28149 Removed compiler warnings.
Added preliminary handling of symlinks in MyISAM.
When using myisamchk to check tables with --force, don't repair
tables that are marked as 'not closed' if they are ok.
Change fn_format() to use my_real_path and my_symlink
2001-05-31 14:07:17 +03:00
serg@serg.mysql.com
92c91e95bf Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2001-05-24 13:19:57 +02:00
serg@serg.mysql.com
c3039e8005 ALTER TABLE ... DISABLE/ENABLE KEYS, code cleanup 2001-05-24 13:14:25 +02:00
monty@tik.mysql.fi
8685094e15 Don't write rows in MyISAM tables when using count(distinct)
Don't read MyISAM header when running without locking
2001-05-23 02:40:46 +03:00
monty@donna.mysql.fi
a3be64bfa5 Fixed that MySQL compiles again after last merge. 2001-05-20 16:08:09 +03:00
monty@work.mysql.com
914bbdca50 merge 2001-05-20 12:38:19 +02:00
monty@donna.mysql.fi
2ba0846a60 Fixed bug when using MERGE on files > 4G
Fixed bug in SELECT db1.table.* FROM db1.table,db2.table
Fixed bug in INSERT DELAYED when doing shutdown and a table was locked
Changed that tmp_table_size =4G-1 means unlimited.
2001-05-17 00:46:50 +03:00
sasha@mysql.sashanet.com
a12117f036 change tree to use qsort_cmp2 - compare function with 3 instead of 2 arguments 2001-05-10 18:14:15 -06:00
sasha@mysql.sashanet.com
7c9b9f471c Merged with 3.23, needs further fix-up 2001-05-10 15:06:35 -06:00
monty@donna.mysql.fi
a94ba10f8d Fix for BDB and LOCK TABLES 2001-04-19 20:41:19 +03:00
serg@serg.mysql.com
185c2beaea ft_* variables added 2001-04-17 21:30:02 +02:00
sasha@mysql.sashanet.com
568d72f0e9 Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-04-11 19:39:04 -06:00
sasha@mysql.sashanet.com
3d76b4348e BitKeeper/triggers/post-commit
use REAL_EMAIL
myisam/mi_search.c
    merged the dropped lines
ignore junk in libmysqld directory
2001-04-11 19:38:02 -06:00
sasha@mysql.sashanet.com
593e7ab4f3 Ugly merge of 3.23 changes into 4.0 - fix up needed 2001-04-11 19:09:00 -06:00
monty@donna.mysql.fi
53f518c42d Fixed bug when using a key on a CHAR(255) NULL column 2001-04-12 00:56:55 +03:00
monty@donna.mysql.fi
417dd72856 Added SQL_CALC_FOUND_ROWS and FOUND_ROWS() 2001-04-12 00:54:35 +03:00
monty@work.mysql.com
8f62579c38 Added all changes from old 4.0 version:
PSTACK, libmysqld and MySQL filesystem
UPDATE ... ORDER BY
DELETE ... ORDER BY
New faster fulltext handling
Faster compressed keys
2001-04-11 13:04:03 +02:00
monty@donna.mysql.fi
65822120f5 Fixed bug in ALTER TABLE
Removed _mi_rkey() function
New fork_big.pl multi-thread test
2001-04-01 13:45:48 +03:00
monty@donna.mysql.fi
1a077f4a55 Let ALTER TABLE and LOAD DATA INFILE use sorting to create index
Call init_signals before intializing table handlers. This should fix the signal problem in Innobase on Solaris
2001-03-28 04:16:04 +03:00
monty@donna.mysql.fi
dab74107ab Fix a crash in Innobase with tables with many columns and a range query
Removed all Attic directories.
2001-03-26 16:49:11 +03:00
monty@donna.mysql.fi
add70fc1ba Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
(For glibc 2.2)
2001-03-26 01:05:04 +03:00
monty@tik.mysql.fi
6f9a73a1ba Added isolation levels
Added SELECT .. FOR UPDATE and SELECT .. IN SHARE MODE
2001-03-21 01:02:22 +02:00
monty@donna.mysql.fi
2aa2255c04 Improved ANALYZE TABLE a bit for small tables. 2001-03-15 13:36:14 +02:00
monty@donna.mysql.fi
e829e96dbc Patch from sleepycat to fix problem with BDB and log files
Print full command name to log files
Convert table type to supported onces on ALTER TABLE
2001-03-06 20:38:53 +02:00
monty@donna.mysql.com
bfc0d5ca29 Fixed problem with concurrent inserts and read-previous
Fix for BSDI 4.0
2001-02-18 13:56:10 +02:00
monty@donna.mysql.com
0ccc30f40c Fixed that myisamchk -R works on text columns
Fixed typo when removing space from argument to -O
2001-02-18 01:39:09 +02:00
monty@donna.mysql.com
ece13efde9 Write UNION() for MERGE tables 2001-02-17 19:04:33 +02:00
monty@donna.mysql.com
c533308a15 Added Innobase to source distribution 2001-02-17 14:19:19 +02:00
monty@donna.mysql.com
450d98e341 Changed --replace to --replace_result in mysqltest
Changed errmsg -> my_errmsg (portability issue)
Fixed that mysqlbinlog writes SET TIMESTAMP before all queries
Fixed comments in default my.cnf files
2001-02-15 03:43:14 +02:00
monty@donna.mysql.com
a8c7affe21 Added "--character-sets-dir" to myisampack 2001-02-07 23:42:43 +02:00
monty@donna.mysql.com
bdbc0ef7a0 New myisamchk option --sort-recover
Allow delete of crashed MyISAM tables
Fixed bug when BLOB was first part of key
Fixed bug when using result from CASE in GROUP BY
Fixed core-dump bug in monthname()
Optimized calling of check_db_name()
2001-01-31 04:47:25 +02:00
monty@donna.mysql.com
c40b10730e merge 2001-01-28 21:41:10 +02:00
monty@donna.mysql.com
ce2260586d Fixed ALTER TABLE on MERGE tables
Fixed bug in DISTINCT
2001-01-28 21:35:50 +02:00
serg@serg.mysql.com
802fc0a054 logging_ok Logging to logging@openlogging.org accepted
mi_check.c	fix for empty FULLTEXT index
manual.texi	fulltext finetuning 50% limit issue modified
2001-01-27 13:32:29 +01:00
tim@cane.mysql.fi
08d36171a9 Add --with-server-suffix (MYSQL_SERVER_SUFFIX). 2001-01-19 02:46:13 +02:00
monty@donna.mysql.com
3ca140edb3 Fixed bug in CHECK TABLE ... EXTENDED
Added keyword MEDIUM to CHECK TABLE
New benchmarks results for Linux-alpha
2001-01-16 15:02:25 +02:00
monty@donna.mysql.com
c1b5a5b00f Removed not used variable 'last_ref'
Fixed problem with negative DECIMAL() keys
Fixed some bugs with NULL keys in BDB
More mysql-test tests
2001-01-16 06:02:05 +02:00
monty@donna.mysql.com
40494168ad Fixed test when exeeding file quota on write
Sanity checks when opening MyISAM files
2001-01-15 17:17:43 +02:00
monty@donna.mysql.com
6d0e529042 Fixed bug when having many binary log files
Fixed bug when deleting keys with possible NULL values
many changes to mysqltest
2001-01-08 00:04:30 +02:00
monty@donna.mysql.com
ff0e2e2d7a Fixed bug in myisamchk -r -k# 2001-01-03 18:02:56 +02:00
monty@donna.mysql.com
4de5ac3327 Fixed new bug in BDB tables 2000-12-31 11:38:44 +02:00
monty@donna.mysql.com
361067e915 Extended mysqltest with --commands and 'require'
Fixed test results.
Added mysqld variable 'have_isam'
2000-12-27 03:31:06 +02:00
monty@donna.mysql.com
08a2c58ed1 Fixed bug in 'drop table'
Portability fixes
2000-11-29 05:09:28 +02:00
serg@serg.mysql.com
b01622e362 Merge 2000-11-28 18:46:07 +01:00
serg@serg.mysql.com
0878cd5edd errmsg.txt translated
opt_range.h	bugs with const_tables and filesort fixed
opt_range.cc	bugs with const_tables and filesort fixed
item_func.cc	bugs with const_tables and filesort fixed
ha_myisam.h	bugs with const_tables and filesort fixed
ha_myisam.cc	bugs with const_tables and filesort fixed
ft_search.c	bugs with const_tables and filesort fixed
2000-11-28 18:11:18 +01:00
monty@donna.mysql.com
74e7ffe987 New thr_alarm struct for better integration with OS2
Run bootstrap in separate thread
Fix bug in FLUSH TABLES table_name
2000-11-28 04:47:47 +02:00
monty@donna.mysql.com
dc5e32ea40 Added connect_timeout and fix for transactions per statement 2000-11-27 02:28:41 +02:00
monty@donna.mysql.com
e049538cb0 Split error message for crashed table to 3 different error messages.
Fixes for Windows
2000-11-22 03:45:02 +02:00
monty@donna.mysql.com
b65dbb6114 Fixed problem with auto-repair of MyISAM tables
Fixed bug in ISAM and MyISAM when updating from multiple-processes
2000-11-21 03:43:34 +02:00
monty@donna.mysql.com
b31d076879 Fixed some reported bugs 2000-11-18 23:13:48 +02:00
monty@donna.mysql.com
a9097ca323 changed to use IO_CACHE instead of FILE 2000-11-16 03:58:58 +02:00
serg@serg.mysql.com
f8078dccf6 ft_parser.c minor bug that causes slightly incorrect weights and was found only by occation fixed 2000-11-09 11:38:07 +01:00
serg@serg.mysql.com
ff8df2c42b Ill-minded FULLTEXT impilict initialization hack removed.
From now on FULLTEXT search is initialized expilictly in mysql_select()
2000-11-02 17:36:21 +01:00
monty@donna.mysql.com
adeed9168d Added bdb_lock_max and fixed bug in BDB tables when using key parts 2000-10-25 01:50:46 +03:00