[2000] in Moira Commits
/svn/moira r4139 - trunk/moira/server
daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Tue Sep 3 10:35:53 2013
Date: Tue, 3 Sep 2013 10:35:45 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>
Message-Id: <201309031435.r83EZjea026029@drugstore.mit.edu>
To: moira-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: zacheiss
Date: 2013-09-03 10:35:45 -0400 (Tue, 03 Sep 2013)
New Revision: 4139
Modified:
trunk/moira/server/qaccess.pc
Log:
count the correct column.
Modified: trunk/moira/server/qaccess.pc
===================================================================
--- trunk/moira/server/qaccess.pc 2013-08-29 20:30:59 UTC (rev 4138)
+++ trunk/moira/server/qaccess.pc 2013-09-03 14:35:45 UTC (rev 4139)
@@ -856,7 +856,7 @@
id = *(int *)argv[0];
- EXEC SQL SELECT count(name) INTO :cnt from hwaddrmap WHERE mach_id = :id;
+ EXEC SQL SELECT count(hwaddr) INTO :cnt from hwaddrmap WHERE mach_id = :id;
if (dbms_errno)
return mr_errcode;