Lines Matching refs:sql
97 if (tseg->sql != NULL && tseg->direct == isc_boolean_true)
98 isc_mem_free(mctx, tseg->sql);
161 tseg->sql = NULL;
172 tseg->sql = isc_mem_strdup(mctx,
175 if (tseg->sql == NULL) {
180 /* tseg->sql points directly to a string. */
182 tseg->strlen = strlen(tseg->sql);
185 if (strcasecmp(tseg->sql, "zone") == 0) {
190 isc_mem_free(mctx, tseg->sql);
191 /* set tseg->sql to in-direct zone string */
192 tseg->sql = (char**) zone;
194 /* tseg->sql points in-directly to a string */
198 } else if (strcasecmp(tseg->sql, "record") == 0) {
203 isc_mem_free(mctx, tseg->sql);
204 /* set tseg->sql to in-direct record string */
205 tseg->sql = (char**) record;
207 /* tseg->sql points in-directly poinsts to a string */
211 } else if (strcasecmp(tseg->sql, "client") == 0) {
216 isc_mem_free(mctx, tseg->sql);
217 /* set tseg->sql to in-direct record string */
218 tseg->sql = (char**) client;
220 /* tseg->sql points in-directly poinsts to a string */
306 length += strlen(* (char**) tseg->sql);
323 strcat(qs, tseg->sql);
326 strcat(qs, * (char**) tseg->sql);
334 /*% constructs a sql dbinstance (DBI) */