mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
mysql_stmt_field_count()
This commit is contained in:
@ -2598,6 +2598,16 @@ my_ulonglong STDCALL mysql_stmt_affected_rows(MYSQL_STMT *stmt)
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Returns the number of result columns for the most recent query
|
||||
run on this statement.
|
||||
*/
|
||||
|
||||
unsigned int STDCALL mysql_stmt_field_count(MYSQL_STMT *stmt)
|
||||
{
|
||||
return stmt->field_count;
|
||||
}
|
||||
|
||||
/*
|
||||
Return last inserted id for auto_increment columns
|
||||
*/
|
||||
|
@ -131,3 +131,4 @@ EXPORTS
|
||||
mysql_stmt_insert_id
|
||||
mysql_stmt_attr_get
|
||||
mysql_stmt_attr_set
|
||||
mysql_stmt_field_count
|
||||
|
Reference in New Issue
Block a user