Skip to content

Commit

Permalink
Remove functions related to MySQL Enterprise (#11746) (#11770)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Dec 28, 2022
1 parent 0aba4ea commit de4c487
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions functions-and-operators/encryption-and-compression-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,6 @@ TiDB supports most of the [encryption and compression functions](https://dev.mys
| [`COMPRESS()`](https://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html#function_compress) | Return result as a binary string |
| [`UNCOMPRESS()`](https://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html#function_uncompress) | Uncompress a string compressed |
| [`UNCOMPRESSED_LENGTH()`](https://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html#function_uncompressed-length) | Return the length of a string before compression |
| [`CREATE_ASYMMETRIC_PRIV_KEY()`](https://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html#function_create-asymmetric-priv-key) | Create private key |
| [`CREATE_ASYMMETRIC_PUB_KEY()`](https://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html#function_create-asymmetric-pub-key) | Create public key |
| [`CREATE_DH_PARAMETERS()`](https://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html#function_create-dh-parameters) | Generate shared DH secret |
| [`CREATE_DIGEST()`](https://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html#function_create-digest) | Generate digest from string |
| [`ASYMMETRIC_DECRYPT()`](https://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html#function_asymmetric-decrypt) | Decrypt ciphertext using private or public key |
| [`ASYMMETRIC_DERIVE()`](https://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html#function_asymmetric-derive) | Derive symmetric key from asymmetric keys |
| [`ASYMMETRIC_ENCRYPT()`](https://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html#function_asymmetric-encrypt) | Encrypt cleartext using private or public key |
| [`ASYMMETRIC_SIGN()`](https://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html#function_asymmetric-sign) | Generate signature from digest |
| [`ASYMMETRIC_VERIFY()`](https://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html#function_asymmetric-verify) | Verify that signature matches digest |

## Related system variables

Expand All @@ -38,5 +29,5 @@ The `block_encryption_mode` variable sets the encryption mode that is used for `
## Unsupported functions

* `DES_DECRYPT()`, `DES_ENCRYPT()`, `OLD_PASSWORD()`, `ENCRYPT()`: these functions were deprecated in MySQL 5.7 and removed in 8.0.
* `VALIDATE_PASSWORD_STRENGTH()`
* Functions only available in MySQL Enterprise [Issue #2632](https://github.com/pingcap/tidb/issues/2632)
* `VALIDATE_PASSWORD_STRENGTH()`.
* Functions only available in MySQL Enterprise [Issue #2632](https://github.com/pingcap/tidb/issues/2632).

0 comments on commit de4c487

Please sign in to comment.