jani@hynda.mysql.fi
d3a0ce08c7
Fixed a wrong regexp in mysql-test-run.
2007-11-14 17:10:01 +02:00
jani@hynda.mysql.fi
88bcde7661
Merge hynda.mysql.fi:/home/my/mysql-5.1-main
...
into hynda.mysql.fi:/home/my/mysql-5.1-marvel
2007-11-14 16:32:03 +02:00
istruewing@stella.local
6223deb694
Bug#32091: Security breach via directory changes
...
Post pushbuild fix
Disabled test on windows due to bug#30459
(DATA/INDEX DIR for partitions not working on windows)
Patch from Mattias Jonsson.
2007-11-13 11:12:53 +01:00
istruewing@stella.local
5f206cb372
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines
...
into stella.local:/home2/mydev/mysql-5.1-bug31210
2007-11-13 10:33:50 +01:00
istruewing@stella.local
edce8a63e2
Bug#32078 - Excessive warnings: One can only use the --user switch
...
if running as root
Every start of a server in the test suite raised that warning.
The cause was an unconditionla add of the --user option to the
server command line. Only the "root" user (effective user id == 0)
must use that option.
Added check for effective user id == 0 before adding --user.
Thanks to Magnus Svensson for the patch.
2007-11-13 10:25:22 +01:00
mattiasj@mattiasj-laptop.(none)
f5d1d682bc
Merge mattiasj@bk-internal.mysql.com:/home/bk/mysql-5.1-engines
...
into mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-last_with_main
2007-11-12 22:40:43 +01:00
mattiasj@mattiasj-laptop.(none)
32d7dd8679
Merge mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-main
...
into mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-last_with_main
2007-11-12 21:09:48 +01:00
svoj@june.mysql.com
d03491e8f9
Merge mysql.com:/home/svoj/devel/mysql/BUG32111/mysql-5.0-engines
...
into mysql.com:/home/svoj/devel/mysql/BUG32111/mysql-5.1-engines
2007-11-12 21:55:53 +04:00
svoj@june.mysql.com
9799d6c479
Merge mysql.com:/home/svoj/devel/mysql/BUG32111/mysql-4.1-engines
...
into mysql.com:/home/svoj/devel/mysql/BUG32111/mysql-5.0-engines
2007-11-12 21:54:04 +04:00
svoj@mysql.com/june.mysql.com
ed8f506d29
symlink.test, symlink.result:
...
Use proper variable for test.
2007-11-12 21:52:30 +04:00
istruewing@stella.local
6a4a920b0c
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines
...
into stella.local:/home2/mydev/mysql-5.1-bug31210
2007-11-12 15:55:40 +01:00
mattiasj@mattiasj-laptop.(none)
c22c91ecde
Merge mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-fixtopush
...
into mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-lastfinaltopush
2007-11-12 15:04:48 +01:00
mattiasj@mattiasj-laptop.(none)
75fea7f6d9
Merge mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-bug29368
...
into mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-lastfinaltopush
2007-11-12 14:58:20 +01:00
mattiasj@mattiasj-laptop.(none)
bb31a28990
Merge mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-bug31705
...
into mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-lastfinaltopush
2007-11-12 14:57:00 +01:00
mattiasj@mattiasj-laptop.(none)
232a1ec01d
Merge mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-bug32091
...
into mattiasj-laptop.(none):/home/mattiasj/clones/mysql-5.1-lastfinaltopush
2007-11-12 14:55:50 +01:00
mattiasj@mattiasj-laptop.(none)
43578c9097
Bug#31705 Partitions: crash if varchar length > 65530
...
Buffer overflow due to wrong key length in partitioning
Changed to the correct key_length function.
2007-11-12 14:51:14 +01:00
mattiasj@mattiasj-laptop.(none)
9c05d109aa
Bug#32091: Security breach via directory changes
...
Merge fix
partition_mgm did not require have_symlink.
Moved the test case to partition_symlink, which
require have_symlink, and should work on both *nix and
Windows
2007-11-12 13:23:45 +01:00
istruewing@stella.local
b05471de73
Bug#31210 - INSERT DELAYED crashes server when used on
...
partitioned table
Post-pushbuild fix
Pushbuild detected yet another need for lex initialization in
embedded server.
2007-11-12 13:07:54 +01:00
jani@hynda.mysql.fi
ee053112ee
Merge hynda.mysql.fi:/home/my/mysql-5.1-main
...
into hynda.mysql.fi:/home/my/mysql-5.1-marvel
2007-11-12 13:43:46 +02:00
svoj@june.mysql.com
162d70cb02
Merge mysql.com:/home/svoj/devel/mysql/BUG32111/mysql-5.0-engines
...
into mysql.com:/home/svoj/devel/mysql/BUG32111/mysql-5.1-engines
2007-11-12 15:26:37 +04:00
svoj@june.mysql.com
5e44309422
Merge mysql.com:/home/svoj/devel/mysql/BUG32111/mysql-4.1-engines
...
into mysql.com:/home/svoj/devel/mysql/BUG32111/mysql-5.0-engines
2007-11-12 15:16:00 +04:00
svoj@mysql.com/june.mysql.com
40a78cd390
After merge fix.
2007-11-12 15:15:16 +04:00
svoj@mysql.com/june.mysql.com
a6def1f4ab
Merge mysql.com:/home/svoj/devel/mysql/BUG32111/mysql-4.0
...
into mysql.com:/home/svoj/devel/mysql/BUG32111/mysql-4.1-engines
2007-11-12 15:02:42 +04:00
mats@kindahl-laptop.dnsalias.net
e4e8cb3a90
BUG#31611 (Security risk with BINLOG statement):
...
Adding missing drop of user created for test case.
2007-11-12 11:29:55 +01:00
mattiasj@mattiasj-laptop.(none)
e7e18ac405
Bug#30695: An apostrophe ' in the comment of the ADD PARTITION
...
causes the Server to crash.
Post-pushbuild fix
Pushbuild genereted valgrind warnings.
Changed function to safer variant.
2007-11-11 22:30:01 +01:00
istruewing@stella.local
e2cc172d35
Bug#31210 - INSERT DELAYED crashes server when used on
...
partitioned table
Post-pushbuild fix
Pushbuild detected a new need for lex initialization in
embedded server.
Fixed test for INSERT DELAYED in partitions_hash.test so that
it works with embedded server.
2007-11-11 20:38:28 +01:00
mattiasj@mattiasj-laptop.(none)
f9c771b037
Bug#32091: Security breach via directory changes
...
Changed test case from GRANT to CREATE USER
2007-11-10 21:29:39 +01:00
mattiasj@mattiasj-laptop.(none)
47a03ea321
Bug#32091: Security breach via directory changes
...
small fix of test case (when running make test after
merge, it did not substitute MYSQLTEST_VARDIR in
the error)
2007-11-10 14:56:21 +01:00
istruewing@stella.local
10df30f091
Bug#31210 - INSERT DELAYED crashes server when used on
...
partitioned table
Post-merge fix
A new need for lex initialization arose.
2007-11-10 14:36:25 +01:00
mattiasj@mattiasj-laptop.(none)
43c1daf630
Bug#29368: Modified error messages
...
Problem: there was no standard syntax error when
creating partitions with syntax error in
the partitioning clause.
Solution: added "Syntax error: " to the error message
2007-11-10 13:09:18 +01:00
istruewing@stella.local
d7ce48a9bb
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines
...
into stella.local:/home2/mydev/mysql-5.1-bug31210
2007-11-10 11:58:41 +01:00
mattiasj@mattiasj-laptop.(none)
6776cc19a0
Bug#32091: Security breach via directory changes
...
Problem: the table's INDEX and DATA DIR was taken
directly from the table's first partition.
This allowed rename attack similar to
bug#32111 when ALTER TABLE REMOVE PARTITIONING
Solution: Silently ignore the INDEX/DATA DIR
for the table. (Like some other storage engines
do).
Partitioned tables do not support DATA/INDEX
DIR on the table level, only on its partitions.
2007-11-09 23:22:00 +01:00
istruewing@stella.local
ceb444fa09
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines
...
into stella.local:/home2/mydev/mysql-5.1-bug22351
2007-11-09 09:19:27 +01:00
jani@hynda.mysql.fi
a2507ca081
Merge hynda.mysql.fi:/home/my/mysql-5.1-main
...
into hynda.mysql.fi:/home/my/mysql-5.1-marvel
2007-11-08 18:35:51 +02:00
jani@hynda.mysql.fi
43dda9cec8
Fixed problem in my_micro_time_and_time().
2007-11-08 13:25:26 +02:00
jani@hynda.mysql.fi
e8d8102a93
Merge hynda.mysql.fi:/home/my/mysql-5.1-main
...
into hynda.mysql.fi:/home/my/mysql-5.1-marvel
2007-11-08 13:23:08 +02:00
mats@kindahl-laptop.dnsalias.net
6921dd0156
Merge kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1
...
into kindahl-laptop.dnsalias.net:/home/bk/b31611-mysql-5.1-target-5.1.22
2007-11-08 08:54:19 +01:00
antony@pcg5ppc.xiphis.org
b8a3c91ba6
Merge pcg5ppc.xiphis.org:/Network/Servers/anubis.xiphis.org/home/antony/work/p1-bug30671.3
...
into pcg5ppc.xiphis.org:/Network/Servers/anubis.xiphis.org/home/antony/work/p1-bug30671.3.merge-5.1
2007-11-07 13:40:55 -08:00
istruewing@stella.local
9de5a2424f
Bug#22351 - handler::index_next_same() call to key_cmp_if_same() uses
...
the wrong buffer
handler::index_next_same() did not take into account that the
internally called function key_cmp_if_same() uses the fixed
buffer table->record[0] for key comparison instead of the
buffer provided by the caller of handler::index_next_same().
Added code to temporarily redirect table->record[0] and the fields
used for the key to the record buffer provided by the caller of
handler::index_next_same().
The test case is in partition.test already.
2007-11-07 09:30:41 +01:00
malff@lambda.hsd1.co.comcast.net.
3434e4ed30
Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime
...
into lambda.hsd1.co.comcast.net.:/home/malff/TREE/mysql-5.1-runtime
2007-11-06 11:31:00 -07:00
svoj@mysql.com/june.mysql.com
d06e2f9223
BUG#32111 - Security Breach via DATA/INDEX DIRECORY and RENAME TABLE
...
RENAME TABLE against a table with DATA/INDEX DIRECTORY overwrites
the file to which the symlink points.
This is security issue, because it is possible to create a table with
some name in some non-system database and set DATA/INDEX DIRECTORY
to mysql system database. Renaming this table to one of mysql system
tables (e.g. user, host) would overwrite the system table.
Return an error when the file to which the symlink points exist.
2007-11-06 18:09:33 +04:00
istruewing@stella.local
e85cc0000a
Bug#4692 - DISABLE/ENABLE KEYS waste a space
...
Post-merge fix. Moved test into 5.0 section.
2007-11-06 14:47:15 +01:00
istruewing@stella.local
8f9196efcd
Merge stella.local:/home2/mydev/mysql-5.0-axmrg
...
into stella.local:/home2/mydev/mysql-5.1-axmrg
2007-11-06 14:43:12 +01:00
gkodinov/kgeorge@magare.gmz
948701b40a
Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime
...
into magare.gmz:/home/kgeorge/mysql/autopush/B31974-5.1-runtime
2007-11-06 15:41:12 +02:00
istruewing@stella.local
43999692a8
Merge stella.local:/home2/mydev/mysql-5.1-amain
...
into stella.local:/home2/mydev/mysql-5.1-axmrg
2007-11-06 14:35:02 +01:00
gkodinov/kgeorge@magare.gmz
b028dad9ce
Bug #31974 : additional commit (test case updates)
...
loose index scan enabled for subqueries
2007-11-06 15:29:55 +02:00
istruewing@stella.local
0c9c041fde
Merge stella.local:/home2/mydev/mysql-5.0-amain
...
into stella.local:/home2/mydev/mysql-5.0-axmrg
2007-11-06 13:56:15 +01:00
istruewing@stella.local
fbe3e32b58
Merge stella.local:/home2/mydev/mysql-5.0-ateam
...
into stella.local:/home2/mydev/mysql-5.0-axmrg
2007-11-06 13:55:42 +01:00
istruewing@stella.local
30b409bd6f
Bug#4692 - DISABLE/ENABLE KEYS waste a space
...
Disabling and enabling indexes on a non-empty table grows the
index file.
Disabling indexes just sets a flag per non-unique index and does not
free the index blocks of the affected indexes. Re-enabling indexes
creates new indexes with new blocks. The old blocks remain unused
in the index file.
Fixed by dropping and re-creating all indexes if non-empty disabled
indexes exist when enabling indexes. Dropping all indexes resets
the internal end-of-file marker to the end of the index file header.
It also clears the root block pointers of every index and clears the
deleted blocks chains. This way all blocks are declared as free.
2007-11-06 13:41:32 +01:00
svoj@june.mysql.com
c242db50b9
Merge mysql.com:/home/svoj/devel/mysql/BUG31950/mysql-5.0-engines
...
into mysql.com:/home/svoj/devel/mysql/BUG31950/mysql-5.1-engines
2007-11-06 13:27:50 +04:00