Commit 01017e3
Debug: Add SQL generation logging directly in SQL generators
Added Console.WriteLine logging in:
- MySqlUpdateSqlGenerator.AppendUpdateOperation: Logs UPDATE SQL as it's generated
- MySqlQuerySqlGenerator.VisitSelect: Logs SELECT query info and partial SQL
This will capture the actual malformed SQL queries directly during generation,
showing the empty columns that cause the "near ', ,'" syntax errors.
Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>1 parent 7203430 commit 01017e3
2 files changed
Lines changed: 29 additions & 1 deletion
File tree
- src/EFCore.MySql
- Query/ExpressionVisitors/Internal
- Update/Internal
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
1026 | 1043 | | |
1027 | 1044 | | |
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
185 | 187 | | |
186 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
187 | 198 | | |
188 | 199 | | |
189 | 200 | | |
| |||
0 commit comments