• konstantin@mysql.com's avatar
    Intermediate commit of client library (cleanups + fixes of 3 items from · 420c956d
    konstantin@mysql.com authored
    flaws list)
    TODO: 
     * verify that no sequence of API calls produces SIGSEGV.
     That is, verify that mysql_stmt_init  -> mysql_stmt_fetch is OK,
     or mysql_stmt_prepare -> mysql_stmt_fetch_column is OK and sets
     meaningful error.
     * remove alloc_stmt_fields call
     * revise stmt->state codes and statement states.
     * there are other items in prepared statements 'to fix' document.
    
    Done:
     - cleanups and comments
     - revision of prepared statement error codes.
     - mysql_stmt_prepare is now can always be called (that is, you can reprepare
       a statement)
     - new implementation of mysql_stmt_close and fetch cancellation
    420c956d
mysql.h 24.6 KB