Bug #12757 func_encrypt test fails
Submitted: 23 Aug 2005 14:44 Modified: 31 Aug 2005 2:03
Reporter: Ingo Strüwing Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.1.15 OS:Linux (Linux 2.6, gcc 3.3)
Assigned to: Jim Winstead CPU Architecture:Any

[23 Aug 2005 14:44] Ingo Strüwing
Description:
func_encrypt                    [ fail ]
Errors are (from /home/mydev/mysql-4.1-4100/mysql-test/var/log/mysqltest-time) :
/home/mydev/mysql-4.1-4100/client/.libs/lt-mysqltest: At line 71: query 'select des_decrypt(NULL)' failed: 2013: Lost connection to MySQL server during query
mysqltest returned unexpected code 256, it has probably crashed
(the last lines may be the most important ones)

How to repeat:
BUILD/compile-pentium-debug-max
cd mysql-test && ./mysql-test-run.pl func_encrypt
[23 Aug 2005 15:03] MySQL Verification Team
<cut>

TEST                            RESULT
-------------------------------------------------------

func_encrypt                    [ fail ]
[25 Aug 2005 19:34] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/28856
[25 Aug 2005 19:37] Jim Winstead
i wasn't able to actually reproduce the crash, but the code has an obvious flaw that is almost certainly the culprit.
[31 Aug 2005 2:03] Jim Winstead
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

Fixed in 4.1.15 and 5.0.13 (as soon as merge is done).