EXEC SQL SELECT modtime INTO :buf FROM list WHERE list_id = 0;
cnt = 0;
- machines = create_hash(10);
+ machines = create_hash(1000);
EXEC SQL DECLARE m_cursor CURSOR FOR
SELECT mach_id, name
FROM machine
+ WHERE status=1
ORDER BY mach_id;
EXEC SQL OPEN m_cursor;
while (1) {