From 3efc1c4050745d0b8f6cb9d3a6fff482704c72c6 Mon Sep 17 00:00:00 2001
From: akuzminsky <akuzminsky@sm1u02>
Date: Tue, 21 Apr 2009 22:07:29 +0000
Subject: [PATCH] Fixed the bug 358980

---
 trx/trx0sys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/trx/trx0sys.c b/trx/trx0sys.c
index 2534b3781e7..b80a50738c0 100644
--- a/trx/trx0sys.c
+++ b/trx/trx0sys.c
@@ -673,7 +673,7 @@ trx_sys_update_mysql_binlog_offset(
 	trx_sysf_t*	sys_header;
 	const char*	file_name;
 
-	if (ut_strlen(file_name) >= TRX_SYS_MYSQL_MASTER_LOG_NAME_LEN) {
+	if (ut_strlen(file_name_in) >= TRX_SYS_MYSQL_MASTER_LOG_NAME_LEN) {
 
 		/* We cannot fit the name to the 512 bytes we have reserved */
 		/* -> To store relay log file information, file_name must fit to the 480 bytes */
-- 
2.30.9