 	PRIMARY KEY(`id`)
 );
 
+DELIMITER //
+
 CREATE PROCEDURE clockIn (taskID INT UNSIGNED, username VARCHAR(8))
 BEGIN
 	INSERT INTO TaskItem(state,onClock,startTime,typeID,userID)
 	       VALUES(1,1,NOW(),taskID,username);
-END
+END//
 
 CREATE PROCEDURE clockOut (taskID INT UNSIGNED)
 BEGIN

	GRANT UPDATE ON User TO id@host IDENTIFIED BY passwd;
	UPDATE User SET isAdmin=1 WHERE dbUser=id;
	FLUSH PRIVILEGES;
END

CREATE PROCEDURE revokeAdmin (
       id VARCHAR(8),


	UPDATE TaskItem SET onClock=0,stopTime=NOW()
	       WHERE id=taskID AND userID=@username;
END//

CREATE PROCEDURE createUser (
       newUser VARCHAR(8),
