pappa@c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se
ac10cffe80
OPTIMIZE, ANALYZE, CHECK, REPAIR and REBUILD only supported if fast_alter_partition flag set
2006-03-22 10:52:12 -05:00
pappa@c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se
05105a02cc
manual merge
2006-03-22 00:17:22 -05:00
pappa@c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se
3dc4635c70
Merge c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1-new
...
into c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/wl2826
2006-03-21 10:44:59 -05:00
pappa@c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se
86086e7193
Manual merge
2006-03-20 23:55:10 -05:00
pappa@c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se
4d2b8f8ef6
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug17754
2006-03-20 22:47:48 -05:00
pappa@c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se
738176c15f
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug17754
2006-03-20 14:41:50 -05:00
pappa@c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se
bd77396a94
BUG#17754
...
Added new syntax ALTER TABLE t1 REMOVE PARTITIONING,
changed semantics of ALTER TABLE t1 ENGINE=X; to not remove partitioning
Fix a number of mix engine bugs in partitioning
2006-03-20 14:36:21 -05:00
holyfoot@mysql.com
fc94004a65
merging
2006-03-20 19:22:56 +04:00
gluh@eagle.intranet.mysql.r18.ru
c0420a5c5e
Bug#14367 Partitions: crash if utf8 column
...
use part_info->item_free_list instead of thd->free_list during partition function parsing
2006-03-20 17:41:45 +04:00
holyfoot@vva.(none)
a68742f460
bug #17290 (sp with delete, create and rollback causes MySQLD core)
...
additional fixes
2006-03-20 17:30:01 +04:00
holyfoot@mysql.com
d1909208a3
Merge bk@192.168.21.1:mysql-5.1-new
...
into mysql.com:/home/hf/work/mysql-5.1.clean
2006-03-18 18:51:17 +04:00
holyfoot@vva.(none)
8074262eda
bug 17290 and bug 14350
...
added THD::work_part_info member where we now store modified
partition_info structure.
It allows no solve problem when different parts of the part_info get
into different mem_roots
2006-03-18 18:48:21 +04:00
mikael@zim.(none)
89b10826ce
BUG#17772
...
A crash after ALTER TABLE t1 RENAME ...
2006-03-16 03:21:15 -08:00
mikael@zim.(none)
083e3da011
Manual merge
2006-03-14 03:46:12 -08:00
mikael@zim.(none)
cad342ae02
Merge zim.(none):/home/mikael/bug17127
...
into zim.(none):/home/mikael/bug16370
2006-03-14 02:50:29 -08:00
mikael@zim.(none)
4b4b8f933e
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into zim.(none):/home/mikael/bug17127
2006-03-14 02:32:46 -08:00
mikael@zim.(none)
0ec5ee2c50
Manual merge
2006-03-14 01:39:27 -08:00
mikael@zim.(none)
ff77d7665d
Merge zim.(none):/home/mikael/bug15961
...
into zim.(none):/home/mikael/bug16370
2006-03-14 01:24:06 -08:00
mikael@zim.(none)
946979d2af
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into zim.(none):/home/mikael/bug16370
2006-03-14 01:07:29 -08:00
mikael@zim.(none)
a0f22844a7
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into zim.(none):/home/mikael/bug15961
2006-03-14 00:51:44 -08:00
mikael@zim.(none)
4adb973df4
BUG#15961: After review fixes
...
New error message
2006-03-14 00:39:06 -08:00
jimw@mysql.com
cf48e4cde6
Merge mysql.com:/home/jimw/my/mysql-5.1-17097
...
into mysql.com:/home/jimw/my/mysql-5.1-clean
2006-03-13 06:20:20 -08:00
jimw@mysql.com
ed453f077f
Bug #17097 : Partitions: failing ADD PRIMARY KEY leads to temporary rotten metadata,crash
...
When doing an ALTER TABLE on a table using partitioning, force the table
definition to get reloaded, since it may become invalid whenever the ALTER
TABLE fails (even for an ALTER TABLE without specific partitioning changes).
2006-03-13 05:01:11 -08:00
mikael@zim.(none)
d10a0e7e35
Ensure we discover also error in using subpartition parts in
...
non-subpartitioned tables in ALTER TABLE ADD/REORGANIZE PARTITION
2006-03-11 06:32:24 -08:00
mikael@zim.(none)
c34c2cfa45
BUG#15961: SUBPARTITION defined in non-subpartitioned table no error
...
Made sure that no subpartition stuff in non-subpartitioned table
2006-03-11 06:17:10 -08:00
mikael@zim.(none)
8d3c7e3b27
BUG#16370: Default subpartitioning not properly handled in conjunction
...
with ALTER TABLE ADD/REORGANIZE PARTITION
Ensure that default subpartitioning is removed when subpartitions
are defined in ADD/REORGANIZE PARTITION
2006-03-11 05:56:06 -08:00
mikron@mikael-ronstr-ms-dator.local
8a5f3b5339
Merge mikael@gorf.tangent.org:/home/mikael/bug17127
...
into mikael-ronstr-ms-dator.local:/Users/mikron/bug17127
2006-03-10 10:43:39 +01:00
brian@zim.(none)
469893066b
Fixed portability issue in 5.1 to include parsers from other applications.
2006-03-09 17:37:59 -08:00
mikron@mikael-ronstr-ms-dator.local
0a48cd762a
BUG#17127: Crash if wrong use of VALUES for list partition
2006-03-09 18:19:34 +01:00
gluh@eagle.intranet.mysql.r18.ru
bcf710e97c
Fix for bug#15447 Partitions: NULL is treated as zero
...
NULL value handling
2006-03-07 15:25:08 +04:00
bar@mysql.com
abf1fc9bd5
Bug#14527: Partitions: table unreadable if partition name = c-cedilla
...
sql_partition.cc:
Changeing THD charset to utf8 when parsing a frm file.
partition_charset.test, partition_charset.result:
new file
2006-03-02 12:25:02 +04:00
tomas@poseidon.ndb.mysql.com
7c6ed2d681
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
2006-03-01 09:57:36 +01:00
kent@mysql.com
5d722a8491
Merge
2006-02-28 23:29:58 +01:00
tomas@poseidon.ndb.mysql.com
5a46fbfbd8
Bug #17499 continued
...
- moved initialization of used_partitions
- more tests
+ removed reference to fixed bugs
2006-02-28 17:51:27 +01:00
tomas@poseidon.ndb.mysql.com
81479bde6a
Bug #17701 , ALTER TABLE t1 ADD PARTITION for PARTITION BY LIST hangs test
...
- code wrongly tries to do a "fast alter partition", although not supported
2006-02-28 12:29:50 +01:00
guilhem@mysql.com
0071749595
WL#2977 and WL#2712 global and session-level variable to set the binlog format (row/statement),
...
and new binlog format called "mixed" (which is statement-based except if only row-based is correct,
in this cset it means if UDF or UUID is used; more cases could be added in later 5.1 release):
SET GLOBAL|SESSION BINLOG_FORMAT=row|statement|mixed|default;
the global default is statement unless cluster is enabled (then it's row) as in 5.1-alpha.
It's not possible to use SET on this variable if a session is currently in row-based mode and has open temporary tables (because CREATE
TEMPORARY TABLE was not binlogged so temp table is not known on slave), or if NDB is enabled (because
NDB does not support such change on-the-fly, though it will later), of if in a stored function (see below).
The added tests test the possibility or impossibility to SET, their effects, and the mixed mode,
including in prepared statements and in stored procedures and functions.
Caveats:
a) The mixed mode will not work for stored functions: in mixed mode, a stored function will
always be binlogged as one call and in a statement-based way (e.g. INSERT VALUES(myfunc()) or SELECT myfunc()).
b) for the same reason, changing the thread's binlog format inside a stored function is
refused with an error message.
c) the same problems apply to triggers; implementing b) for triggers will be done later (will ask
Dmitri).
Additionally, as the binlog format is now changeable by each user for his session, I remove the implication
which was done at startup, where row-based automatically set log-bin-trust-routine-creators to 1
(not possible anymore as a user can now switch to stmt-based and do nasty things again), and automatically
set --innodb-locks-unsafe-for-binlog to 1 (was anyway theoretically incorrect as it disabled
phantom protection).
Plus fixes for compiler warnings.
2006-02-25 22:21:03 +01:00
reggie@linux.site
52fbc7a1cd
BUG# 17430 Partitoins: crash on SELECT * FROM t1 WHERE f_int1 IS NULL
...
BUG# 17432: Partitions: wrong result, SELECT ... WHERE <column> is null
2006-02-24 10:10:41 -06:00
reggie@linux.site
cb10b77c31
BUG #15408 - Partitions: subpartition names are not unique
2006-02-21 17:40:07 -06:00
pappa@c-9a08e253.1238-1-64736c10.cust.bredbandsbolaget.se
dd17f48630
Merge c-9a08e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1-bugs
...
into c-9a08e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/wl2826
2006-02-20 16:41:46 -05:00
pappa@c-9a08e253.1238-1-64736c10.cust.bredbandsbolaget.se
d42757f87e
WL 2826: Error handling of ALTER TABLE for partitioning
...
Bug fixes
2006-02-20 16:22:19 -05:00
pappa@c-9a08e253.1238-1-64736c10.cust.bredbandsbolaget.se
6ee7ab8aa3
WL 2826: Error handling of ALTER TABLE for partitioning
...
Fix compiler issues
2006-02-20 15:07:03 -05:00
reggie@linux.site
1527e94fc8
BUG# 15408 Partitions: subpartition names are not unique
...
THis patch goes along with 1.2098.23.1 to form the complete patch
2006-02-16 15:02:44 -06:00
reggie@big_geek.
3ce0880d3f
Merge reggie@192.168.0.9:/home/reggie/work/mysql-5.1-bug15408
...
into big_geek.:C:/Work/mysql/mysql-5.1-bug15408
2006-02-16 11:07:21 -06:00
reggie@big_geek.
466a5bb399
BUG#15408: Partitions: subpartition names are not unique
...
Also, moved some of the code out of handler.h and into partition specific files for better
separation.
Also, moved some of the C funcs into partition_info as formal C++ methods
2006-02-16 10:38:33 -06:00
mikron@mikael-ronstr-ms-dator.local
b856931987
WL 2826: Error handling of ALTER TABLE for partitioning
...
Final part of the error handling of ALTER TABLE for partitioning
2006-02-15 14:05:15 +01:00
mskold@mysql.com
5e4df23c96
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-work
2006-02-15 12:52:30 +01:00
gluh@eagle.intranet.mysql.r18.ru
544a1a98a5
Fix for bug#16907 Partitions: crash, SELECT goes into last partition, UNIQUE INDEX
...
In presense of subpartitioning use get_part_partition_id() to calculate part_id
2006-02-15 14:34:51 +04:00
mskold@mysql.com
64aa3861a4
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-work
2006-02-15 11:19:45 +01:00
mikron@c-6b09e253.1238-1-64736c10.cust.bredbandsbolaget.se
be8a2ae4be
WL 2826: Error handling of ALTER TABLE for partitioning
...
Started writing detailed error handler of
ALTER TABLE for partitioning.
Philosophical issue, should one always attempt to make recovery
automatic or should one rely on manual means also.
2006-02-15 11:08:08 +01:00
gluh@eagle.intranet.mysql.r18.ru
00fc4cabe5
Fix for bug#16901 Partitions: crash, SELECT, column of part. function=first column of primary key
...
use part_info->no_subparts to calculate partition range in case of subpartitions
2006-02-15 13:42:43 +04:00