Skip to content

Commit

Permalink
Queries on different databases aren't duplicates (barryvdh#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
d13r authored and barryvdh committed Oct 4, 2017
1 parent 01a8597 commit 99abc7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Resources/sqlqueries/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@
if (data.statements[i].bindings && data.statements[i].bindings.length) {
stmt += JSON.stringify(data.statements[i].bindings);
}
if (data.statements[i].connection) {
stmt += '@' + data.statements[i].connection;
}
sql[stmt] = sql[stmt] || { keys: [] };
sql[stmt].keys.push(i);
}
Expand Down

0 comments on commit 99abc7f

Please sign in to comment.