1599
1599
cli_read_rows, /* read_rows */
1600
1600
cli_use_result, /* use_result */
1601
1601
cli_fetch_lengths, /* fetch_lengths */
1602
cli_flush_use_result /* flush_use_result */
1603
#ifndef MYSQL_SERVER
1604
,cli_list_fields, /* list_fields */
1605
cli_read_prepare_result, /* read_prepare_result */
1606
cli_stmt_execute, /* stmt_execute */
1607
cli_read_binary_rows, /* read_binary_rows */
1608
cli_unbuffered_fetch, /* unbuffered_fetch */
1609
NULL, /* free_embedded_thd */
1610
cli_read_statistics, /* read_statistics */
1602
cli_flush_use_result, /* flush_use_result */
1603
NULL, /* list_fields */
1604
NULL, /* unbuffered_fetch */
1605
NULL, /* read_statistics */
1611
1606
cli_read_query_result, /* next_result */
1612
cli_read_change_user_result, /* read_change_user_result */
1613
cli_read_binary_rows /* read_rows_from_cursor */
1607
NULL, /* read_change_user_result */
2489
2482
mysql_close_free_options(mysql);
2490
2483
mysql_close_free(mysql);
2491
2484
mysql_detach_stmt_list(&mysql->stmts, "mysql_close");
2492
#ifndef MYSQL_SERVER
2494
(*mysql->methods->free_embedded_thd)(mysql);
2496
2485
if (mysql->free_me)
2497
2486
my_free((uchar*) mysql,MYF(0));