Hello all,I didnt have any luck compiling the website downloads of Carob 0.5.1 and ODBSequoia 0.5.1a either. I recieved a different error message:
connect.cpp: In member function 'SQLRETURN ODBSeqNS::ODBCConnection::connectw(SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT)':
connect.cpp:156: error: 'DEBUG_LEVEL_DEBUG' was not declared in this scope make[1]: *** [connect.o] Error 1 make[1]: Leaving directory `/home/thorsten/Desktop/odbsequoia-0.5.1a/src' make: *** [lib] Error 2I have successfuly compiled the CVS versions, however the behaviour is completely erratic:
I am running a test Postgresql database with three rows in it. I have a simple php script which iterates column names into a table and grabs each entry, of which there are the three i mentioned. very simple.
using the ODBSequoia driver, i recieved multiple Fatal Error out of memory:Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate -1208360143 bytes) in /var/www/odbctest.php on line 25
1.2GB!!!!On further testing, i recieve different output from the script. Sometimes the script works and returns the correct row values, however it never onces returns the column names correctly and always seems to have a snippet of error message, such as:
"m authorr][length = 20 (SQL_NTS)n+r i" "�+��&�^! AttributeW" "/libodbsequoia.so b" " b/libodbsequoia.so %" " ibutes ;"�/" " mbol: SQLColumns .so"I have tried the same PHP script, using the official postregsql odbc driver and it works fine every time.
Any insights? This is most definitely not something i can even think about putting into production at this point.
I've attached the php script i've been using, but i dont believe there is anything special within it.
many thanks, thorsten
odbctest.php
Description: application/php
_______________________________________________ Carob mailing list [email protected] https://forge.continuent.org/mailman/listinfo/carob
