[python-sybase] sybse returning nothing
Josh Close
narshe at gmail.com
Wed, 4 Aug 2004 09:38:23 -0500
I am using sybase with mssql and freetds. When I execute a query I
will get 0 results most of the time when first ran. I will run it
again 1 second later and it will work just fine.
Could this be a sybase error? Or possibly a freetds error?
I did 'export TDSDUMP=/var/log/freetds.log' to see what freetds was
doing and got this
09:30:53.204554 tds_process_end: more_results = 0
was_cancelled = 1
error = 0
done_count_valid = 0
09:30:53.204584 tds_process_end() state set to TDS_IDLE
09:30:53.204852 ct_cmd_drop()
09:30:53.204909 ct_con_props() action = CS_GET property = 26
09:30:53.204939 ct_close()
09:30:53.205109 ct_con_drop()
Does that mean that tds was cancelled at some point by sybase?
Any help would be great.
-Josh