-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
This affects both Postgresql (what I am seeing) as well as Mysql (which you can see from another user's logs in in e.g. #1366 ). It is likely affecting all backends?
An example:
INSERT INTO projects (id, …; rows: 0, elapsed: 4.623ms
Relevant code is here:
Lines 54 to 65 in b6e1275
| let rows = self.rows; | |
| log::logger().log( | |
| &log::Record::builder() | |
| .args(format_args!( | |
| "{}; rows: {}, elapsed: {:.3?}{}", | |
| summary, rows, elapsed, sql | |
| )) | |
| .level(lvl) | |
| .module_path_static(Some("sqlx::query")) | |
| .target("sqlx::query") | |
| .build(), |
But I am not sure yet how it is called.
Potentially of interest, psql reports the following on insertion:
db_name=*> insert into projects (name, owner_id) values ('Test transaction', '00000000-0000-0000-0000-000000000000');
INSERT 0 1
(i.e. is it possible sqlx reads the leading zero?)
crochee
Metadata
Metadata
Assignees
Labels
No labels