-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
Signed-off-by: Andres Taylor <[email protected]> Signed-off-by: Harshit Gangal <[email protected]> Co-authored-by: Andres Taylor <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ | |
- [Delete with Subquery Support](#delete-subquery) | ||
- [Delete with Multi Target Support](#delete-multi-target) | ||
- [User Defined Functions Support](#udf-support) | ||
- [Insert Row Alias Support](#insert-row-alias-support) | ||
- **[Query Timeout](#query-timeout)** | ||
- **[Flag changes](#flag-changes)** | ||
- [`pprof-http` default change](#pprof-http-default) | ||
|
@@ -198,6 +199,16 @@ Without this flag, VTGate will not be aware that there might be aggregating user | |
|
||
More details about how to load UDFs is available in [MySQL Docs](https://dev.mysql.com/doc/extending-mysql/8.0/en/adding-loadable-function.html) | ||
|
||
#### <a id="insert-row-alias-support"/> Insert Row Alias Support | ||
|
||
Support is added to have row alias in Insert statement to be used with `on duplicate key update`. | ||
|
||
Example: | ||
- `insert into user(id, name, email) valies (100, 'Alice', '[email protected]') as new on duplicate key update name = new.name, email = new.email` | ||
- `insert into user(id, name, email) valies (100, 'Alice', '[email protected]') as new(m, n, p) on duplicate key update name = n, email = p` | ||
|
||
More details about how it works is available in [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html) | ||
|
||
### <a id="query-timeout"/>Query Timeout | ||
On a query timeout, Vitess closed the connection using the `kill connection` statement. This leads to connection churn | ||
which is not desirable in some cases. To avoid this, Vitess now uses the `kill query` statement to cancel the query. | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,7 @@ const ( | |
WrongArguments | ||
BadNullError | ||
InvalidGroupFuncUse | ||
ViewWrongList | ||
|
||
// failed precondition | ||
NoDB | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.