http://bugs.winehq.org/show_bug.cgi?id=31770
Bug #: 31770 Summary: Database FindFirst fails to find the correct record Product: Wine Version: 1.5.13 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: oleaut32 AssignedTo: wine-bugs@winehq.org ReportedBy: leslie_alistair@hotmail.com Classification: Unclassified
Created attachment 41802 --> http://bugs.winehq.org/attachment.cgi?id=41802 Sample Program
On a database server create a new database Add the following table
CREATE TABLE testing ( id serial NOT NULL, name boolean, id2 integer, CONSTRAINT testing_pkey PRIMARY KEY (id) );
INSERT INTO testing(id, name, id2) VALUES (1, false, 2); INSERT INTO testing(id, name, id2) VALUES (2, false, 3);
winetricks mdac28 Install the mysql or postgres odbc driver
Using odbcad32, create a connecting to the server.
Run DBSample, select the ODBC connection you just made. You'll get a dialog with "Yipee" if it was successful.
http://bugs.winehq.org/show_bug.cgi?id=31770
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
http://bugs.winehq.org/show_bug.cgi?id=31770
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #1 from Dan Kegel dank@kegel.com 2012-09-24 09:57:38 CDT --- Can you provide a script to run the entire test, including both creating the database and running the test app, so we can try the whole process unattended?
http://bugs.winehq.org/show_bug.cgi?id=31770
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com 2013-05-30 22:38:03 CDT --- Created attachment 44605 --> http://bugs.winehq.org/attachment.cgi?id=44605 Log File
http://bugs.winehq.org/show_bug.cgi?id=31770
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Hi, Alistair.
Why do you think it's oleaut32 problem? Could you retest with current wine keeping native modules to minimum (using builtin oledb32 for example).
http://bugs.winehq.org/show_bug.cgi?id=31770
--- Comment #4 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- This is still an issue.
Previous when we could install the native oleaut32 for win98. It worked after that. After some investigation I not sure if it is oleaut32 is the right one but there isn't many other DLL's that could the issue. rpcrt4?
http://bugs.winehq.org/show_bug.cgi?id=31770
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|oleaut32 |-unknown
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- I don't know, but you could start with adding some tracing to this sample code to see what MoveFirst() and Find() return for example, after that it would be interesting to get a relay log to see what happens during a call. I'm not sure it's related to rpc at all, but that's easy to check with ole,rpc log (don't forget to start some other wine application in a separate terminal first to avoid unwanted output from wine services).
http://bugs.winehq.org/show_bug.cgi?id=31770
--- Comment #6 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- I added the extra traces to the code didn't make any difference. I tried ole,rpc,variant,relay,seh to name a few, but nothing appear in the output to hint as to what is causing the issue.
https://bugs.winehq.org/show_bug.cgi?id=31770
--- Comment #7 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- When using MDAC27, it works as expected.