Skip to content

Commit 99abc7f

Browse files
d13rbarryvdh
authored andcommitted
Queries on different databases aren't duplicates (barryvdh#730)
1 parent 01a8597 commit 99abc7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Resources/sqlqueries/widget.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@
186186
if (data.statements[i].bindings && data.statements[i].bindings.length) {
187187
stmt += JSON.stringify(data.statements[i].bindings);
188188
}
189+
if (data.statements[i].connection) {
190+
stmt += '@' + data.statements[i].connection;
191+
}
189192
sql[stmt] = sql[stmt] || { keys: [] };
190193
sql[stmt].keys.push(i);
191194
}

0 commit comments

Comments
 (0)