ext/tiny_tds/client.c in tiny_tds-0.6.2 vs ext/tiny_tds/client.c in tiny_tds-0.6.3.rc1
- old
+ new
@@ -71,12 +71,12 @@
case SYBETIME:
/*
SYBETIME is the only error that can send INT_TIMEOUT or INT_CONTINUE,
but we don't ever want to automatically retry. Instead have the app
- decide what to do. We would use INT_TIMEOUT, however it seems tdserror()
- in tds/util.c converts INT_TIMEOUT to INT_CONTINUE.
+ decide what to do.
*/
+ return_value = INT_TIMEOUT;
cancel = 1;
break;
case SYBEWRIT:
/* Write errors may happen after we abort a statement */