Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
Different outer join results in 7.5 and 7.6

Different outer join results in 7.5 and 7.6

2007-02-21       - By Alexander Schmidt

 Back
Reply:     1     2  

Hi,

we have upgraded from Maxdb 7.5  to  7.6.00.34 and get different
results using the same (outer join) query.

The following simple example can be used to reproduce the behaviour:


create table T1 ( ID int, FK_T2 fixed(32,0), primary key (ID) );
create table T2 ( ID int, FK_T3 fixed(32,0), primary key (ID) );
create table T3 ( ID int, primary key (ID) );
--
insert into T1 values( 1, 20);
insert into T1 values( 2, 21);
insert into T2 values( 20, 30);
insert into T3 values( 30);
--
select a1.ID, a2.ID, a3.ID
from T1 a1, T2 a2, T3 a3
where a1.FK_T2 = a2.ID (+)
and   a2.FK_T3 = a3.ID (+)
and   a3.id >0;


Result in 7.5:
ID   |  ID  |  ID
-- ---- ---- ---- --
1    |  20  |  30


Result in 7.6
ID   |  ID  |  ID
-- ---- ---- ---- --
1    |  20  |  30
2    | null |  30


How do we manage to obtain a single result row in 7.6  (without changing the
query)?
Which params can be changed?


Thanks in advance
 Alexander


__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066


--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/maxdb?unsub=mysql@(protected)