docs:cdiwadkar16-patch-4-14 - changes for taos_use_result

Changed to: "In the above sample, `print_result` is used to simplify the printing of the result set. It is similar to `taos_use_result`"
This commit is contained in:
Chait Diwadkar 2022-05-26 19:45:25 -07:00 committed by gccgdb1234
parent f6e6554b2a
commit d4bb148a09
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ if (async) {
}
```
In the above sample code in the else condition, there is an infinite loop. Each time carriage return is entered `taos_consume` is invoked. The return value of `taos_consume` is the selected result set. In the above sample, `print_result` is used to simplify the printing of the result set. Below is the implementation of `print_result`.
In the above sample code in the else condition, there is an infinite loop. Each time carriage return is entered `taos_consume` is invoked. The return value of `taos_consume` is the selected result set. In the above sample, `print_result` is used to simplify the printing of the result set. It is similar to `taos_use_result`. Below is the implementation of `print_result`.
```c
void print_result(TAOS_RES* res, int blockFetch) {