kostja@bodhi.local
f22a4ce1a1
A fix and a test case for Bug#21002 "Derived table not selecting from a
...
"real" table fails in JOINs".
This is a regression caused by the fix for Bug 18444.
This fix removed the assignment of empty_c_string to table->db performed
in add_table_to_list, as neither me nor anyone else knew what it was
there for. Now we know it and it's covered with tests: the only case
when a table database name can be empty is when the table is a derived
table. The fix puts the assignment back but makes it a bit more explicit.
Additionally, finally drop sp.result.orig which was checked in by mistake.
2006-07-19 22:33:19 +04:00
tnurnberg@salvation.intern.azundris.com
b304cb6da8
Bug#20989: View '(null).(null)' references invalid table(s)... on SQL SECURITY INVOKER
...
REPLACE ... SELECT would require INSERT privileges on certain tables
when SELECT really suffices. Require INSERT only on target table.
2006-07-19 11:49:07 +02:00
iggy@rolltop.ignatz42.dyndns.org
ad12809f35
Bug# 20221- Dumping of multiple databases containing view(s) yields maleformed dumps.
2006-07-17 18:07:08 -04:00
tnurnberg@mysql.com/salvation.intern.azundris.com
00ec3973f7
Bug#21014: Segmentation fault of mysqldump on view
...
mysqldump did not select the correct database before trying to dump
views from it. this resulted in an empty result set, which in turn
startled mysql-dump into a core-dump. this only happened for views,
not for tables, and was only visible with multiple databases that
weren't by sheer luck in the order mysqldump required, anyway. this
fixes by selecting the correct database before dumping views; it also
catches the empty set-condition if it should occur for other reasons.
2006-07-14 12:50:00 +02:00
joerg@trift2.
b05cd02746
support-files/mysql.spec.sh : Fix a typing error.
2006-07-10 22:49:44 +02:00
joerg@trift2.
9e5598d185
Merge mysqldev@production.mysql.com:my/mysql-5.0-release
...
into trift2.:/M50/clone-5.0
2006-07-10 22:42:12 +02:00
joerg@trift2.
cf2d51c3f7
Raise the version number.
2006-07-10 22:38:13 +02:00
ingo/mydev@chilla.local
dfaa3c78f6
Revoking patch for Bug#10952 on behalf of Brian.
2006-07-10 20:46:05 +02:00
joerg@mysql.com
be5f48268c
When building RPMs, use the Perl script to run the tests, to automatically check SSL.
2006-07-04 12:30:08 +02:00
tomas@poseidon.ndb.mysql.com
1e4ccec835
Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
...
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-release
2006-07-04 12:08:57 +02:00
tomas@poseidon.ndb.mysql.com
98874725e0
Bug #20784 Uninitialized memory in update on table with PK not on first column
...
- partial backport of code from 5.1, do cot compare_record for engines that do not read all columns during update
2006-07-04 11:43:06 +02:00
tnurnberg@mysql.com
b3e368df19
Bug#20783: Valgrind uninitialised warning in test case ctype_uca
...
Two functions have different ideas of what a string should look like;
one of them reads memory it assumes the other one may have written.
And "if you assume ..."
We now use a more defensive variety of the assuming function, this fixes
a warning thrown by the valgrind tool.
2006-07-03 21:41:15 +02:00
kent@mysql.com
caa3fcf673
client.c:
...
Define 'mysql_get_ssl_cipher' even if no SSL built in, it is referenced in libmysql.def
2006-07-03 20:08:38 +02:00
kent@mysql.com
4b6878e4b0
Merge mysqldev@production.mysql.com:my/mysql-5.0-release
...
into mysql.com:/Users/kent/mysql/bk/mysql-5.0-release
2006-07-03 19:53:57 +02:00
kent@suse9-x86.mysql.com
7455f8a31f
mwldnlm, mwccnlm, mwasmnlm:
...
Use Perl for filtering, do more filtering
2006-07-03 16:44:17 +02:00
kent@suse9-x86.mysql.com
6b08a98644
Makefile.am:
...
Avoid duplicate symbol errors on Netware
mwldnlm, mwccnlm, mwasmnlm:
Filter garbage characters from output
2006-07-03 10:56:19 +02:00
kent@mysql.com
eba43438b9
mysqld.vcproj:
...
Don't define __NT__ for 'Max' target
2006-07-01 23:52:19 +02:00
kent@mysql.com
06b4c9abbb
my_sys.h:
...
Added missing parameter type change for _my_strdup_with_length()
2006-07-01 15:11:59 +02:00
joerg@mysql.com
34d5c36c2b
Manual transfer of the following changeset into the 5.0.23 release clone:
...
1.2525 06/06/30 18:29:27 monty@mysql.com +3 -0
Reverted wrong bug fix (Bug#11228)
2006-06-30 19:37:11 +02:00
tomas@poseidon.ndb.mysql.com
c8b65bb357
manual merge, patch only relevant for 4.1
2006-06-30 16:29:17 +02:00
tomas@poseidon.ndb.mysql.com
9f542ef0f4
adopted ndb handler code for tables without primary key and with unique index
...
- added missing retrieval of hidden primary key
2006-06-30 16:25:07 +02:00
knielsen@mysql.com
af48a16ce3
Merge mysqldev@production.mysql.com:my/mysql-5.0-release
...
into mysql.com:/usr/local/mysql/mysql-5.0-release
2006-06-30 09:28:06 +02:00
knielsen@mysql.com
1d56a9720c
BUG#20769: Dangling pointer in ctype_recoding test case.
...
In some functions dealing with strings and character sets, the wrong
pointers were saved for restoration in THD::rollback_item_tree_changes().
This could potentially cause random corruption or crashes.
Fixed by passing the original Item ** locations, not local stack copies.
Also remove unnecessary use of default arguments.
2006-06-30 09:26:36 +02:00
kent@mysql.com
593b359d92
mysql.spec.sh:
...
Disable old RPM strip
my_global.h:
Fixed wrong cast, which caused problems with gcc 4.0 and
floats in prepared statements (Bug #19694 )
mysqlmanager.vcproj:
Place output files in common release/debug directory
2006-06-30 02:49:28 +02:00
tomas@poseidon.ndb.mysql.com
5d67b05203
corrected merge error
2006-06-29 22:11:29 +02:00
tomas@poseidon.ndb.mysql.com
6f318d1658
Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-main
...
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
2006-06-29 21:05:43 +02:00
tomas@poseidon.ndb.mysql.com
87460ec76a
Bug #19202 Incorrect errorhandling in select count(*) wrt temporary error
2006-06-29 20:55:21 +02:00
joerg@mysql.com
6f6b966d16
Test "federated" failed because the log contains fixed port numbers.
...
Re-apply a patch by Knielsen in the 5.0.23 build clone: Replace port number by "SLAVE_PORT".
2006-06-29 17:00:48 +02:00
lars@mysql.com
f24851ee71
Merge mysqldev@production.mysql.com:my/mysql-5.0-release
...
into mysql.com:/users/lthalmann/bkroot/mysql-5.0-release
2006-06-29 15:15:21 +02:00
konstantin@mysql.com
5154bc6c47
A post-merge fix.
2006-06-29 16:31:08 +04:00
lars@mysql.com
0707d4753f
Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0-rpl
...
into mysql.com:/users/lthalmann/bkroot/mysql-5.0-release
2006-06-29 14:03:41 +02:00
konstantin@mysql.com
06c2f1a2aa
Merge mysql.com:/opt/local/work/mysql-5.0-release
...
into mysql.com:/opt/local/work/mysql-5.0-runtime
2006-06-29 15:25:03 +04:00
jonas@perch.ndb.mysql.com
c6d9b5c551
Merge mysqldev@production.mysql.com:my/mysql-5.0-release
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-release
2006-06-29 13:25:02 +02:00
tomas@poseidon.ndb.mysql.com
48de09a4dd
Merge mysqldev@production.mysql.com:my/mysql-5.0-release
...
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-main
2006-06-29 13:25:01 +02:00
tomas@poseidon.ndb.mysql.com
6df1090e80
Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
...
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-main
2006-06-29 13:03:09 +02:00
tomas@poseidon.ndb.mysql.com
0822e24679
fixed too small requestInfo in signal
...
+ adopted signal to be as close as possible to 5.1...
2006-06-29 13:01:54 +02:00
jonas@perch.ndb.mysql.com
f9822e7f6d
ndb - build
...
Fix compile error for forte
2006-06-29 11:39:07 +02:00
konstantin@mysql.com
55d148c5c2
A fix for Bug#19022 "Memory bug when switching db during trigger execution".
...
No test case as the bug is in an existing test case (rpl_trigger.test
when it is run under valgrind).
The warning was caused by memory corruption in replication slave: thd->db
was pointing at a stack address that was previously used by
sp_head::execute()::old_db. This happened because mysql_change_db
behaved differently in replication slave and did not make a copy of the
argument to assign to thd->db.
The solution is to always free the old value of thd->db and allocate a new
copy, regardless whether we're running in a replication slave or not.
2006-06-28 23:47:45 +04:00
patg@govinda.patg.net
18d264a1ea
BUG #19773
...
Pushbuild fixes to result file, test, and header file for federated.
2006-06-28 12:18:21 -07:00
jimw@mysql.com
9bcb24b65e
Merge bk-internal:/home/bk/mysql-5.0-runtime
...
into mysql.com:/home/jimw/my/mysql-5.0-18005
2006-06-28 10:55:27 -07:00
patg@govinda.patg.net
87e88fe76b
Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into govinda.patg.net:/home/patg/mysql-build/mysql-5.0-engines-bug19773
2006-06-28 10:11:43 -07:00
acurtis@xiphis.org
f242546e85
Merge xiphis.org:/home/antony/work2/p4-bug12096.2
...
into xiphis.org:/home/antony/work2/p4-bug12096.2-merge
2006-06-28 09:54:40 -07:00
lars@mysql.com
6036c30b57
Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0-rpl
...
into mysql.com:/users/lthalmann/bk/MERGE/mysql-5.0-merge
2006-06-28 16:18:57 +02:00
knielsen@mysql.com
10abc3e244
BUG#20739.
...
In the Windows build files, the "Max nt" configuration for some reason
had the mysql_client_test project disabled. Enable it.
2006-06-28 15:15:49 +02:00
lars@mysql.com
38501d8804
Disabled test case for Windows (BUG#20753)
2006-06-28 15:07:41 +02:00
knielsen@mysql.com
e8df7d43a5
BUG#20739
...
Improved definition of mysys configuration for -nt builds.
2006-06-28 14:25:17 +02:00
tnurnberg@mysql.com
69820afce0
Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/tnurnberg/mysql-5.0
2006-06-28 13:37:13 +02:00
tnurnberg@mysql.com
a956e9d638
Merge mysql.com:/home/tnurnberg/work/mysql-5.0-maint-19857
...
into mysql.com:/home/tnurnberg/mysql-5.0
2006-06-28 12:43:04 +02:00
tnurnberg@mysql.com
763752ef2e
Bug#19857: When a user with CREATE ROUTINE priv creates a routine it results in NULL p/w
...
sp_grant_privileges(), the function that GRANTs EXECUTE + ALTER privs on a SP,
did so creating a user-entry with not password; mysql_routine_grant() would then
write that "change" to the user-table.
2006-06-28 12:40:17 +02:00
knielsen@mysql.com
529a2d1291
BUG#20739: __NT__ not probably defined for mysys project.
...
Make sure for the mysys project that __NT__ is defined in *nt solution
configurations (but not in other configurations).
2006-06-28 12:30:14 +02:00