introduced.
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4628
91ce42f0-d328-0410-95d8-
f526ca767f89
}
if (result_handler != NULL) {
if ((mdb->result = sql_use_result(mdb)) != NULL) {
- int num_fields = 0;
+ int num_fields = sql_num_fields(mdb);
/* We *must* fetch all rows */
while ((row = sql_fetch_row(mdb)) != NULL) {
* seen all the data it wants. However, we
* loop to the end of the data.
*/
- num_fields++;
if (result_handler(ctx, num_fields, row)) {
send = false;
}
Technical notes on version 2.1
General:
+25Apr07
+kes Fix important bug in db_sql_query() in mysql.c apparently recently
+ introduced.
24Apr07
ebl Cleanup file relocation, using char *RegexWhere instead of
char *where + bool where_use_regexp