]> andersk Git - moira.git/blobdiff - server/queries2.c
Kludge around Ingres brokenness in two places:
[moira.git] / server / queries2.c
index e13efc729bdf355ad64eb55cf556a3438c47d8ba..cf0dcb14a730714d212c7f8e14cb250f17deaf30 100644 (file)
@@ -97,6 +97,7 @@ int count_members_of_list();
 int get_lists_of_member();
 int register_user();
 int _sdl_followup();
+int get_hostalias();
 
 
 \f
@@ -898,7 +899,7 @@ static struct validate ghal_validate = {
   0,
   access_ahal,
   0,
-  0,
+  get_hostalias,
 };
 
 static struct valobj ahal_valobj[] = {
@@ -3049,7 +3050,7 @@ struct query Queries2[] = {
     "get_hostalias",
     "ghal",
     RETRIEVE,
-    "a",
+    0,
     "hostalias",
     "CHAR(a.name), CHAR(m.name) FROM hostalias a, machine m",
     ghal_fields,
This page took 0.062461 seconds and 4 git commands to generate.