CDB-215 #close - added truncate to sql codemirror parser