Commit e72ec933 authored by unknown's avatar unknown
Browse files

Fix for bug #15108: mysqld crashes when innodb_log_file_size is set > 4G


sql/ha_innodb.cc:
  Fix for bug #15108: mysqld crashes when innodb_log_file_size is set > 4G
  - return 1 in case of error.
parent 97bfd41f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1218,7 +1218,7 @@ innobase_init(void)
				"innobase_buffer_pool_size can't be over 4GB"
				" on 32-bit systems");

			DBUG_RETURN(0);
			goto error;
		}

		if (innobase_log_file_size > UINT_MAX32) {
@@ -1226,7 +1226,7 @@ innobase_init(void)
				"innobase_log_file_size can't be over 4GB"
				" on 32-bit systems");

			DBUG_RETURN(0);
			goto error;
		}
	}