Bug #37412 Help for des_encrypt has incomplete examples
Submitted: 14 Jun 2008 21:53 Modified: 15 Jun 2008 1:44
Reporter: Janek Bogucki
Status: Closed
Category:Server: Docs Severity:S3 (Non-critical)
Version:5.0.51a-3ubuntu5.1-log OS:Linux (Kubuntu 8.04)
Assigned to: Paul DuBois Target Version:
Triage: D4 (Minor)

[14 Jun 2008 21:53] Janek Bogucki
Description:
The examples in the mysql console are incomplete:

mysql> help des_encrypt
...
Examples:
key_num des_key_str

How to repeat:
Read the help for des_encrypt

mysql> help des_encrypt
Name: 'DES_ENCRYPT'
Description:
Syntax:
DES_ENCRYPT(str[,{key_num|key_str}])

Encrypts the string with the given key using the Triple-DES algorithm.

This function works only if MySQL has been configured with SSL support.
See http://dev.mysql.com/doc/refman/5.0/en/secure-connections.html.

URL: http://dev.mysql.com/doc/refman/5.0/en/encryption-functions.html

Examples:
key_num des_key_str
[14 Jun 2008 22:13] Miguel Solorzano
Thank you for the bug report.
[15 Jun 2008 1:44] Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The
updated documentation will appear on our website shortly, and will be included in the
next release of the relevant products.