Lines Matching refs:connect_attr
249 if (conn->options->connect_attr) { in MYSQLND_METHOD()
250 zend_hash_destroy(conn->options->connect_attr); in MYSQLND_METHOD()
251 mnd_pefree(conn->options->connect_attr, pers); in MYSQLND_METHOD()
252 conn->options->connect_attr = NULL; in MYSQLND_METHOD()
513 if (conn->options->connect_attr && zend_hash_num_elements(conn->options->connect_attr)) { in MYSQLND_METHOD()
1754 if (conn->options->connect_attr) {
1755 … DBG_INF_FMT("Before reset %d attribute(s)", zend_hash_num_elements(conn->options->connect_attr));
1756 zend_hash_clean(conn->options->connect_attr);
1760 if (conn->options->connect_attr && value) {
1761 … DBG_INF_FMT("Before delete %d attribute(s)", zend_hash_num_elements(conn->options->connect_attr));
1762 zend_hash_str_del(conn->options->connect_attr, value, strlen(value));
1763 DBG_INF_FMT("%d left", zend_hash_num_elements(conn->options->connect_attr));
1804 if (!conn->options->connect_attr) {
1806 conn->options->connect_attr = mnd_pemalloc(sizeof(HashTable), conn->persistent);
1807 if (!conn->options->connect_attr) {
1810 …zend_hash_init(conn->options->connect_attr, 0, NULL, conn->persistent ? ZVAL_INTERNAL_PTR_DTOR : Z…
1826 zend_hash_update(conn->options->connect_attr, str, &attrz);