Bug #3305 Subselect in 4.1.1,5.0.0 dont work through ODBC or Ctrl Center
| Submitted: | 26 Mar 2004 9:04 | Modified: | 27 Mar 2004 14:17 |
|---|---|---|---|
| Reporter: | bill stamp | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | Connector / ODBC | Severity: | S2 (Serious) |
| Version: | 4.1.1 | OS: | Windows (WinNT/XP) |
| Assigned to: | CPU Architecture: | Any |
[26 Mar 2004 9:04]
bill stamp
[27 Mar 2004 14:17]
MySQL Verification Team
I tested MyODBC 3.51 against 4.1.2 server and using the tool ODBCTE32.EXE: Full Connect(Default) Env. Attr. SQL_ATTR_ODBC_VERSION set to SQL_OV_ODBC3 Successfully connected to DSN 'myodbc3-test'. SQLExecDirect: In: hstmt = 0x00991930, szSqlStr = "select name from m where id in(select id from m)", cbSqlStr = -3 Return: SQL_SUCCESS=0 Get Data All: "name" "one" "two" 2 rows fetched from 1 column.
[30 Mar 2004 13:56]
bill stamp
Thanks very much - yes, you are correct, that works. We are going to put together as small an example as we can - I think the issue is that we are using MFC 7.1 c++/CRecordset to do the query - oddly, it works ok on MsSQL and Oracle. Perhaps if we narrow down the app to stricly connect/query we can get it going om MySql, then gradually add to it to nderstand why it breaks in pur app.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.