#include <mysql_connection_attributes_iterator_imp.h>
◆ deinit()
Deinitialize an iterator.
- Parameters
-
iterator | Iterator pointer. |
- Returns
- Return values
-
false | Succeeded. |
true | Failed. |
- See also
- mysql_connection_attributes_iterator::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
-
| opaque_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::get
◆ init()
Initialize an iterator.
Also position at the first attribute.
- Parameters
-
| opaque_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::init
The documentation for this class was generated from the following files: