title: Incomplete SQL error in SQLite database
body: <p>I've a SQLite script which initializes a DB (SQLite 3.8.2), created as follows:</p>
  
  <pre><code>sqlite3 -init database_creation.sql sample.db
  </code></pre>
  
  <p>The script file is like:</p>
  
  <pre><code> // Some `CREATE TABLE` statements
  
   CREATE TRIGGER update_totalprice AFTER UPDATE
     OF price, amount, boxes ON product
     BEGIN UPDATE product SET totalprice = price * boxes * amount
     WHERE idproduct = NEW.idproduct; END
  
   // Some `INSERT` statements.
  </code></pre>
  
  <p>But it generates the following error:</p>
  
  <pre><code>Error: incomplete SQL: CREATE TRIGGER update_totalprice AFTER UPDATE
     OF price, amount, boxes ON product
     BEGIN UPDATE product SET totalprice = price * boxes * amount
     WHERE idproduct = NEW.idproduct; END
  
  // The rest of the file to the end.
  </code></pre>
  
  <p>I'm sure there're syntax errors nor creating the tables neither inserting the test rows, because if I comment the <code>CREATE TRIGGER</code> statement all works perfectly fine, and I don't find the syntax error either.</p>