Bug #37412 Help for des_encrypt has incomplete examples
Submitted: 14 Jun 2008 19:53 Modified: 14 Jun 2008 23:44
Reporter: Janek Bogucki Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.0.51a-3ubuntu5.1-log OS:Linux (Kubuntu 8.04)
Assigned to: Paul DuBois CPU Architecture:Any

[14 Jun 2008 19: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 20:13] MySQL Verification Team
Thank you for the bug report.
[14 Jun 2008 23: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.