Skip to content

Commit 8e13fed

Browse files
authored
log simple query, fixes #228 (#229)
1 parent ced4e70 commit 8e13fed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/MySQL/Connection/MySQLConnection+SimpleQuery.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ extension MySQLConnection {
3535
let comQuery = MySQLComQuery(query: string)
3636
var columns: [MySQLColumnDefinition41] = []
3737
var currentRow: [MySQLColumn: MySQLData] = [:]
38+
logger?.record(query: string, values: [])
3839
return send([.comQuery(comQuery)]) { message in
3940
switch message {
4041
case .columnDefinition41(let col):

0 commit comments

Comments
 (0)