freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] [ freetds-Patches-3060920 ] Improvements for db-lib
- From: LacaK <lacak AT zoznam.sk>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] [ freetds-Patches-3060920 ] Improvements for db-lib
- Date: Thu, 16 Sep 2010 14:17:38 +0200
So I send patch, which adds "documentation comments". I hope it is ok ;-)Thanks (I see change in CVS), but on web page is it not modified ... willThe job is fully open :)
it be refreshed automaticaly later ?
One more question. I see, that functions are documented in source code, and
Doxygen is used to generate documentation.
http://www.freetds.org/reference/a00274.html
So should I write documentation for dbiscount() into dblib.c? (or will it
do somebody else? ;-))
L.
Nobody is in charge for stuff like this.
-Laco.
--- f:\tmp\dblib.c.ori Wed Sep 15 05:55:44 2010
+++ f:\tmp\dblib.c Thu Sep 16 09:55:24 2010
@@ -2699,17 +2699,15 @@ dbanullbind(DBPROCESS * dbproc, int comp
return SUCCEED;
}
-/** \internal
+/**
* \ingroup dblib_internal
- * \brief Get count of rows processed
- *
+ * \brief Indicates whether or not the count returned by dbcount is real
(Microsoft-compatibility feature).
*
* \param dbproc contains all information needed by db-lib to manage
communications with the server.
- * \returns
- * - for insert/update/delete, count of rows affected.
- * - for select, count of rows returned, after all rows have been
fetched.
- * \sa DBCOUNT(), dbnextrow(), dbresults().
+ * \returns TRUE if the count returned by dbcount is real or FALSE if the
count returned by dbcount is not real.
+ * \sa DBCOUNT(), dbcount().
*/
+
BOOL
dbiscount(DBPROCESS * dbproc)
{
@@ -2718,6 +2716,18 @@ dbiscount(DBPROCESS * dbproc)
return dbproc->tds_socket && dbproc->tds_socket->rows_affected !=
TDS_NO_COUNT;
}
+
+/** \internal
+ * \ingroup dblib_internal
+ * \brief Get count of rows processed
+ *
+ *
+ * \param dbproc contains all information needed by db-lib to manage
communications with the server.
+ * \returns
+ * - for insert/update/delete, count of rows affected.
+ * - for select, count of rows returned, after all rows have been
fetched.
+ * \sa DBCOUNT(), dbnextrow(), dbresults().
+ */
DBINT
dbcount(DBPROCESS * dbproc)
-
[freetds] [ freetds-Patches-3060920 ] Improvements for db-lib,
SourceForge.net, 09/07/2010
- <Possible follow-up(s)>
-
[freetds] [ freetds-Patches-3060920 ] Improvements for db-lib,
SourceForge.net, 09/13/2010
-
Re: [freetds] [ freetds-Patches-3060920 ] Improvements for db-lib,
LacaK, 09/14/2010
-
Re: [freetds] [ freetds-Patches-3060920 ] Improvements for db-lib,
James K. Lowden, 09/14/2010
-
Re: [freetds] [ freetds-Patches-3060920 ] Improvements for db-lib,
LacaK, 09/16/2010
-
Re: [freetds] [ freetds-Patches-3060920 ] Improvements for db-lib,
Frediano Ziglio, 09/16/2010
- Re: [freetds] [ freetds-Patches-3060920 ] Improvements for db-lib, LacaK, 09/16/2010
-
Re: [freetds] [ freetds-Patches-3060920 ] Improvements for db-lib,
James K. Lowden, 09/17/2010
-
Re: [freetds] [ freetds-Patches-3060920 ] Improvements for db-lib,
Frediano Ziglio, 09/20/2010
- [freetds] comparison of libraries., Panos Stavroulis, 09/20/2010
- Re: [freetds] comparison of libraries., Ken Collins, 09/20/2010
- Re: [freetds] comparison of libraries., jklowden, 09/20/2010
-
Re: [freetds] [ freetds-Patches-3060920 ] Improvements for db-lib,
Frediano Ziglio, 09/20/2010
-
Re: [freetds] [ freetds-Patches-3060920 ] Improvements for db-lib,
Frediano Ziglio, 09/16/2010
-
Re: [freetds] [ freetds-Patches-3060920 ] Improvements for db-lib,
LacaK, 09/16/2010
-
Re: [freetds] [ freetds-Patches-3060920 ] Improvements for db-lib,
James K. Lowden, 09/14/2010
-
Re: [freetds] [ freetds-Patches-3060920 ] Improvements for db-lib,
LacaK, 09/14/2010
Archive powered by MHonArc 2.6.24.