Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ceb6e97
Initial plan
Copilot May 20, 2026
4b6d98e
feat: format SQL logs with DECLARE statements for readable output
Copilot May 20, 2026
ab9962e
feat: format TVP params in SQL log output as DECLARE and INSERT
Copilot May 21, 2026
0a8fac7
fix: address sql logging review feedback
Copilot May 22, 2026
6ccdfff
chore: refine utc/log serialization wording from validation feedback
Copilot May 22, 2026
7c716ae
fix: keep explicit utc suffix in sql date log formatting
Copilot May 22, 2026
cae8845
fix sql log review feedback
Copilot May 22, 2026
4ab6919
refine sql dialect log handling
Copilot May 22, 2026
d188cca
document sql log dialect assumptions
Copilot May 22, 2026
4d2e1cd
clarify sql max length fallback
Copilot May 22, 2026
2b7acf9
Fix review comments: indentation in catch block, remove duplicate SQL…
Copilot May 27, 2026
2545176
Address latest SQL log review feedback
Copilot May 27, 2026
18490ae
fix: make query logger callback synchronous
Copilot Jun 1, 2026
babb249
fix: harden query duration logger
Copilot Jun 1, 2026
b7637bd
Fix defensive logging in runQuery catch block and logSlowQuery
Copilot Jun 1, 2026
b931b31
fix: harden runQuery error logging fallback
Copilot Jun 1, 2026
ea77a3a
formatSqlQueryForLog clean-up
durlabhjain Jun 1, 2026
c7de66b
Fix execute logging format for proxied stored procedure calls
Copilot Jun 2, 2026
f0627cd
Guard createProxy logging path
Copilot Jun 2, 2026
d6ad4ca
Preserve async createQueryLogger contract
Copilot Jun 2, 2026
89c5bb8
Potential fix for pull request finding
yash-sharma-spraxa Jun 2, 2026
66b437a
Potential fix for pull request finding
yash-sharma-spraxa Jun 2, 2026
29199b4
Potential fix for pull request finding
yash-sharma-spraxa Jun 3, 2026
7b9a058
Potential fix for pull request finding
yash-sharma-spraxa Jun 3, 2026
2770c86
Potential fix for pull request finding
yash-sharma-spraxa Jun 3, 2026
1e21082
Potential fix for pull request finding
yash-sharma-spraxa Jun 3, 2026
87a8034
Potential fix for pull request finding
yash-sharma-spraxa Jun 3, 2026
7fad43e
Potential fix for pull request finding
yash-sharma-spraxa Jun 4, 2026
6594692
Potential fix for pull request finding
yash-sharma-spraxa Jun 4, 2026
0843113
Potential fix for pull request finding
yash-sharma-spraxa Jun 4, 2026
f2ac8d8
emit N'...' literals for Unicode SQL types in query log output
yash-sharma-spraxa Jun 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/mysql.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ class Mysql extends Sql {
const queryLogger = createQueryLogger({
queryLogThreshold: this.queryLogThreshold,
timeoutLogLevel: this.timeoutLogLevel,
logger: loggerToUse
logger: loggerToUse,
dialect: 'mysql'
});
const pool = this.pool;
const request = {
Expand All @@ -106,6 +107,7 @@ class Mysql extends Sql {
input: this.input,
params: {},
_logger: loggerToUse,
_sqlDialect: 'mysql',
};
return request;
}
Expand Down
Loading