File tree Expand file tree Collapse file tree 3 files changed +30
-1
lines changed
reference/sql/sql-support Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 8989 - [ MySQL Information Schema] ( reference/sql/sql-support/information-schema.md )
9090 - [ Collations and Character Sets] ( reference/sql/sql-support/collations-and-charsets.md )
9191 - [ System Variables] ( reference/sql/sql-support/system-variables.md )
92+ - [ SQL Modes] ( reference/sql/sql-support/sql-modes.md )
9293 - [ Miscellaneous] ( reference/sql/sql-support/miscellaneous.md )
9394- [ Supported Clients] ( reference/sql/supported-clients/README.md )
9495 - [ Programmatic] ( reference/sql/supported-clients/clients.md )
Original file line number Diff line number Diff line change @@ -22,4 +22,5 @@ This section is divided into five main categories:
22224 . [ Information Schema] ( information-schema.md ) : Dolt support for MySQL information schema
23235 . [ Collations and Character Sets] ( collations-and-charsets.md ) : SQL features for describing and comparing strings
24246 . [ System Variables] ( system-variables.md ) : SQL features for configuring server behavior
25- 7 . [ Miscellaneous] ( miscellaneous.md ) : miscellaneous SQL features
25+ 7 . [ SQL Modes] ( sql-modes.md ) : Dolt support for MySQL SQL modes
26+ 8 . [ Miscellaneous] ( miscellaneous.md ) : miscellaneous SQL features
Original file line number Diff line number Diff line change 1+ # SQL Modes
2+
3+ Dolt supports a subset of [ SQL modes that MySQL supports] ( https://dev.mysql.com/doc/refman/8.4/en/sql-mode.html ) .
4+ SQL modes are added upon request, so please [ file an issue] ( https://github.com/dolthub/dolt/issues ) if a SQL mode you need is missing.
5+
6+ ** Currently supporting 4 of 18 MySQL SQL Modes.**
7+
8+ | Mode | Parsed | Supported |
9+ | :---------------------------------------------------------------| :-------| :----------|
10+ | ` ALLOW_INVALID_DATES ` | ❌ | ❌ |
11+ | ` ANSI_QUOTES ` | ✅ | ✅ |
12+ | ` ERROR_FOR_DIVISION_BY_ZERO ` | ❌ | ❌ |
13+ | ` HIGH_NOT_PRECEDENCE ` | ❌ | ❌ |
14+ | ` IGNORE_SPACE ` | ❌ | ❌ |
15+ | ` NO_AUTO_VALUE_ON_ZERO ` | ✅ | ✅ |
16+ | ` NO_BACKSLASH_ESCAPES ` | ❌ | ❌ |
17+ | ` NO_DIR_IN_CREATE ` | ❌ | ❌ |
18+ | ` NO_ENGINE_SUBSTITUION ` | ✅ | ❌ |
19+ | ` NO_UNSIGNED_SUBTRACTION ` | ❌ | ❌ |
20+ | ` NO_ZERO_IN_DATE ` | ❌ | ❌ |
21+ | ` ONLY_FULL_GROUP_BY ` | ✅ | ✅ |
22+ | ` PAD_CHAR_TO_FULL_LENGTH ` | ❌ | ❌ |
23+ | ` PIPES_AS_CONCAT ` | ✅ | ✅ |
24+ | ` REAL_AS_FLOAT ` | ❌ | ❌ |
25+ | ` STRICT_ALL_TABLES ` | ❌ | ❌ |
26+ | ` STRICT_TRANS_TABLES ` | ✅ | ❌ |
27+ | ` TIME_TRUNCATE_FRACTIONAL ` | ❌ | ❌ |
You can’t perform that action at this time.
0 commit comments