简体   繁体   中英

Where to find the source code of this function?

I am looking to find the source code of the C function mysql_stmt_free_result()

I searched everywhere but I didn't find out the the source code. I need to understand what exactly this function frees. The documentation lacks information about what exactly is freed.

The version from MySQL 5.6.11 :

my_bool STDCALL mysql_stmt_free_result(MYSQL_STMT *stmt)
 {
   DBUG_ENTER("mysql_stmt_free_result");

   /* Free the client side and close the server side cursor if there is one */
   DBUG_RETURN(reset_stmt_handle(stmt, RESET_LONG_DATA | RESET_STORE_RESULT |
                                 RESET_CLEAR_ERROR));
 }

Here is the MySQL development repository .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM