Commit graph

571 commits

Author SHA1 Message Date
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
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
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
serg@sergbook.mysql.com
a0cfa78970 post-merge fix 2002-06-24 22:22:23 +02:00
Sinisa@sinisa.nasamreza.org
e7f46fc9ec Fix for a very small type in myisamchk usage text 2002-06-24 23:22:21 +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
monty@mashka.mysql.fi
fc52abc50f Cleanup of checking of user resources
Added missing checking of no_keyread
2002-06-16 17:06:12 +03:00
serg@serg.mysql.com
2874917198 do not use bulk insert tree code if ``myisam_bulk_insert_tree_size'' is too small 2002-06-14 13:20:02 +00:00
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
monty@hundin.mysql.fi
ee6bd84880 Changes for new binary .frm format
Fixes after last merge from 4.0.
(Code not yet complete, need anoter merge from 4.0)
2002-06-04 08:23:57 +03:00
monty@hundin.mysql.fi
f0b28da6f9 merge with 4.0 2002-06-03 12:59: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
monty@hundin.mysql.fi
e013efcc12 Fixed problem in fulltest testcase 2002-05-22 18:51:21 +03:00
ram@gw.udmsearch.izhnet.ru
3b43cb2960 BTREE heap key structure is now the same as MyISAM
_mi_compare_text -> mi_compate_text
Changes according Monty's suggestions
2002-05-21 21:54:08 +05: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
ram@gw.udmsearch.izhnet.ru
b8a12a8cec MI_KEYSEG -> HA_KEYSEG
_mi_key_cmp -> ha_key_cmp
2002-04-25 15:10:29 +05:00
bar@gw.udmsearch.izhnet.ru
eab2893dac RB-Tree indexes support in HEAP tables
Renamed _hp_func  ->  hp_func
mi_key_cmp moved to /mysys/my_handler.c
New tests for HEAP tables
2002-04-25 13:36:55 +05: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
monty@hundin.mysql.fi
b5a145d872 merge 2002-04-13 15:34:39 +03: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
bar@gw.udmsearch.izhnet.ru
b37ce8e769 New ctype functions/macros to support many charsets at a time 2002-03-12 21:37:58 +04: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
bar@gw.udmsearch.izhnet.ru
fc74d81b3f This ChangeSet adds RTREE support into myisam library.
RTREEs will be used for GIS extension in MySQL
2002-02-20 14:11:21 +04: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