title: mysql stored procedure error: missing semicolon
body: <p>I have following store procedure. It is give me some error</p>
  
  <pre><code>DROP procedure IF exists getQueueMessage;
  DELIMITER $$
  CREATE DEFINER=`root`@`localhost` PROCEDURE `getQueueMessage`(msg varchar(100))
  BEGIN
  
  SELECT `Name` FROM queues WHERE Id  IN (
  SELECT PhysicalQueueId FROM indexqueuemaps WHERE ConditionFieldValue = msg)
  END
  END$$
  DELIMITER ;
  </code></pre>
  
  <p>It is giving me <code>missing semicolon error</code>. Don't know Why this error is getting. Can someone help me?</p>