After-merge fix

This fixes up commit e3f6e1c92e
This commit is contained in:
Marko Mäkelä 2023-04-26 18:19:44 +03:00
parent e3f6e1c92e
commit 09fdd3aca6

View file

@ -2261,8 +2261,7 @@ void spider_db_mbase::fetch_and_print_warnings(struct tm *l_time)
DBUG_VOID_RETURN;
if (mysql_num_fields(res) == 3)
for (MYSQL_ROW row= mysql_fetch_row(res); row;
mysql_fetch_row(res))
while (MYSQL_ROW row= mysql_fetch_row(res))
fprintf(stderr,
"%04d%02d%02d %02d:%02d:%02d [WARN SPIDER RESULT] from [%s] %ld "
"to %ld: %s %s %s\n",