add dbiscount() in dblib.c
LacaK <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Microsoft implements for his DB-Library together with dbcount() also
dbiscount().
See please: http://msdn.microsoft.com/en-us/library/aa937021(v=SQL.80).aspx
Can you please add dbiscount() into dblib.c and header in sybdb.h ?
IMHO implementation is simple (if I understand correctly dbcount() ;-)):
DBBOOL
dbiscount(DBPROCESS * dbproc)
{
tdsdump_log(TDS_DBG_FUNC, "dbiscount(%p)\n", dbproc);
CHECK_PARAMETER(dbproc, SYBENULL, -1);
return dbproc && dbproc->tds_socket &&
dbproc->tds_socket->rows_affected != TDS_NO_COUNT;
}
Please let me known if it is acceptable.
TIA
-Laco.
_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds