pike.git / lib / modules / Sql.pmod / tds.pike

version» Context lines:

pike.git/lib/modules/Sql.pmod/tds.pike:1:   /* -  * $Id: tds.pike,v 1.15 2006/02/16 12:00:40 grubba Exp $ +  * $Id: tds.pike,v 1.16 2006/02/16 12:09:51 grubba Exp $    *    * A Pike implementation of the TDS protocol.    *    * Henrik Grubbström 2006-02-08.    */      /* #define TDS_DEBUG */   /* #define TDS_CONVERT_DEBUG */      #ifdef TDS_DEBUG
pike.git/lib/modules/Sql.pmod/tds.pike:955:    //process_colinfo(); // FIXME!    }    }    break;    case TDS_DONE_TOKEN:    TDS_WERROR(" TDS_DONE_TOKEN pending\n");    return column_info;    case TDS_ROW_TOKEN:    TDS_WERROR(" TDS_ROW_TOKEN pending\n");    return column_info; +  case TDS_RETURNSTATUS_TOKEN: +  inp->get_byte(); +  int ret_status = inp->get_int(); +  TDS_WERROR("Return status: %d\n", ret_status); +  break;    default:    werror("TDS: WARNING: Unhandled token in process_result_tokens: %d\n",    token_type);    // FALL_THROUGH    case TDS_ORDERBY_TOKEN:    /* Ignore. */    case TDS_ERROR_TOKEN:    case TDS_INFO_TOKEN:    case TDS_EED_TOKEN:    inp->get_byte();