From: Akhila Maddukuri Date: September 27 2012 6:26am Subject: bzr push into mysql-5.6 branch (akhila.x.maddukuri:4340 to 4341) List-Archive: http://lists.mysql.com/commits/144917 Message-Id: <20120927062642.7864.982.4341@akhila-ThinkPad-T420> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 4341 Akhila Maddukuri 2012-09-27 [merge] Description: ----------- After compiling from source, during make test I got the following error: test main.loaddata failed with error CURRENT_TEST: main.loaddata mysqltest: At line 592: query 'LOAD DATA INFILE 'tmpp.txt' INTO TABLE t1 CHARACTER SET ucs2 (@b) SET a=REVERSE(@b)' failed: 1115: Unknown character set: 'ucs2' I noticed other tests are skipped because of no ucs2 main.mix2_myisam_ucs2 [ skipped ] Test requires:' have_ucs2' Should main.loaddata be skipped if there is no ucs2 How To Repeat: ------------- Run make test on compiled source that doesn't have ucs2 Suggested fix: ------------- the failing piece of the test should be moved from mysql-test/t/loaddata.test to mysql-test/t/ctype_ucs.test. 4340 Harin Vadodaria 2012-09-27 Bug#14603714: CRASH OBSERVED IN SQL_ACL.CC WHILE FREEING UP THE MEMORY Description: In sql_acl.cc server_mpvio_info() calls X509_NAME_oneline() function. This functions returns pointer to a char string.When mysql is using OpenSSL, OpenSSL library uses OPENSSL_alloc() function to allocate memory for char string. However in sql_acl.cc, memory is freed using free(). Correct way to free such memory is to call OPENSSL_free() function. This change addresses this issue and replaces call to free() with OPENSSL_free() when memory is allocated through X509_NAME_oneline() in sql_acl.cc. modified: sql/sql_acl.cc No bundle (reason: useless for push emails).