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
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
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
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