ingo@mysql.com
85ec87a094
Worklog#1563 - Support of on-line CREATE/DROP INDEX.
...
This is to enable table handlers to implement online create/drop index.
It consists of some parts:
- New default handler methods in handler.h
- Split of mysql_alter_table. It decides if only one kind of
alteration is to be done (e.g. only create indexes or only drop
indexes etc.) It then calls the specialized new handler method if
the handler implements it. Otherwise it calls real_alter_table.
- The parser sets flags for each alter operation detected in a
command. These are used by mysql_alter_table for the decision.
- mysql_prepare_table is pulled out of mysql_create_table. This is
also used by mysql_create_index to prepare the key structure array
for the handler. It is also used by mysql_create_index and
mysql_drop_index to prepare a call to mysql_create_frm.
- mysql_create_frm is pulled out of rea_create_table for use by
mysql_create_index and mysql_drop_index after the index is
created/dropped.
Thanks to Antony who supplied most of the changes.
2004-03-30 19:22:14 +02:00
ingo@mysql.com
6a636a4d07
Merge mysql.com:/home/mydev/mysql-4.1
...
into mysql.com:/home/mydev/mysql-4.1-wl1648
2004-03-19 15:02:26 +01:00
bar@bar.intranet.mysql.r18.ru
f3c4bda023
uca-dump.c:
...
new file
2004-03-19 16:29:37 +04:00
gluh@gluh.mysql.r18.ru
00630a2640
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into gluh.mysql.r18.ru:/home/gluh/mysql-4.1.clear
2004-03-19 14:36:12 +04:00
gluh@gluh.mysql.r18.ru
e9341da7e7
Fix for bug#1439 UDF Corruption
2004-03-19 14:35:00 +04:00
bar@bar.intranet.mysql.r18.ru
66631a3c1e
Bug #3087 CONCAT_WS makes the server die in case of illegal mix of collations
2004-03-19 12:09:14 +04:00
bar@bar.intranet.mysql.r18.ru
f897144c4e
Bug #2821 Table default character set affects LONGBLOB fields
2004-03-19 11:37:49 +04:00
bar@bar.intranet.mysql.r18.ru
fc17aad767
min_sort_char was added, for the future UCA implementation.
...
UCS2 now has its own my_like_range function.
2004-03-19 10:00:46 +04:00
lenz@mysql.com
698217c8d5
Merge mysql.com:/space/my/mysql-4.1
...
into mysql.com:/space/my/mysql-4.1-build
2004-03-18 22:48:37 +01:00
lenz@kallisto.local
9ab6567bcd
- reverted use of AC_CONFIG_SUBDIRS for BDB for now (it somehow did
...
not work as expected) - need to investigate (after 4.1.2 is released)
2004-03-18 22:46:41 +01:00
guilhem@mysql.com
34aefdf31e
Fix for BUG#3214 "mysqlbinlog --read-from-remote-server --position prints wrong positions"
...
I am fixing it here in 4.1, not in 4.0, as it goes with another change
which I did in 4.1 (fix for BUG#3204
""mysqlbinlog --read-from-remote-server this_binlog.001" prints all binlogs").
2004-03-18 20:53:33 +02:00
guilhem@mysql.com
32feac3093
Merge gbichot@213.136.52.20:/home/bk/mysql-4.1
...
into mysql.com:/home/mysql_src/mysql-4.1
2004-03-18 19:31:06 +02:00
guilhem@mysql.com
244304fdbb
Fix for BUG#3204 ""mysqlbinlog --read-from-remote-server this_binlog.001" prints all binlogs":
...
we now detect that the server is sending us a log which we did not request
by testing the info in the fake Rotate event.
I also changed code to not print the fake Rotate which describes the
log we asked for (it's always the first received event but old masters
may not send it).
2004-03-18 19:29:07 +02:00
ingo@mysql.com
7216c3b272
WL#1648 - Start/Stop Inserting Duplicates Into a Table
2004-03-18 16:47:16 +01:00
monty@mysql.com
1e0ccbd9b0
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-03-18 14:57:23 +02:00
heikki@hundin.mysql.fi
fd15536808
trx0undo.h, trx0undo.c, trx0trx.c:
...
Update an obsolete comment about trx commit: we can no longer call trx_undo_update_cleanup_by_discard(), and actually, the idea to call it was erroneous, it cannot work
2004-03-18 14:57:22 +02:00
monty@mysql.com
53196273c9
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-03-18 14:54:12 +02:00
monty@mysql.com
75dda82526
Removed compiler warning
...
Changed _XXX to _MY_XXX to solve conflict problem on Mac OS X
2004-03-18 14:53:38 +02:00
lenz@mysql.com
2de6b52000
Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/space/my/mysql-4.1
2004-03-18 13:17:44 +01:00
lenz@kallisto.local
4493a24dc7
- Use AC_CONFIG_SUBDIRS to invoke the InnoDB and BDB configure scripts
...
instead of calling them directly (WL#1521) - this also fixed a compile
error with libtool-1.5.2 on FreeBSD (error: tag name "CXX" already
exists)
2004-03-18 13:15:05 +01:00
gluh@gluh.mysql.r18.ru
7aee76256b
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into gluh.mysql.r18.ru:/home/gluh/mysql-4.1.clear
2004-03-18 15:54:04 +04:00
gluh@gluh.mysql.r18.ru
1dfe9a0330
Fix for valgrind errors in str_to_TIME(using of uninitialize variable).
2004-03-18 15:51:08 +04:00
serg@serg.mylan
47747685a3
Merge bk-internal:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-03-18 11:04:36 +01:00
serg@serg.mylan
1c658417b1
make DROP DATABASE to behave as documented in the manual - to report number of files deleted
2004-03-18 11:03:24 +01:00
heikki@hundin.mysql.fi
2b16cf783f
os0file.c:
...
Remove includes of sys/types.h and sys/stat.h because these are already included through univ.i
2004-03-18 08:26:49 +02:00
monty@mysql.com
19d0a60eca
Don't change server suffix if given to configure
...
Portability fixes
2004-03-18 01:48:46 +02:00
monty@mysql.com
53c810cda4
merge fixes (use old code)
2004-03-18 00:16:04 +02:00
monty@mysql.com
f34a642d6e
after merge fixes
2004-03-18 00:09:13 +02:00
heikki@hundin.mysql.fi
43706715da
ha_innodb.cc:
...
Add a comment that InnoDB always retrieves the row id, if the clustered index was internally generated by InnoDB. Then we know the 'ref' to the row.
2004-03-17 22:28:49 +02:00
paul@teton.kitebird.com
24baf74c15
Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into teton.kitebird.com:/home/paul/mysql-4.1
2004-03-17 12:43:16 -06:00
paul@teton.kitebird.com
f71f714773
Fix typo.
2004-03-17 12:28:26 -06:00
heikki@hundin.mysql.fi
e8efe9c32a
Many files:
...
Fix Bug #1942 : do not retrieve all columns in a table if we only need the 'ref' of the row (usually, the PRIMARY KEY) to calculate an ORDER BY
2004-03-17 19:37:48 +02:00
paul@teton.kitebird.com
9bf6b3eaf9
Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into teton.kitebird.com:/home/paul/mysql-4.1
2004-03-17 11:15:36 -06:00
ram@gw.mysql.r18.ru
99d374159a
merge
2004-03-17 18:57:51 +04:00
paul@teton.kitebird.com
60a3104b03
Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into teton.kitebird.com:/home/paul/mysql-4.1
2004-03-17 08:56:22 -06:00
ram@gw.mysql.r18.ru
bdd70d1cfd
Added test case for the bug #3155 : strange results with index (x, y) ... WHERE x=val_1 AND y>=val_2 ORDER BY pk;
...
(thankee Monty)
2004-03-17 18:43:58 +04:00
ram@gw.mysql.r18.ru
757cff9f9b
Code cleanup:
...
- added unsigned_flag= 1; to Item_uint constructors
- removed Item_uint::fix_fields()
- added a comment about fix_fields() call
2004-03-17 18:40:04 +04:00
gluh@gluh.mysql.r18.ru
9863b6aed9
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into gluh.mysql.r18.ru:/home/gluh/mysql-4.1.clear
2004-03-17 16:19:52 +04:00
gluh@gluh.mysql.r18.ru
84e04c74c5
Fix for bug#3086: SHOW GRANTS doesn't follow ANSI_QUOTES
2004-03-17 16:19:09 +04:00
ram@gw.mysql.r18.ru
16179dbef0
Fix for the bug #3155 : strange results with index (x, y) ... WHERE x=val_1 AND y>=val_2 ORDER BY pk;
...
(test case is too big to be included, take a look at the bug database)
2004-03-17 15:30:17 +04:00
hf@deer.(none)
5868807b92
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into deer.(none):/home/hf/work/mysql-4.1.233
2004-03-17 14:04:02 +04:00
hf@deer.(none)
91d5e55a90
Fix for #233
...
test for IGNORE added
2004-03-17 14:03:26 +04:00
monty@mysql.com
f9ad650490
merge with 4.0
2004-03-17 10:36:12 +02:00
monty@mysql.com
44667503b7
After merge fixes
2004-03-17 10:30:40 +02:00
monty@mysql.com
e8c65b886d
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/my/mysql-4.0
2004-03-17 10:25:53 +02:00
paul@teton.kitebird.com
0fb07014bf
Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into teton.kitebird.com:/home/paul/mysql-4.1
2004-03-16 15:32:11 -06:00
monty@mysql.com
350b433569
merge with 4.0
2004-03-16 22:41:30 +02:00
bell@sanja.is.com.ua
d3f2ad2039
Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
2004-03-16 21:11:59 +02:00
bell@sanja.is.com.ua
da4b43ae17
accidentaly removed empty line added
2004-03-16 21:09:47 +02:00
miguel@hegel.local
bdd771edc5
Merge miguel@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into hegel.local:/home/miguel/bk/mysql-4.1
2004-03-16 15:55:51 -03:00