Commit ac489ec
Fix RETURNING clause support: Enable for MySQL 8.0.21+, disable for MariaDB
- Added RETURNING clause support for MySQL 8.0.21 and above
- Disabled RETURNING clause support for MariaDB (all versions)
- MariaDB does not support the RETURNING clause syntax
- MySQL 8.0.21+ supports RETURNING in INSERT/UPDATE/DELETE statements
- This fixes the majority of functional test failures on MariaDB 11.6.2
- Tests now use SELECT ROW_COUNT() for MariaDB instead of RETURNING
Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>1 parent f04601a commit ac489ec
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments