"containername", "listname",
};
+static struct validate glic_validate =
+{
+ VOlist0,
+ 1,
+ NULL,
+ NULL,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+};
+
+static char *glic_fields[] = {
+ "listname",
+ "containername", "listname",
+};
+
/* Generalized Query Definitions */
/* Multiple versions of the same query MUST be listed in ascending
NULL,
},
+ {
+ /* G_GLIC - GET_LIST_CONTAINER, v9 */
+ "get_list_container",
+ "glic",
+ 9,
+ RETRIEVE,
+ "c",
+ CONTAINERS_TABLE,
+ "c.name, l.name FROM containers c, list l",
+ glic_fields,
+ 2,
+ "l.list_id = %d AND l.list_id = c.list_id and c.list_id != 0",
+ 1,
+ NULL,
+ &glic_validate,
+ },
+
};
int QueryCount = (sizeof(Queries) / sizeof(struct query));