X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/a66a22040bb94e1a24ca447779c98a40c45213e7..2eb0fc996db000ae43388ffa2f92092a535361ef:/server/increment.dc diff --git a/server/increment.dc b/server/increment.dc index 462718af..e516c148 100644 --- a/server/increment.dc +++ b/server/increment.dc @@ -133,7 +133,7 @@ char **argv; FROM users u WHERE :qual; beforec = 9; } else if (!strcmp(table, "machine")) { - EXEC SQL SELECT m.name, m.type INTO :barg0, :barg1 FROM machine m + EXEC SQL SELECT m.name, m.vendor INTO :barg0, :barg1 FROM machine m WHERE :qual; beforec = 2; } else if (!strcmp(table, "cluster")) { @@ -248,7 +248,7 @@ EXEC SQL END DECLARE SECTION; FROM users u WHERE :qual; afterc = 9; } else if (!strcmp(table, "machine")) { - EXEC SQL SELECT m.name, m.type INTO :aarg0, :aarg1 + EXEC SQL SELECT m.name, m.vendor INTO :aarg0, :aarg1 FROM machine m WHERE :qual; afterc = 2; } else if (!strcmp(table, "cluster")) {