#include <mysql_connection_attributes_iterator.h>
◆ deinit
Deinitialize an iterator.
- Parameters
-
iterator | Iterator pointer. |
- Returns
- Return values
-
false | Succeeded. |
true | Failed. |
- See also
- mysql_connection_attributes_iterator_imp::deinit
◆ get
Fetch the current name/value pair from the iterator and move it forward.
Note: the attribute's name and value pointers are valid until the THD object is alive.
- Parameters
-
| thd | The session to operate on. Can be NULL to use the current THD. |
| iterator | Iterator pointer. |
[out] | name | The attribute name. |
[out] | name_length | The attribute name's length. |
[out] | value | The attribute value. |
[out] | value_length | The attribute value's length. |
[out] | client_charset | The character set, used for encoding the connection attributes pair |
- Returns
- Return values
-
false | Succeeded. |
true | Failed. |
- See also
- mysql_connection_attributes_iterator_imp::get
◆ init
Initialize an iterator.
Also position at the first attribute.
- Parameters
-
| thd | The session to operate on. Can be NULL to use the current THD. |
[out] | iterator | Iterator pointer. |
- Returns
- Return values
-
false | Succeeded. |
true | Failed. |
- See also
- mysql_connection_attributes_iterator_imp::init
The documentation for this struct was generated from the following file: