... the ... on that Destructor??? Release destructs the connection??? I really did not know about it. I have thought about default connection as about static...
910
Corwin Joy
corwinjoy
Apr 1, 2004 8:23 pm
... OK ... Its just legacy on how we defined the member pConn in DBStmt. This could probably be defined as const DBConnection *pConn; rather than const...
911
mkochetkov
Apr 6, 2004 8:47 pm
Hello, I have the following question: what are time constraints for you to implement the format facility for dates to string conversions? I see that almost...
912
Corwin Joy
corwinjoy
Apr 6, 2004 9:43 pm
I have found that asctime and gmtime give different behaviors by platform and hence are "unreliable" for portable code. The routine jul2strtm is really only...
913
huwdlloyd
Apr 7, 2004 9:31 am
Hi, I'm trying to get the example code working. Currently I'm getting a DBConnection exception reporting IM002: Exception type: DBException Method:...
914
huwdlloyd
Apr 7, 2004 10:13 am
So, I've got the connection working. The example now fails at: !!!!!!!!!!!!!!!!!!!!! Begin Example SimpleDynamicWhere() !!!!!!!!!!!!!!!!!!!! Reading objects...
915
huwdlloyd
Apr 7, 2004 10:20 am
... Not sure my previous post was sent. Here it is again: The problem was a simple library path problem. ... It might be helpful if this is mentioned...
916
huwdlloyd
Apr 7, 2004 10:30 am
... Ok I've fixed it. Simple case of not seeing the library path. i.e LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib export LD_LIBRARY_PATH Huw....
917
mkochetkov
Apr 7, 2004 10:51 am
... platform ... I believe your experience but it is very strange. The new and ancient ISO C standards do require them to behave identically. ... jtime_t or ...
918
Corwin Joy
corwinjoy
Apr 7, 2004 6:38 pm
I don't know of such a bug. I will try some tests with MySQL and see if I can reproduce this. Corwin...
919
Corwin Joy
corwinjoy
Apr 7, 2004 7:42 pm
OK. I will modify the ReadMeLinux.htm to make this more clear. Corwin...
920
Corwin Joy
corwinjoy
Apr 8, 2004 2:44 am
I just ran a quick test under cygwin using gcc 3.1 and the 3.51 version of the MyODBC driver and everything runs fine. So, if this is crashing it must be...
921
huwdlloyd
Apr 8, 2004 9:12 am
Am using gcc version 3.3 20030226 (prerelease) (SuSE Linux). Will be happy to run some exe's that you've built, if it helps. I haven't looked into the problem...
922
mkochetkov
Apr 8, 2004 3:30 pm
Hello, I use jtime_c the way that it is supposed it keeps local time. I believe I can convert it to GMT pretty reliable way: jtime_c -> dtl::timestamp_t -> tm...
923
Corwin Joy
corwinjoy
Apr 8, 2004 11:35 pm
... This conversion is not correct. It just so happens that jtime_t is a long and counts seconds since 1970 which is what the M$ time_t representation does (I...
924
mkochetkov
Apr 9, 2004 9:43 am
... Then ... jtime_c. ... this ... a long ... representation To be honest it is not MS but ISO/IEC. ... I was unable to find out a proper sequence. Tm is...
925
sea2stl
Apr 9, 2004 1:02 pm
I am in a jam. I have been struggling on and off with this problem for a while. Now I'm close to delivery, and I can't seem to shake this problem. Here is...
926
Corwin Joy
corwinjoy
Apr 9, 2004 6:53 pm
In general what is happening is that the select_update_iterator takes the old value for the row that you give it (itRec_) and then tries to update the row with...
927
mkochetkov
Apr 9, 2004 7:54 pm
Hello, I would appreciate any help with the following task. I have MS SQL Server and example "Example: Use of MoreResults() with a stored procedure" from...
928
Corwin Joy
corwinjoy
Apr 9, 2004 9:54 pm
I don't understand what your question is here. Take a look at StoredProcReadTestParm() in example/StoredProc.cpp. It sounds like you want to do something more...
929
Corwin Joy
corwinjoy
Apr 10, 2004 2:13 am
I take back the example I gave below. Although it works in theory, when I tested it on SQL server it does not work in practice. The problem is that for a...
930
mkochetkov
Apr 10, 2004 11:59 am
... It looks like dtl tries to execute query not having bound the input and output parameters. ... It was too late and ability to speak English has completely...
931
sea2stl
Apr 10, 2004 4:57 pm
The code snippet came from a public method called update(). This problem only occurs when I call update() from the destructor (I wanted to do a final update...
932
Corwin Joy
corwinjoy
Apr 10, 2004 5:12 pm
... That is the error message you get, but actually DTL is not executing the query. All it does is prepare the query and call SQLNumResultCols (you can put a...
933
Corwin Joy
corwinjoy
Apr 10, 2004 5:17 pm
... Yes, if you closed the connection or destroyed the original iterator either of these could cause an update to fail. ... Thanks!...
934
mkochetkov
Apr 11, 2004 10:17 pm
... understand ... procedure. ... stored ... on this one. Thank you for your efforts. I have just checked out MS site and have found the following information....
935
Corwin Joy
corwinjoy
Apr 12, 2004 12:23 am
I'm not sure I understand your point in this last example here. This is the exact reference and sample ODBC code we give in the DTL docs for running stored...
936
mkochetkov
Apr 12, 2004 10:36 am
... It was the exact example from MS documentation. ... Yes, I believe we are talking about the same thing. ... I know about input and output parameters and...
937
mkochetkov
Apr 12, 2004 12:51 pm
... you ... Corwin, I would like to hear your comments on the following code, please. It illustrates the general idea I am going to use dtl to handle MS SQL...
938
Corwin Joy
corwinjoy
Apr 12, 2004 7:16 pm
What you suggest below could work. In practice, I think it is a lot easier to just use a DBView and provide it the BCA and or BPA to tell it what parameters to...