Hmm... it is hard to tell from this, but it looks to me like it is crashing in your Postgress ODBC driver code. My recommendation on the first thing to try...
a.. 1.. Version 3.4.2; Released March 06, 2003 ***Bugfixes*** 2.. Fixed bugs in bulk insert to where one could overflow the buffer. 3.. Added fix for broken...
my env: gcc version 3.2.2 dtl: 4.3 postgresql 7.3.1 unixODBC: 2.2.4 I built the lib and test program with the default options. then import the table to the...
Friends It's nice to be back! After a looong time with out doing any database programming, it's time to update the DTL version and back to code. Right now I...
Corwin Sorry to make such question. Adding the default constructor to class made it to compile without any problem..... and the compiler actually is VC++ 6.0...
Our project is using both STLPort and DTL with MSDotNet. After upgrading from DTL 3.3 to 4.2 we encountered the following errors: \DTL\lib\array_string.h(40)...
Hi, I'm new to DTL. I noticed that the "long long" (64-bit integer) type is not one of the suppported C++ types as described in the documentation, and ...
... Well, I guess it is not supported because it is not portable. You haven't mentioned, but I think you use gcc. I use VS 7.0 (a.k.a. VS.NET), and the C++...
Well, as noted by others, "long long" is not 100% portable since it is not supported by e.g. MSVC 6.0. If you want to bind a type like this anyway, what you...
Hi,Corwin, I also run the example project. But the result is similar with the test. !!!!!!!!!!!!!!!!!!!!! Begin Example CStringExample () !!!!!!!!!!!!!!!!!!!! ...
Please note the "FAILURE" and "SUCCESS" comments in the following code. Do you have any ideas? This is not the behavior I would expect from an iterator....
The problem here is that you are using the sql_iterator wrong. Because this is an output iterator, execution only happens on assignment. So, your inner loop...
Thank you for your time. Thomas P. Jenkins, 321-727-5175 Software Engineer, STAT Harris Corporation, Dept. 9706 MS 2-9452, Bldg. 2, Rm. 146B ... From: Corwin...
Hi, I'm using Informix database and DataDirect ODBC driver. In my database I've tables with column that is of BYTE type. In DataDirect, it is mapped as...
Hello, I've got mysql 3.23.51 running on Redhat Linux 6.1. DTL seems unable to connect to the database; it reports an error finding whatever table I pass in....
Here is the deal on this. When we bind a binary column, we do not typically know what the maximum length will be upfront. Instead, when we bind the column we...
As you say, it sounds like a configuration problem. My first instinct would be to try some of the ODBC test tools to check your ODBC configuration and make...
Hi, As mentioned before I'm using Informix database with DataDirect ODBC driver. I tried to read a BYTE field (binded as SQL_LONGVARBINARY) from my database...
Hmm... this looks like a definite bug. I had thought that character and binary data were treated the same in SQLGetData, but as you point out this is not the...
Corwin, Thank you very much for your prompt reply! 1. Yes it works for me but it might not be desirable as setting it to maximum would slow things down for all...
Hi Corwin, I've another idea. According to ODBC Doc (SQLBindParameter/StrLen_or_IndPtr Argument) : "The StrLen_or_IndPtr argument points to a buffer that, when...
Actually, your idea to set the length in MoveWrite is an excellent one! This should solve the problem nicely and not break any existing drivers out there. So,...
I am currently getting an error in SqlPutData() when writing data back to an MSSQL image field. The code was working perfectly with mySQL. BoundIO.cpp:1472...
Thanks Corwin! This fix works for me. :) Cheers, Arthur ... one! ... BytesFetched ... the ... correctly ... to ... require ... length ... are ... newer ... ...
Basically what this message means is that not all of the data is able to be written to the given column. There are a couple possibilities here: 1. The data...
Well, other ODBC programs work just fine when connecting to the Linux database on this box on the same client computer, too. I've narrowed down the error a...