Fix firebird bug #60947 , tested and now it prints the header page information from database

This commit is contained in:
Popa Adrian Marius 2012-03-29 18:28:01 +03:00
parent c0f806a69c
commit 97f4fc22c5

View File

@ -322,8 +322,8 @@ query_loop:
}
result += 2;
*(result+line_len) = 0;
snprintf(heap_p, heap_buf_size - (heap_buf - heap_p), "%s\n", result);
heap_p += line_len +2;
snprintf(heap_p, heap_buf_size - (heap_p - heap_buf), "%s\n", result);
heap_p += line_len +1;
goto query_loop; /* repeat until result is exhausted */
case isc_info_svc_server_version: