Skip to content

Commit

Permalink
use_delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
isublimity committed Dec 7, 2016
1 parent a92ed41 commit 1182609
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/sql/sql.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,12 @@ window.global_keywords_tables = "";
// Save tabs session
saveSession();

var use_delimiter=$scope.vars.delimiter.delimiter;
// Split SQL into subqueries
editor
.session
.$mode
.splitByTokens(sql, 'constant.character.escape', ';;')
.splitByTokens(sql, 'constant.character.escape', use_delimiter)
.forEach((item) => {

const subSql = item.sql;
Expand Down

0 comments on commit 1182609

Please sign in to comment.