Lines Matching refs:error

14 	const char *error = NULL;
21 if (dict_init("mysql:" DICT_SRC_DIR "/dict.conf", &set, &dict, &error) < 0)
22 i_fatal("cannot initialize dict: %s", error);
47 const char *value = NULL, *error = NULL;
67 test_assert(dict_lookup(dict, pool, "shared/dictmap/hello/world", &value, &error) == 1);
69 if (error != NULL)
70 i_error("dict_lookup failed: %s", error);
77 const char *error;
95 test_assert(dict_transaction_commit(&ctx, &error) == 0);
96 if (error != NULL)
97 i_error("dict_transaction_commit failed: %s", error);
98 error = NULL;
102 test_assert(dict_transaction_commit(&ctx, &error) == 0);
103 if (error != NULL)
104 i_error("dict_transaction_commit failed: %s", error);
111 const char *error;
130 test_assert(dict_transaction_commit(&ctx, &error) == 1);
131 if (error != NULL)
132 i_error("dict_transaction_commit failed: %s", error);
133 error = NULL;
137 test_assert(dict_transaction_commit(&ctx, &error) == 1);
138 if (error != NULL)
139 i_error("dict_transaction_commit failed: %s", error);
146 const char *error;
166 test_assert(dict_transaction_commit(&ctx, &error) == 1);
167 if (error != NULL)
168 i_error("dict_transaction_commit failed: %s", error);
169 error = NULL;
173 test_assert(dict_transaction_commit(&ctx, &error) == 1);
174 if (error != NULL)
175 i_error("dict_transaction_commit failed: %s", error);
182 const char *key = NULL, *value = NULL, *error;
222 test_assert(dict_iterate_deinit(&iter, &error) == 0);
223 if (error != NULL)
224 i_error("dict_iterate_deinit failed: %s", error);
225 error = NULL;
249 test_assert(dict_iterate_deinit(&iter, &error) == 0);
250 if (error != NULL)
251 i_error("dict_iterate_deinit failed: %s", error);