<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Marketgrid Consulting Blog &#187; Phil Smith</title>
	<atom:link href="http://www.marketgrid.com/blog/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marketgrid.com/blog</link>
	<description>MySQL, website development and performance news</description>
	<lastBuildDate>Mon, 09 Jan 2012 12:39:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>OpenSSL version 1.0.1 Beta 1</title>
		<link>http://www.marketgrid.com/blog/2012/01/openssl-version-1-0-1-beta-1/</link>
		<comments>http://www.marketgrid.com/blog/2012/01/openssl-version-1-0-1-beta-1/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 12:39:12 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[OpenSSL]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=591</guid>
		<description><![CDATA[OpenSSL - The Open Source toolkit for SSL/TLS http://www.openssl.org/ OpenSSL is currently in a release cycle. The first beta is now released.]]></description>
			<content:encoded><![CDATA[<pre>
  OpenSSL - The Open Source toolkit for SSL/TLS <a href="http://www.openssl.org/">http://www.openssl.org/</a>

  OpenSSL is currently in a release cycle. The first beta is now released.</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2012/01/openssl-version-1-0-1-beta-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Workbench 5.2.37</title>
		<link>http://www.marketgrid.com/blog/2011/12/mysql-workbench-5-2-37/</link>
		<comments>http://www.marketgrid.com/blog/2011/12/mysql-workbench-5-2-37/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 14:24:24 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[MySQL Workbench]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=589</guid>
		<description><![CDATA[The MySQL Developer Tools team has announced the next maintenance release of it’s flagship product, MySQL Workbench, version 5.2.37. This release contains 21 bug fixes, including a fix for a slowdown on loading of schema objects in the SQL Editor. &#160; MySQL Workbench 5.2 GA &#160; • Data Modeling • Query (replaces the old MySQL [...]]]></description>
			<content:encoded><![CDATA[<p>The MySQL Developer Tools team has announced the next maintenance release of it’s flagship product, MySQL Workbench, version 5.2.37.</p>
<p>This release contains 21 bug fixes, including a fix for a slowdown on loading of schema objects in the SQL Editor.</p>
<p>&nbsp;</p>
<p>MySQL Workbench 5.2 GA</p>
<p>&nbsp;</p>
<p>• Data Modeling</p>
<p>• Query (replaces the old MySQL Query Browser)</p>
<p>• Administration (replaces the old MySQL Administrator)</p>
<p>Sources and binary packages are available for several platforms, including Windows, Mac OS X and Linux.</p>
<p>&nbsp;</p>
<p>In addition to the new Query/SQL Development and Administration modules, version 5.2 features improved stability and performance – especially in Windows, where OpenGL support has been enhanced and the UI was optimized to offer better responsiveness. This release also includes improvements to the scripting capabilities of the SQL Editor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2011/12/mysql-workbench-5-2-37/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Connector/Net 6.5.0 beta</title>
		<link>http://www.marketgrid.com/blog/2011/12/mysql-connectornet-6-5-0-beta/</link>
		<comments>http://www.marketgrid.com/blog/2011/12/mysql-connectornet-6-5-0-beta/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 02:35:28 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=585</guid>
		<description><![CDATA[MySQL Connector/Net 6.5.0, a new version of the all-managed .NET driver for MySQL has been released.  This is a beta release of the newest connector and comes with several new features.  It is of beta quality and should not be used in any production environment.  It is appropriate for use with MySQL server versions 5.0-5.6 [...]]]></description>
			<content:encoded><![CDATA[<p>MySQL Connector/Net 6.5.0, a new version of the all-managed .NET driver for MySQL has been released.  This is a beta release of the newest connector and comes with several new features.  It is of beta quality and should not be used in any production environment.  It is appropriate for use with MySQL server versions 5.0-5.6</p>
<p>This new versions brings new features such as</p>
<p>* Exception and command injector support<br />
* Millseconds support<br />
* Better partial-trust support<br />
* Better intellisense including auto-completion when editing stored procedures or .mysql files</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2011/12/mysql-connectornet-6-5-0-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Connector/Net 6.3.8 GA</title>
		<link>http://www.marketgrid.com/blog/2011/12/mysql-connectornet-6-3-8-ga/</link>
		<comments>http://www.marketgrid.com/blog/2011/12/mysql-connectornet-6-3-8-ga/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 03:12:30 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[MySql Connector/Net]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=582</guid>
		<description><![CDATA[MySQL Connector/Net 6.3.8, a new version of the all-managed .NET driver for MySQL has been released.  This is a maintenance release to the 6.3 release chain and includes 40 changes and fixes. &#160; Version 6.3.8 is appropriate for use with versions of MySQL 5.0-5.5.]]></description>
			<content:encoded><![CDATA[<p>MySQL Connector/Net 6.3.8, a new version of the all-managed .NET driver</p>
<p>for MySQL has been released.  This is a maintenance release to the 6.3</p>
<p>release chain and includes 40 changes and fixes.</p>
<p>&nbsp;</p>
<p>Version 6.3.8 is appropriate for use with versions of MySQL 5.0-5.5.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2011/12/mysql-connectornet-6-3-8-ga/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Framework 2.0.0beta2</title>
		<link>http://www.marketgrid.com/blog/2011/12/zend-framework-2-0-0beta2/</link>
		<comments>http://www.marketgrid.com/blog/2011/12/zend-framework-2-0-0beta2/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 12:55:53 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[Zend/PHP]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=579</guid>
		<description><![CDATA[NEW FEATURES IN BETA2 --------------------- - Refactored Mail component - Does not change existing Storage API, except: - Zend\Mail\MailMessage was moved to Zend\Mail\Storage\MailMessage - Zend\Mail\MailPart was moved to Zend\Mail\Storage\MailPart - Zend\Mail\Message was moved to Zend\Mail\Storage\Message - Zend\Mail\Part was moved to Zend\Mail\Storage\Part - Zend\Mail\Mail was renamed to Zend\Mail\Message - Encapsulates a mail message and all headers [...]]]></description>
			<content:encoded><![CDATA[<pre>

NEW FEATURES IN BETA2
---------------------

- Refactored Mail component
  - Does not change existing Storage API, except:
    - Zend\Mail\MailMessage was moved to Zend\Mail\Storage\MailMessage
    - Zend\Mail\MailPart was moved to Zend\Mail\Storage\MailPart
    - Zend\Mail\Message was moved to Zend\Mail\Storage\Message
    - Zend\Mail\Part was moved to Zend\Mail\Storage\Part
  - Zend\Mail\Mail was renamed to Zend\Mail\Message
    - Encapsulates a mail message and all headers
    - MIME messages are created by attaching a Zend\Mime\Message object
      as the mail message body
  - Added Zend\Mail\Address and Zend\Mail\AddressList
    - Used to represent single addresses and address collections,
      particularly within mail headers
  - Added Zend\Mail\Header\* and Zend\Mail\Headers
    - Representations of mail headers
  - Zend\Mail\Transport interface defines simply "send(Message $message)"
    - Smtp, File, and Sendmail transports rewritten to consume Message
      objects, and to introduce Options classes.
- Refactored Zend\Cache
  - Completely rewritten component.
  - New API features storage adapters and adapter plugins for
    implementing cache storage and features such as serialization,
    clearing, and optimizing.
    - Current adapters include filesystem, APC, memcached, and memory.
    - All adapters can describe capabilities.
    - Plugins are implemented as event listeners.
  - New "Pattern" API created to simplify things like method, class,
    object, and output caching.
- MVC updates
  - Zend\Module\Manager was stripped of most functionality; it now
    simply iterates requested modules and triggers events.
  - Former manager functionality such as class loading and
    instantiation, "init()" triggering, configuration gathering, and
    autoloader seeding were moved to event listeners.
  - Post-module loading configuration globbing support was added.
    - Simplifies story of overriding module configuration.
  - Recommended filesystem no longer uses plurals for directory names.
  - Recommendations now include a chdir(__DIR__ . '/../') from the
    public/index.php file, and specifying configuration paths to be
    relative to application directory.

In addition, over 100 bug and feature requests were handled since beta1.</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2011/12/zend-framework-2-0-0beta2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Community Server 5.6.4</title>
		<link>http://www.marketgrid.com/blog/2011/12/mysql-community-server-5-6-4/</link>
		<comments>http://www.marketgrid.com/blog/2011/12/mysql-community-server-5-6-4/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 12:40:03 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[MySql 5.6]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=576</guid>
		<description><![CDATA[MySQL Server 5.6.4 (Milestone Release) is a new version of the world&#8217;s most popular open source database. The new features in these releases are of beta quality. As with any other pre-production release, caution should be taken when installing on production level systems or systems with critical data. Note that 5.6.4 includes all features in [...]]]></description>
			<content:encoded><![CDATA[<p>MySQL Server 5.6.4 (Milestone Release) is a new version of the world&#8217;s<br />
most popular open source database.</p>
<p>The new features in these releases are of beta quality. As with any<br />
other pre-production release, caution should be taken when installing on<br />
production level systems or systems with critical data.</p>
<p>Note that 5.6.4 includes all features in MySQL 5.5.</p>
<p>D.1.2. Changes in MySQL 5.6.4 (20 December 2011 Milestone 7)</p>
<p>Condition Handler Changes</p>
<p>* Incompatible Change: MySQL now supports the GET DIAGNOSTICS<br />
statement. GET DIAGNOSTICS provides applications a<br />
standardized way to obtain information from the diagnostics<br />
area, such as whether the previous SQL statement produced an<br />
exception and what it was. For more information, see Section<br />
12.6.7.3, &#8220;GET DIAGNOSTICS Syntax.&#8221;</p>
<p>In addition several deficiencies in condition handler<br />
processing rules were corrected so that MySQL behavior is more<br />
like standard SQL:</p>
<p>+ Block scope is used in determining which handler to<br />
select. Previously, a stored program was treated as<br />
having a single scope for handler selection.</p>
<p>+ Condition precedence is more accurately resolved.</p>
<p>+ Diagnostics area clearing has changed. Bug #55843 caused<br />
handled conditions to be cleared from the diagnostics<br />
area before activating the handler. This made condition<br />
information unavailable within the handler. Now condition<br />
information is available to the handler, which can<br />
inspect it with the GET DIAGNOSTICS statement. The<br />
condition information is cleared when the handler exits,<br />
if it has not already been cleared during handler<br />
execution.</p>
<p>+ Previously, handlers were activated as soon as a<br />
condition occurred. Now they are not activated until the<br />
statement in which the condition occurred finishes<br />
execution, at which point the most appropriate handler is<br />
chosen. This can make a difference for statements that<br />
raise multiple conditions, if a condition raised later<br />
during statement execution has higher precedence than an<br />
earlier condition and there are handlers in the same<br />
scope for both conditions. Previously, the handler for<br />
the first condition raised would be chosen, even if it<br />
had a lower precedence than other handlers. Now the<br />
handler for the condition with highest precedence is<br />
chosen, even if it is not the first condition raised by<br />
the statement.</p>
<p>+ Issues that caused server crashes resulting from<br />
incorrect handler call stack processing were fixed.</p>
<p>The work just described involved several condition-handler bug<br />
fixes:</p>
<p>+ The RETURN statement did not clear the diagnostics area<br />
as it should have. Now the diagnostics area is cleared<br />
before executing RETURN. This prevents a condition in a<br />
nested function call from incorrectly propagating to an<br />
outer scope. It also means there is no way to return an<br />
SQL warning from a stored function. This change is not<br />
backward compatible, but the resulting behavior is more<br />
like standard SQL.</p>
<p>+ When an SQL HANDLER was activated, the handled condition<br />
was immediately removed from the diagnostics area.<br />
Consequently, any SQL diagnostic statement executed in<br />
the handler was unable to examine the condition that<br />
triggered the handler.</p>
<p>+ If multiple handlers existed at the same level within a<br />
stored program, the wrong one could be chosen.</p>
<p>+ If an error occurred in a context where different<br />
handlers were present at different levels of nesting, an<br />
outer handler could be chosen rather than the innermost<br />
one.</p>
<p>For more information, see Section 12.6.7.6, &#8220;Scope Rules for<br />
Handlers.&#8221; (Bug #12951117, Bug #38806, Bug #11749343, Bug<br />
#55852, Bug #11763171, Bug #61392, Bug #12652873, Bug #11660,<br />
Bug #11745196)</p>
<p>Fractional Seconds Handling</p>
<p>* Incompatible Change: MySQL now permits fractional seconds for<br />
TIME, DATETIME, and TIMESTAMP values, with up to microseconds<br />
(6 digits) precision. To define a column that includes a<br />
fractional seconds part, use the syntax type_name(fsp), where<br />
type_name is TIME, DATETIME, or TIMESTAMP, and fsp is the<br />
fractional seconds precision. For example:<br />
CREATE TABLE t1 (t TIME(3), dt DATETIME(6));<br />
The fsp value, if given, must be in the range 0 to 6. A value<br />
of 0 signifies that there is no fractional part. If omitted,<br />
the default precision is 0. (This differs from the standard<br />
SQL default of 6, for compatibility with previous MySQL<br />
versions.)<br />
The following items summarize the implications of this change.<br />
See also Section 10.3.4, &#8220;Fractional Seconds in Time Values.&#8221;</p>
<p>+ For TIME, DATETIME, and TIMESTAMP columns, the encoding<br />
and storage requirements in new tables differ from such<br />
columns in tables created previously because these types<br />
now include a fractional seconds part.</p>
<p>+ Syntax for temporal literals now produces temporal<br />
values: DATE &#8216;str&#8217;, TIME &#8216;str&#8217;, and TIMESTAMP &#8216;str&#8217;, and<br />
the ODBC-syntax equivalents. Previously, the temporal<br />
type keyword was ignored and these constructs produced<br />
the string value.</p>
<p>+ Functions that take temporal arguments accept values with<br />
fractional seconds. Return values from temporal functions<br />
include fractional seconds as appropriate.</p>
<p>+ Three INFORMATION_SCHEMA tables, COLUMNS, PARAMETERS, and<br />
ROUTINES, now have a DATETIME_PRECISION column. Its value<br />
is the fractional seconds precision for TIME, DATETIME,<br />
and TIMESTAMP columns, and NULL for other data types.</p>
<p>+ The C API accommodates fractional seconds as follows:<br />
o In the MYSQL_FIELD column metadata structure, the<br />
decimals member indicates the fractional seconds<br />
precision for TIME, DATETIME, and TIMESTAMP columns.<br />
Clients can determine whether a result set temporal<br />
column has a fractional seconds part by checking for<br />
a nonzero decimals value in the corresponding<br />
MYSQL_FIELD structure. Previously, the decimals<br />
member indicated the precision for numeric columns<br />
and was zero otherwise.<br />
o In the MYSQL_TIME structure used for the binary<br />
protocol, the second_part member indicates the<br />
microseconds part for TIME, DATETIME, and TIMESTAMP<br />
columns. Previously, the second_part member was<br />
unused.<br />
In some cases, previously accepted syntax may produce<br />
different results. The following items indicate where existing<br />
code may need to be changed to avoid problems:</p>
<p>+ Some expressions produce results that differ from<br />
previous results. Examples: The timestamp system variable<br />
returns a value that includes a microseconds fractional<br />
part rather than an integer. Functions that return a<br />
result that includes the current time (such as CURTIME(),<br />
SYSDATE(), or UTC_TIMESTAMP()) interpret an argument as<br />
an fsp value and the return value includes a fractional<br />
seconds part of that many digits. Previously, these<br />
functions permitted an argument but ignored it.</p>
<p>+ TIME values are converted to DATETIME by adding the time<br />
to the current date. (This means that the date part of<br />
the result differs from the current date if the time<br />
value is outside the range from &#8217;00:00:00&#8242; to<br />
&#8217;23:59:59&#8242;.) Previously, conversion of TIME values to<br />
DATETIME was unreliable. See Section 10.3.5, &#8220;Conversion<br />
Between Date and Time Types.&#8221;</p>
<p>+ TIMESTAMP(N) was permitted in old MySQL versions, but N<br />
was a display width rather than fractional seconds<br />
precision. Support for this behavior was removed in MySQL<br />
5.5.3, so applications that are reasonably up to date<br />
should not be subject to this issue. Otherwise, code must<br />
be rewritten.</p>
<p>Note<br />
There may be problems replicating from a master server that<br />
understands fractional seconds to an older slave that does<br />
not:</p>
<p>+ For CREATE TABLE statements containing columns that have<br />
an fsp value greater than 0, replication will fail due to<br />
parser errors.</p>
<p>+ Statements that use temporal data types with an fsp value<br />
of 0 will work for with statement-based logging but not<br />
row-based logging. In the latter case, the data types<br />
have binary formats and type codes on the master that<br />
differ from those on the slave.</p>
<p>+ Some expression results will differ on master and slave.<br />
For example, expressions that involve the timestamp<br />
system variable or functions that return the current time<br />
have different results, as described earlier.<br />
(Bug #8523, Bug #11745064)</p>
<p>Optimizer Features</p>
<p>* These query optimizer improvements were implemented:</p>
<p>+ The optimizer detects and optimizes away these useless<br />
query parts within IN/ALL/SOME/EXISTS subqueries:</p>
<p>o DISTINCT<br />
o GROUP BY, if there is no HAVING clause and no<br />
aggregate functions<br />
o ORDER BY, which has no effect because LIMIT is not<br />
supported in these subqueries</p>
<p>Performance Schema Notes</p>
<p>* The Performance Schema has these additions:</p>
<p>+ The Performance Schema now permits instrument and<br />
consumer configuration at server startup, which<br />
previously was possible only at runtime using UPDATE<br />
statements for the setup_instruments and setup_consumers<br />
tables. This change was made because configuration at<br />
runtime is too late to disable instruments that have<br />
already been initialized during server startup. For<br />
example, the wait/sync/mutex/sql/LOCK_open mutex is<br />
initialized once during server startup, so attempts to<br />
disable the corresponding instrument at runtime have no<br />
effect.</p>
<p>To control an instrument at server startup, use an option<br />
of this form:</p>
<p>&#8211;performance_schema_instrument=&#8217;instrument_name=value&#8217;</p>
<p>Here, instrument_name is an instrument name such as<br />
wait/sync/mutex/sql/LOCK_open, and value is one of these<br />
values:</p>
<p>o off, false, or 0: Disable the instrument<br />
o on, true, or 1: Enable and time the instrument<br />
o counted: Enable and count (rather than time) the<br />
instrument</p>
<p>Each &#8211;performance_schema_instrument option can specify<br />
only one instrument name, but multiple instances of the<br />
option can be given to configure multiple instruments. In<br />
addition, patterns are permitted in instrument names to<br />
configure instruments that match the pattern. To<br />
configure all condition synchronization instruments as<br />
enabled and counted, use this option:</p>
<p>&#8211;performance_schema_instrument=&#8217;wait/synch/cond/%=counted&#8217;</p>
<p>To disable all instruments, use this option:<br />
&#8211;performance_schema_instrument=&#8217;%=off&#8217;</p>
<p>Longer instrument name strings take precedence over<br />
shorter pattern names, regardless of order. For<br />
information about specifying patterns to select<br />
instruments, see Section 19.2.3.2.2, &#8220;Naming Instruments<br />
or Consumers for Filtering Operations.&#8221;</p>
<p>An unrecognized instrument name is ignored. It is<br />
possible that a plugin installed later may create the<br />
instrument, at which time the name is recognized and<br />
configured.</p>
<p>To control a consumer at server startup, use an option of<br />
this form:</p>
<p>&#8211;performance_schema_consumer_consumer_name=value</p>
<p>Here, consumer_name is a consumer name such as<br />
events_waits_history, and value is one of these values:</p>
<p>o off, false, or 0: Do not collect events for the<br />
consumer<br />
o on, true, or 1: Collect events for the consumer</p>
<p>For example, to enable the events_waits_history consumer,<br />
use this option:</p>
<p>&#8211;performance_schema_consumer_events_waits_history=on</p>
<p>The permitted consumer names can be found by examining<br />
the setup_consumers table. Patterns are not permitted.<br />
Along with the preceding changes to permit configuration<br />
at server startup, the default instrument and consumer<br />
configuration has changed. Previously, all instruments<br />
and consumers were enabled by default. Now, instruments<br />
are disabled except the statement, I/O, and idle<br />
instruments. Consumers are disabled except the global,<br />
thread, and statement consumers. These changes produce a<br />
default configuration with minimal overhead.</p>
<p>+ Tables that have an EVENT_ID column now also have an<br />
END_EVENT_ID column to support determination of nested<br />
event relationships:</p>
<p>o events_waits_current, events_waits_history,<br />
events_waits_history_long</p>
<p>o events_stages_current, events_stages_history,<br />
events_stages_history_long</p>
<p>o events_statements_current,<br />
events_statements_history,<br />
events_statements_history_long</p>
<p>As before, EVENT_ID is populated with the thread current<br />
event counter when an event starts. In addition,<br />
END_EVENT_ID is NULL until the event ends, at which point<br />
it is set to the new thread current event counter. This<br />
permits the relationship &#8220;event A is included in event B&#8221;<br />
to be determined using the following expression, without<br />
having to follow each inclusion relationship using<br />
NESTING_EVENT_ID:</p>
<p>A.EVENT_ID&lt;= B.EVENT_ID AND B.END_EVENT_ID&lt;= A.END_EVENT_ID</p>
<p>+ The Performance Schema aggregates file I/O operations in<br />
two places, the events_waits_summary_xxx tables and the<br />
file_summary_xxx tables. It was possible to join the<br />
events_waits_summary_global_by_event_name table to the<br />
file_summary_by_event_name by using the EVENT_NAME<br />
column. However, it was not possible to do the same with<br />
the events_waits_summary_by_instance and<br />
file_summary_by_instance tables because the former uses<br />
OBJECT_INSTANCE_BEGIN as the instance identifier and the<br />
latter uses FILE_NAME. This means that it was possible to<br />
obtain both file I/O latency and usage per file, but not<br />
to correctly correlate latency to usage when there was<br />
more than one form of file (such as multiple redo logs,<br />
table files, and so forth).</p>
<p>To address this issue, the file_summary_by_instance table<br />
now has an OBJECT_INSTANCE_BEGIN column. In addition,<br />
both file_summary_by_instance and<br />
file_summary_by_event_name have additional aggregation<br />
columns (such as timer wait information), which in many<br />
cases makes it possible to obtain the desired summary<br />
information without need for a join at all.</p>
<p>If you upgrade to this release of MySQL from an earlier<br />
version, you must run mysql_upgrade (and restart the server)<br />
to incorporate these changes into the performance_schema<br />
database.</p>
<p>For more information, see Chapter 19, &#8220;MySQL Performance<br />
Schema.&#8221;</p>
<p>Functionality Added or Changed</p>
<p>* Replication: Previously, replication slaves could connect to<br />
the master server only through master accounts that use native<br />
authentication. Now replication slaves can also connect<br />
through master accounts that use nonnative authentication if<br />
the required client-side plugin is installed on the slave side<br />
in the directory named by the slave plugin_dir system<br />
variable. (Bug #12897501)</p>
<p>* The optimizer trace capability now tracks temporary tables<br />
created by the server during statement execution. (Bug<br />
#13400713)</p>
<p>* Performance of metadata locking operations on Windows XP<br />
systems was improved by instituting a cache for metadata lock<br />
objects. This permits the server to avoid expensive operations<br />
for creation and destruction of synchronization objects on XP.<br />
A new system variable, metadata_locks_cache_size, permits<br />
control over the size of the cache. The default size is 1024.<br />
(Bug #12695572)</p>
<p>* Upgrading from an Advanced GPL RPM package to an Advanced RPM<br />
package did not work. Now on Linux it is possible to use rpm<br />
-U to replace any installed MySQL product by any other of the<br />
same release family. It is not necessary to remove the old<br />
produce with rpm -e first. (Bug #11886309)</p>
<p>* The make_win_bin_dist script is no longer used and has been<br />
removed from MySQL distributions and the manual. (Bug #58241)</p>
<p>* MEMORY table creation time is now available in the CREATE_TIME<br />
column of the INFORMATION_SCHEMA.TABLES table and the<br />
Create_time column of SHOW TABLE STATUS output. (Bug #51655,<br />
Bug #11759349)</p>
<p>* Previously, MySQL servers from 5.1 and up refused to open<br />
ARCHIVE tables created in 5.0 because opening them caused a<br />
server crash. The server now can open 5.0 ARCHIVE tables, and<br />
REPAIR TABLE updates them to the format used in 5.6. However,<br />
the recommended upgrade procedure is still to dump 5.0 ARCHIVE<br />
tables before upgrading and reload them after upgrading. (Bug<br />
#48633, Bug #11756687)</p>
<p>* The MySQL code base was changed to permit use of the C++<br />
Standard Library and to enable exceptions and runtime type<br />
information (RTTI). This change has the following<br />
implications:</p>
<p>+ Libraries and executables depend on some C++ standard<br />
library. On Linux, this has not been the case previously.<br />
On Solaris, the default dependency has changed from the<br />
default library to libstlport, which is now included with<br />
binary distributions for users whose system does not have<br />
it.</p>
<p>+ The -fno-rtti and -fno-exceptions options are no longer<br />
used to build plugins, such as storage engines. Users who<br />
write their own plugins should omit these options if they<br />
were using tem.</p>
<p>+ C++ users who compile from source should set CXX to a C++<br />
compiler rather than a C compiler. For example, use g++<br />
rather than gcc. This includes the server as well as<br />
client programs.</p>
<p>+ mysql_config now has a &#8211;cxxflags option. This is like<br />
the &#8211;cflags option, but produces flags appropriate for a<br />
C++ compiler rather than a C compiler.</p>
<p>+ User-defined functions can be written in C++ using<br />
standard library features.</p>
<p>* New optimizations apply to read-only InnoDB transactions. See<br />
Section 13.2.5.2.2, &#8220;Optimizations for Read-Only Transactions&#8221;<br />
for details. The new optimizations make autocommit more<br />
applicable to InnoDB queries than before, as a way to signal<br />
that a transaction is read-only because it is a<br />
single-statement SELECT.</p>
<p>* You can now set the InnoDB page size for uncompressed tables<br />
to 8KB or 4KB, as an alternative to the default 16KB. This<br />
setting is controlled by the innodb_page_size configuration<br />
option. You specify the size when creating the MySQL instance.<br />
All InnoDB tablespaces within an instance share the same page<br />
size. Smaller page sizes can help to avoid redundant or<br />
inefficient I/O for certain combinations of workload and<br />
storage devices, particularly SSD devices with small block<br />
sizes.</p>
<p>* MySQL now supports FULLTEXT indexes for InnoDB tables. The<br />
core syntax is very similar to the FULLTEXT capability from<br />
earlier releases, with the CREATE TABLE and CREATE INDEX<br />
statements, and MATCH() &#8230; AGAINST() clause in the SELECT<br />
statement. The new @ operator allows proximity searches for<br />
terms that are near each other in the document. The detailed<br />
search processing is controlled by a new set of configuration<br />
options: innodb_ft_enable_stopword,<br />
innodb_ft_server_stopword_table,<br />
innodb_ft_user_stopword_table, innodb_ft_cache_size,<br />
innodb_ft_min_token_size, and innodb_ft_max_token_size. You<br />
can monitor the workings of the InnoDB full-text search system<br />
by querying new INFORMATION_SCHEMA tables:<br />
innodb_ft_default_stopword, innodb_ft_index_table,<br />
innodb_ft_index_cache, innodb_ft_config, innodb_ft_deleted,<br />
and innodb_ft_being_deleted.</p>
<p>Bugs Fixed</p>
<p>* Incompatible Change: Replication: The statements in the<br />
following list are now marked as unsafe for statement-based<br />
replication. This is due to the fact that each of these<br />
statements depends on the results of a SELECT statement whose<br />
order cannot always be determined. When using STATEMENT<br />
logging mode, a warning is issued in the binary log for any of<br />
these statements; when using MIXED logging mode, the statement<br />
is logged using the row-based format.</p>
<p>+ INSERT &#8230; SELECT &#8230; ON DUPLICATE KEY UPDATE<br />
+ REPLACE &#8230; SELECT<br />
+ CREATE TABLE &#8230; IGNORE SELECT<br />
+ CREATE TABLE &#8230; REPLACE SELECT<br />
+ INSERT IGNORE &#8230; SELECT<br />
+ UPDATE IGNORE</p>
<p>When upgrading, you should note the use of these statements in<br />
your applications, keeping in mind that a statement that<br />
inserts or replaces rows obtained from a SELECT can take up<br />
many times as much space in the binary log when logged using<br />
row-based format than when only the statement itself is<br />
logged. Depending on the number and size of the rows selected<br />
and inserted (or replaced) by any such statements, the<br />
difference in size of the binary log after the logging of<br />
these statements is switched from statement-based to row-based<br />
can potentially be several orders of magnitude. See Section<br />
15.1.2.1, &#8220;Advantages and Disadvantages of Statement-Based and<br />
Row-Based Replication.&#8221; (Bug #11758262, Bug #50439)</p>
<p>* Incompatible Change: Previously, &#8220;Aborted connection&#8221; errors<br />
were written to the error log based on the session value of<br />
log_warnings, which permitted users with minimal privileges to<br />
cause many messages to be written to the log unless restricted<br />
by the MAX_CONNECTIONS_PER_HOUR resource limit. Now this<br />
logging is based on the global log_warnings variable. There<br />
are no remaining uses of the session log_warnings variable, so<br />
it has been removed that the variable has only a global value.<br />
(Bug #53466, Bug #11761014)</p>
<p>* Important Change: InnoDB Storage Engine: Data from BLOB<br />
columns could be lost if the server crashed at a precise<br />
moment when other columns were being updated in an InnoDB<br />
table. (Bug #12704861)</p>
<p>* InnoDB Storage Engine: This fix improves the performance of<br />
instrumentation code for InnoDB buffer pool operations. (Bug<br />
#12950803, Bug #62294)</p>
<p>* InnoDB Storage Engine: Unused functions were removed from the<br />
internal InnoDB code related to mini-transactions, to clarify<br />
the logic. (Bug #12626794, Bug #61240)</p>
<p>* InnoDB Storage Engine: Lookups using secondary indexes could<br />
give incorrect matches under a specific set of conditions. The<br />
conditions involve an index defined on a column prefix, for a<br />
BLOB or other long column stored outside the index page, with<br />
a table using the Barracuda file format. (Bug #12601439)</p>
<p>* InnoDB Storage Engine: This fix corrects cases where the MySQL<br />
server could hang or abort with a long semaphore wait message.<br />
(This is a different issue than when these symptoms occurred<br />
during a CHECK TABLE statement.) (Bug #11766591, Bug #59733)</p>
<p>* Partitioning: CHECKSUM TABLE returned 0 for a partitioned<br />
table unless the statement was used with the EXTENDED option.<br />
(Bug #11933226, Bug #60681)</p>
<p>* Partitioning: Error 1214 (ER_TABLE_CANT_HANDLE_FT), given when<br />
trying to use a FULLTEXT index with a partitioned table,<br />
displayed the misleading text The used table type doesn&#8217;t<br />
support FULLTEXT indexes was misleading and has been replaced<br />
with Error 1752 (ER_FULLTEXT_NOT_SUPPORTED_WITH_PARTITIONING)<br />
which shows the more accurate FULLTEXT index is not supported<br />
for partitioned tables. (Bug #11763825, Bug #56590)</p>
<p>* Replication: The value set for the slave_parallel_workers<br />
system variable (or the corresponding &#8211;slave-parallel-workers<br />
server option) was not always honored correctly; in such cases<br />
a random value was used. (Bug #13334470)</p>
<p>* Replication: Several warnings and informational messages were<br />
revised for typographic errors and clarity. (Bug #12947248,<br />
Bug #12978113)</p>
<p>* Replication: A replication master could send damaged events to<br />
slaves after the binary log disk on the master became full. To<br />
correct this issue, only complete events are now pushed by the<br />
master dump thread to the slave I/O thread. In addition, the<br />
error text that the master sends to the slave when an<br />
incomplete event is found now states that the incomplete event<br />
may have been caused by running out of disk space on the<br />
master, and provides coordinates of the first and the last<br />
event bytes read. (Bug #11747416, Bug #32228)</p>
<p>* A derived table with more than 64 columns caused a server<br />
crash. (Bug #13354889)</p>
<p>* Writes to the slow log involved a call to thd-&gt;current_utime()<br />
even if no log entries ended up being written, unnecessarily<br />
reducing performance. (Bug #13326965)</p>
<p>* Rounding DBL_MAX returned DBL_MAX, not &#8216;inf&#8217;. (Bug #13261955)</p>
<p>* Access privileges were checked for each stored program<br />
instruction, even if the instruction used no tables, resulting<br />
in reduced performance. (Bug #13251277)</p>
<p>* The error message for ER_EVENT_CANNOT_ALTER_IN_THE_PAST was<br />
incorrect. (Bug #13247871)</p>
<p>* During the table-opening process, memory was allocated and<br />
later freed that was needed view loading, even for statements<br />
that did not use views. These unnecessary allocation and free<br />
operations are no longer done. (Bug #13116518)</p>
<p>* Subqueries with OUTER JOIN could return incorrect results if<br />
the subquery referred to a column from another SELECT. (Bug<br />
#13068506)</p>
<p>* The Performance Schema nested some network I/O events within<br />
the wrong statement. (Bug #12981100)</p>
<p>* mysql_plugin mishandled the &#8211;plugin-ini, &#8211;mysqld, and<br />
&#8211;my-print-defaults options under some circumstances. (Bug<br />
#12968815)</p>
<p>* mysql_plugin returned the wrong error code from failed server<br />
bootstrap execution. (Bug #12968567)</p>
<p>* Internal conversion of zero to binary and back could yield a<br />
result with incorrect precision. (Bug #12911710)</p>
<p>* Valgrind warnings generated by filesort operations were fixed.<br />
(Bug #12856915)</p>
<p>* Partitioning: Using ALTER TABLE to remove partitioning from a<br />
valid MyISAM table could corrupt it. (Bug #52599, Bug<br />
#11760213)</p>
<p>* An IN-to-EXISTS subquery transformation could yield incorrect<br />
results if the outer value list contained NULL. (Bug<br />
#12838171)</p>
<p>* With index condition pushdown enabled, STRAIGHT_JOIN queries<br />
could produce incorrect results. (Bug #12822678, Bug<br />
#12724899)</p>
<p>* The result of ROUND() was incorrect for certain numbers. (Bug<br />
#12744991)</p>
<p>* A warning resulting from use of SPACE() referred to REPEAT()<br />
in the warning message. (Bug #12735829)</p>
<p>* IN and EXISTS subqueries with DISTINCT and ORDER BY could<br />
return incorrect results. (Bug #12709738)</p>
<p>* Several improvements were made to the libedit library bundled<br />
with MySQL distributions, and that is available for all<br />
platforms that MySQL supports except Windows.</p>
<p>+ Navigation keys did not work for UTF-8 input.</p>
<p>+ Word navigation and delete operations did not work for<br />
UTF-8 input with Cyrillic characters.</p>
<p>+ Nonlatin characters were corrupted in overwrite mode for<br />
UTF-8 input.</p>
<p>+ Long queries caused the statement history file to become<br />
corrupted.</p>
<p>+ The Alt key caused history operations to fail.</p>
<p>(Bug #12605400, Bug #12613725, Bug #12618092, Bug #12624155,<br />
Bug #12617651, Bug #12605388)</p>
<p>* SELECT SQL_BUFFER_RESULT query results included too many rows<br />
if a GROUP BY clause was optimized away. (Bug #12578908)</p>
<p>* mysqldump &#8211;all-databases did not dump the replication log<br />
tables. (They could be dumped only by naming them explicitly<br />
when invoking mysqldump, and using the &#8211;master-data option.)</p>
<p>As a result of the fix for this problem, it is now possible to<br />
execute statements requiring read locks on the replication log<br />
tables at any time, while any statements requiring a write<br />
lock on either or both of these tables are disallowed whenever<br />
replication is in progress. For more information, see Section<br />
15.2.2, &#8220;Replication Relay and Status Logs.&#8221; (Bug #12402875,<br />
Bug #60902)</p>
<p>* mysqld_safe did not properly check for an already running<br />
instance of mysqld. (Bug #11878394)</p>
<p>* Replication: &#8211;replicate-rewrite-db=from_name-&gt;to_name did not<br />
work correctly when the name of the source database<br />
(from_name) consisted of only a single character. (Bug #34332,<br />
Bug #11747866)</p>
<p>* If index condition pushdown access was chosen and then<br />
abandoned, some variables were not cleared, leading to<br />
incorrect query results. (Bug #62533)</p>
<p>* For a lower_case_table_names value of 1 or 2 and a database<br />
having a mixed-case name, calling a stored function using a<br />
fully qualified name including the database name failed. (Bug<br />
#60347, Bug #11840395)</p>
<p>* mysql_upgrade did not upgrade the system tables or create the<br />
mysql_upgrade_info file when run with the &#8211;write-binlog or<br />
&#8211;skip-write-binlog option. (Bug #60223, Bug #11827359)</p>
<p>* A multiple-table UPDATE statement required the UPDATE<br />
privilege on a view which was only read if the view was<br />
processed using the merge algorithm. (Bug #59957, Bug<br />
#11766767)</p>
<p>* When a join operation contained a view, the optimizer<br />
sometimes failed to associate the view&#8217;s WHERE clause<br />
with the first table or view in a join when it was<br />
possible to do so, resulting in a less efficient query.<br />
(Bug #59696, Bug #11766559)</p>
<p>* An assertion was raised when selecting from a view that<br />
selects from a view that used a user-defined function that had<br />
been deleted. (Bug #59546, Bug #11766440)</p>
<p>* The help message for mysql_install_db did not indicate that it<br />
supports the &#8211;defaults-file, &#8211;defaults-extra-file and<br />
&#8211;no-defaults options. (Bug #58898, Bug #11765888)</p>
<p>* mysql_install_db printed the &#8211;skip-grant-tables server option<br />
as &#8211;skip-grant in one of its error messages. (Bug #58534, Bug<br />
#11765553)</p>
<p>* An assertion designed to detect zero-length sort keys also was<br />
raised when the entire key set fit in memory. (Bug #58200, Bug<br />
#11765254)</p>
<p>* During optimization, ZEROFILL values may be converted to<br />
string constants. However, CASE expressions did not handle<br />
switching data types after the planning stage, leading to CASE<br />
finding a null pointer instead of its argument. (Bug #57135,<br />
Bug #11764313)</p>
<p>* If a plugin was uninstalled, thread local variables for plugin<br />
variables of string type with wth PLUGIN_VAR_MEMALLOC flag<br />
were not freed. (Bug #56652, Bug #11763882)</p>
<p>* Deadlock could occur when these four things happened at the<br />
same time: 1) An old dump thread was waiting for the binary<br />
log to grow. 2) The slave server that replicates from the old<br />
dump thread tried to reconnect. During reconnection, the new<br />
dump thread tried to kill the old dump thread. 3) A KILL<br />
statement tried to kill the old dump thread. 4) An INSERT<br />
statement caused a binary log rotation. (Bug #56299, Bug<br />
#11763573)</p>
<p>* myisampack could create corrupt FULLTEXT indexes when<br />
compressing tables. (Bug #53646, Bug #11761180)</p>
<p>* The SQL_BIG_RESULT modifier could change the results for<br />
queries that included a GROUP BY clause. (Bug #53534, Bug<br />
#11761078)</p>
<p>* ARCHIVE tables with NULL columns could cause server crashes or<br />
become corrupt under concurrent load. (Bug #51252, Bug<br />
#11758979)</p>
<p>* InnoDB used incorrect identifier quoting style in an error<br />
message that resulted in an error if a user followed the<br />
suggestion in the message. (Bug #49556, Bug #11757503)</p>
<p>* OPTIMIZE TABLE could corrupt MyISAM tables if myisam_use_mmap<br />
was enabled. (Bug #49030, Bug #11757032)</p>
<p>* A query that selected a GROUP_CONCAT() function result could<br />
return different values depending on whether an ORDER BY of<br />
the function result was present. (Bug #41090, Bug #11750518)</p>
<p>* A linking problem prevented the FEDERATED storage engine<br />
plugin from loading. (Bug #40942, Bug #11750417)</p>
<p>* Subqueries could return incorrect results when materialization<br />
was enabled. (Bug #40037, Bug #11749901, Bug #12705660, Bug<br />
#12908058)</p>
<p>* For debug builds, an assertion could be raised for ALTER<br />
statements that performed a RENAME operation. This occurred<br />
for storage engine handlertons that exposed the<br />
HTON_FLUSH_AFTER_RENAME flag. (Bug #38028, Bug #11749050)</p>
<p>* The estimate of space required for filesort operations could<br />
be too high, resulting in inefficient initialization. (Bug<br />
#37359, Bug #11748783)</p>
<p>* An ALTER TABLE that included an ADD &#8230; AFTER operation to add<br />
a new column after a column that had been modified earlier in<br />
the statement failed to find the existing column. (Bug #34972,<br />
Bug #11748057)</p>
<p>* For FEDERATED tables, loss of connection to the remote table<br />
during some insert operations could cause a server crash. (Bug<br />
#34660, Bug #11747970)</p>
<p>* For some queries, the index_merge access method was used even<br />
when more expensive then ref access. (Bug #32254, Bug<br />
#11747423)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2011/12/mysql-community-server-5-6-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Community Server 5.5.15</title>
		<link>http://www.marketgrid.com/blog/2011/07/mysql-community-server-5-5-15/</link>
		<comments>http://www.marketgrid.com/blog/2011/07/mysql-community-server-5-5-15/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 14:58:28 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL Community Server]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=573</guid>
		<description><![CDATA[MySQL 5.5.15 is a new version of the 5.5 production release of the world&#8217;s most popular open source database. MySQL 5.5.15 is recommended for use on production systems. &#160; MySQL 5.5 includes several high-impact enhancements to improve the performance and scalability of the MySQL Database, taking advantage of the latest multi-CPU and multi-core hardware and [...]]]></description>
			<content:encoded><![CDATA[<p>MySQL 5.5.15 is a new version of the 5.5 production release of the world&#8217;s most popular open source database. MySQL 5.5.15 is recommended for use on production systems.</p>
<p>&nbsp;</p>
<p>MySQL 5.5 includes several high-impact enhancements to improve the performance and scalability of the MySQL Database, taking advantage of the latest multi-CPU and multi-core hardware and operating systems. In</p>
<p>addition, with release 5.5, InnoDB is now the default storage engine for the MySQL Database, delivering ACID transactions, referential integrity and crash recovery by default.</p>
<p>&nbsp;</p>
<p>MySQL 5.5 also provides a number of additional enhancements including:</p>
<p>&nbsp;</p>
<p>- Significantly improved performance on Windows, with various Windows specific features and improvements</p>
<p>- Higher availability, with new semi-synchronous replication and Replication Heart Beat</p>
<p>- Improved usability, with Improved index and table partitioning, SIGNAL/RESIGNAL support and enhanced diagnostics, including a new Performance Schema monitoring capability.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The following section lists the changes in the MySQL source code since the previous released version of MySQL 5.5.</p>
<p>&nbsp;</p>
<h2>Changes in MySQL 5.5.15 (28 July 2011)</h2>
<p>Functionality Added or Changed</p>
<p>&nbsp;</p>
<p>* The undocumented &#8211;all option for perror is deprecated and</p>
<p>will be removed in MySQL 5.6.</p>
<p>&nbsp;</p>
<p>Bugs Fixed</p>
<p>&nbsp;</p>
<p>* InnoDB Storage Engine: A failed CREATE INDEX operation for an</p>
<p>InnoDB table could result in some memory being allocated but</p>
<p>not freed. This memory leak could affect tables created with</p>
<p>the ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED setting. (Bug</p>
<p>#12699505)</p>
<p>&nbsp;</p>
<p>* Partitioning: Auto-increment columns of partitioned tables</p>
<p>were checked even when they were not being written to. In</p>
<p>debug builds, this could lead to a server crash. (Bug</p>
<p>#11765667, Bug #58655)</p>
<p>&nbsp;</p>
<p>* Partitioning: The UNIX_TIMESTAMP() function was not treated as</p>
<p>a monotonic function for purposes of partition pruning. (Bug</p>
<p>#11746819, Bug #28928)</p>
<p>&nbsp;</p>
<p>* Compiling the server with maintainer mode enabled failed for</p>
<p>gcc 4.6 or higher. (Bug #12727287)</p>
<p>&nbsp;</p>
<p>* The option-parsing code for empty strings leaked memory. (Bug</p>
<p>#12589928)</p>
<p>&nbsp;</p>
<p>* Previously, an inappropriate error message was produced if a</p>
<p>multiple-table update for an InnoDB table with a clustered</p>
<p>primary key would update a table through multiple aliases, and</p>
<p>perform an update that may physically move the row in at least</p>
<p>one of these aliases. Now the error message is: Primary</p>
<p>key/partition key update is not permitted since the table is</p>
<p>updated both as &#8216;tbl_name1&#8242; and &#8216;tbl_name2&#8242; (Bug #11882110)</p>
<p>See also Bug #11764529.</p>
<p>&nbsp;</p>
<p>* Replication: If a LOAD DATA INFILE statement&#8212;replicated</p>
<p>using statement-based replication&#8212;featured a SET clause, the</p>
<p>name-value pairs were regenerated using a method</p>
<p>(Item::print()) intended primarily for generating output for</p>
<p>statements such as EXPLAIN EXTENDED, and which cannot be</p>
<p>relied on to return valid SQL. This could in certain cases</p>
<p>lead to a crash on the slave.</p>
<p>To fix this problem, the server now names each value in its</p>
<p>original, user-supplied form, and uses that to create LOAD</p>
<p>DATA INFILE statements for statement-based replication. (Bug</p>
<p>#60580, Bug #11902767)</p>
<p>See also Bug #34283, Bug #11752526, Bug #43746.</p>
<p>&nbsp;</p>
<p>* ALTER TABLE {MODIFY|CHANGE} &#8230; FIRST did nothing except</p>
<p>rename columns if the old and new versions of the table had</p>
<p>exactly the same structure with respect to column data types.</p>
<p>As a result, the mapping of column name to column data was</p>
<p>incorrect. The same thing happened for ALTER TABLE DROP COLUMN</p>
<p>&#8230; ADD COLUMN statements intended to produce a new version of</p>
<p>the table with exactly the same structure as the old version.</p>
<p>(Bug #61493, Bug #12652385)</p>
<p>&nbsp;</p>
<p>* Incorrect handling of metadata locking for FLUSH TABLES WITH</p>
<p>READ LOCK for statements requiring prelocking caused two</p>
<p>problems:</p>
<p>&nbsp;</p>
<p>+ Execution of any data-changing statement that required</p>
<p>prelocking (that is, involved a stored function or</p>
<p>trigger) as part of a transaction slowed down somewhat</p>
<p>all subsequent statements in the transaction. Performance</p>
<p>in a transaction that periodically involved such</p>
<p>statements gradually degraded over time.</p>
<p>&nbsp;</p>
<p>+ Execution of any data-changing statement that required</p>
<p>prelocking as part of a transaction prevented a</p>
<p>concurrent FLUSH TABLES WITH READ LOCK from proceeding</p>
<p>until the end of the transaction rather than at the end</p>
<p>of the particular statement.</p>
<p>(Bug #61401, Bug #12641342)</p>
<p>&nbsp;</p>
<p>* The fractional part of the &#8220;Queries per second&#8221; value could be</p>
<p>displayed incorrectly in MySQL status output (for example, in</p>
<p>the output from mysqladmin status or the mysql STATUS</p>
<p>command). (Bug #61205, Bug #12565712)</p>
<p>&nbsp;</p>
<p>* LOAD DATA INFILE incorrectly parsed relative data file path</p>
<p>names that ascended more than three levels in the file system</p>
<p>and as a consequence was unable to find the file. (Bug #60987,</p>
<p>Bug #12403662)</p>
<p>&nbsp;</p>
<p>* For unknown users, the native password plugin reported</p>
<p>incorrectly that no password had been specified even when it</p>
<p>had. (Bug #59792, Bug #11766641)</p>
<p>&nbsp;</p>
<p>* For MyISAM tables, attempts to insert incorrect data into an</p>
<p>indexed GEOMETRY column could result in table corruption. (Bug</p>
<p>#57323, Bug #11764487)</p>
<p>&nbsp;</p>
<p>* In debug builds, Field_new_decimal::store_value() was subject</p>
<p>to buffer overflows. (Bug #55436, Bug #11762799)</p>
<p>&nbsp;</p>
<p>* A race condition between loading a stored routine using the</p>
<p>name qualified by the database name and dropping that database</p>
<p>resulted in a spurious error message: The table mysql.proc is</p>
<p>missing, corrupt, or contains bad data (Bug #47870, Bug</p>
<p>#11756013)</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2011/07/mysql-community-server-5-5-15/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Community Server 5.5.14</title>
		<link>http://www.marketgrid.com/blog/2011/07/mysql-community-server-5-5-14/</link>
		<comments>http://www.marketgrid.com/blog/2011/07/mysql-community-server-5-5-14/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 05:13:22 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[MySQL 5.5]]></category>
		<category><![CDATA[MySQL Community Server 5.5]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=570</guid>
		<description><![CDATA[MySQL 5.5.14 is a new version of the 5.5 production release of the world&#8217;s most popular open source  database. MySQL 5.5.14 is recommended for use on production systems. &#160; MySQL 5.5 includes several high-impact enhancements to improve the performance and scalability of the MySQL Database, taking advantage of the latest multi-CPU and multi-core hardware and [...]]]></description>
			<content:encoded><![CDATA[<p>MySQL 5.5.14 is a new version of the 5.5 production release of the world&#8217;s most popular open source  database. MySQL 5.5.14 is recommended for use on production systems.</p>
<p>&nbsp;</p>
<p>MySQL 5.5 includes several high-impact enhancements to improve the performance and scalability of the MySQL Database, taking advantage of the latest multi-CPU and multi-core hardware and operating systems. In addition, with release 5.5, InnoDB is now the default storage engine for the MySQL Database, delivering ACID transactions, referential integrity and crash recovery by default.</p>
<p>&nbsp;</p>
<p>MySQL 5.5 also provides a number of additional enhancements including:</p>
<p>&nbsp;</p>
<p>- Significantly improved performance on Windows, with various Windows specific features and improvements</p>
<p>- Higher availability, with new semi-synchronous replication and Replication Heart Beat</p>
<p>- Improved usability, with Improved index and table partitioning, SIGNAL/RESIGNAL support and enhanced diagnostics, including a new Performance Schema monitoring capability.</p>
<p>Changes in MySQL 5.5.14 :</p>
<p>&nbsp;</p>
<p>Functionality added or changed:</p>
<p>&nbsp;</p>
<p>* CMake configuration support on Linux now provides a boolean</p>
<p>ENABLE_GCOV option to control whether to include support for</p>
<p>gcov. (Bug #12549572)</p>
<p>&nbsp;</p>
<p>* InnoDB now permits concurrent reads while creating a secondary</p>
<p>index. (Bug #11853126)</p>
<p>See also Bug #11751388, Bug #11784056, Bug #11815600.</p>
<p>&nbsp;</p>
<p>* Client programs now display more information for SSL errors to</p>
<p>aid in diagnosis and debugging of connection problems. (Bug</p>
<p>#21287, Bug #11745920)</p>
<p>&nbsp;</p>
<p>* In the audit plugin interface, the event_class member was</p>
<p>removed from the mysql_event_general structure and the calling</p>
<p>sequence for the notification function changed. Originally,</p>
<p>the second argument was a pointer to the event structure. The</p>
<p>function now receives this information as two arguments: an</p>
<p>event class number and a pointer to the event. Corresponding</p>
<p>to these changes, MYSQL_AUDIT_INTERFACE_VERSION was increased</p>
<p>to 0&#215;0300.</p>
<p>The plugin_audit.h header file, and the NULL_AUDIT example</p>
<p>plugin in the plugin/audit_null directory have been modified</p>
<p>per these changes. See Section 21.2.4.7, &#8220;Writing Audit</p>
<p>Plugins.&#8221;</p>
<p>&nbsp;</p>
<p>Bugs fixed:</p>
<p>&nbsp;</p>
<p>* Replication: A mistake in thread cleanup could cause a</p>
<p>replication master to crash. (Bug #12578441)</p>
<p>&nbsp;</p>
<p>* Replication: When using row-based replication and attribute</p>
<p>promotion or demotion (see Section 15.4.1.6.2, &#8220;Replication of</p>
<p>Columns Having Different Data Types&#8221;), memory allocated</p>
<p>internally for conversion of BLOB columns was not freed</p>
<p>afterwards. (Bug #12558519)</p>
<p>&nbsp;</p>
<p>* Adding support for Windows authentication to libmysql</p>
<p>introduced a link dependency on the system Secur32 library.</p>
<p>The Microsoft Visual C++ link information was modified to pull</p>
<p>in this library automatically. (Bug #12612143)</p>
<p>&nbsp;</p>
<p>* In some cases, memory allocated for</p>
<p>Query_tables_list::sroutines() was not freed properly. (Bug</p>
<p>#12429877)</p>
<p>&nbsp;</p>
<p>* After the fix for Bug#11889186, MAKEDATE() arguments with a</p>
<p>year part greater than 9999 raised an assertion. (Bug</p>
<p>#12403504)</p>
<p>&nbsp;</p>
<p>* An assertion could be raised due to a missing NULL value check</p>
<p>in Item_func_round::fix_length_and_dec(). (Bug #12392636)</p>
<p>&nbsp;</p>
<p>* An assertion could be raised during two-phase commits if the</p>
<p>binary log was used as the transaction coordinator log. (Bug</p>
<p>#12346411)</p>
<p>&nbsp;</p>
<p>* A problem introduced in 5.5.11 caused very old (MySQL 4.0)</p>
<p>clients to be unable to connect to the server. (Bug #61222,</p>
<p>Bug #12563279)</p>
<p>&nbsp;</p>
<p>* Using CREATE EVENT IF NOT EXISTS for an event that already</p>
<p>existed and was enabled caused multiple instances of the event</p>
<p>to run. (Bug #61005, Bug #12546938)</p>
<p>&nbsp;</p>
<p>* An embedded client would abort rather than issue an error</p>
<p>message if it issued a TEE command (\T file_name) and the</p>
<p>directory containing the file did not exist. This occurred</p>
<p>because the wrong error handler was called. (Bug #57491, Bug</p>
<p>#11764633)</p>
<p>&nbsp;</p>
<p>* On some platforms, the Incorrect value: xxx for column yyy at</p>
<p>row zzz error produced by LOAD DATA INFILE could have an</p>
<p>incorrect value of zzz. (Bug #46895, Bug #11755168)</p>
<p>&nbsp;</p>
<p>* An attempt to install nonexistent files during installation</p>
<p>was corrected. (Bug #43247, Bug #11752142)</p>
<p>&nbsp;</p>
<p>* On FreeBSD 64-built builds of the embedded server, exceptions</p>
<p>were not prevented from propagating into the embedded</p>
<p>application. (Bug #38965, Bug #11749418)</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2011/07/mysql-community-server-5-5-14/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Database Server 5.1.58</title>
		<link>http://www.marketgrid.com/blog/2011/07/mysql-database-server-5-1-58/</link>
		<comments>http://www.marketgrid.com/blog/2011/07/mysql-database-server-5-1-58/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 05:11:40 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[MySQL 5.1]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=568</guid>
		<description><![CDATA[&#160; ======================================================================= Changes in MySQL 5.1.58 (July 5th, 2011) &#160; Bugs fixed: &#160; * InnoDB Storage Engine: If the server crashed while an XA transaction was prepared but not yet committed, the transaction could remain in the system after restart, and cause a subsequent shutdown to hang. (Bug #11766513, Bug #59641) &#160; * Partitioning: When [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>=======================================================================</p>
<p>Changes in MySQL 5.1.58 (July 5th, 2011)</p>
<p>&nbsp;</p>
<p>Bugs fixed:</p>
<p>&nbsp;</p>
<p>* InnoDB Storage Engine: If the server crashed while an XA</p>
<p>transaction was prepared but not yet committed, the</p>
<p>transaction could remain in the system after restart, and</p>
<p>cause a subsequent shutdown to hang. (Bug #11766513, Bug</p>
<p>#59641)</p>
<p>&nbsp;</p>
<p>* Partitioning: When executing a row-ordered retrieval index</p>
<p>merge, the partitioning handler used memory from that</p>
<p>allocated for the table, rather than allocated to the</p>
<p>query, causing table object memory not to be freed until the</p>
<p>table was closed. (Bug #11766249, Bug #59316)</p>
<p>&nbsp;</p>
<p>* Replication: When mysqlbinlog was invoked using</p>
<p>&#8211;base64-output=decode-row and &#8211;start-position=pos, (where</p>
<p>pos is a point in the binary log past the format description</p>
<p>log event), a spurious error of the type shown here was</p>
<p>generated:</p>
<p>&nbsp;</p>
<p>malformed binlog: it does not contain any Format_description_log_event&#8230;</p>
<p>&nbsp;</p>
<p>However, since there is nothing unsafe about not printing the</p>
<p>format description log event, the error has been removed for</p>
<p>this case. (Bug #12354268)</p>
<p>&nbsp;</p>
<p>* Replication: Typographical errors appeared in the text of</p>
<p>several replication error messages. (The word &#8220;position&#8221; was</p>
<p>misspelled as &#8220;postion&#8221;.) (Bug #11762616, Bug #55229)</p>
<p>&nbsp;</p>
<p>* After the fix for Bug#11889186, MAKEDATE() arguments with a</p>
<p>year part greater than 9999 raised an assertion. (Bug</p>
<p>#12403504)</p>
<p>&nbsp;</p>
<p>* An assertion could be raised due to a missing NULL value check</p>
<p>in Item_func_round::fix_length_and_dec(). (Bug #12392636)</p>
<p>&nbsp;</p>
<p>* In debug builds on Solaris, an assertion was raised if a</p>
<p>reverse IP lookup with gethostbyaddr_r() failed. (Bug</p>
<p>#12377872)</p>
<p>&nbsp;</p>
<p>* MySQL did not build if configured with both &#8211;with-debug and</p>
<p>&#8211;with-libedit. (Bug #12329909)</p>
<p>&nbsp;</p>
<p>* A problem introduced in 5.1.57 caused very old (MySQL 4.0)</p>
<p>clients to be unable to connect to the server. (Bug #61222,</p>
<p>Bug #12563279)</p>
<p>&nbsp;</p>
<p>* Using CREATE EVENT IF NOT EXISTS for an event that already</p>
<p>existed and was enabled caused multiple instances of the event</p>
<p>to run. (Bug #61005, Bug #12546938)</p>
<p>&nbsp;</p>
<p>* The incorrect max_length value for YEAR values could be used</p>
<p>in temporary result tables for UNION, leading to incorrect</p>
<p>results. (Bug #59343, Bug #11766270)</p>
<p>&nbsp;</p>
<p>* In Item_func_in::fix_length_and_dec(), a Valgrind warning for</p>
<p>uninitialized values was corrected. (Bug #59270, Bug</p>
<p>#11766212)</p>
<p>&nbsp;</p>
<p>* In ROUND() calculations, a Valgrind warning for uninitialized</p>
<p>memory was corrected. (Bug #58937, Bug #11765923)</p>
<p>&nbsp;</p>
<p>* Valgrind warnings caused by comparing index values to an</p>
<p>uninitialized field were corrected. (Bug #58705, Bug</p>
<p>#11765713)</p>
<p>&nbsp;</p>
<p>* LOAD DATA INFILE errors could leak I/O cache memory. (Bug</p>
<p>#58072, Bug #11765141)</p>
<p>&nbsp;</p>
<p>* For LOAD DATA INFILE, multibyte character sequences could be</p>
<p>pushed onto a stack too small to accommodate them. (Bug</p>
<p>#58069, Bug #11765139)</p>
<p>&nbsp;</p>
<p>* An embedded client would abort rather than issue an error</p>
<p>message if it issued a TEE command (\T file_name) and the</p>
<p>directory containing the file did not exist. This occurred</p>
<p>because the wrong error handler was called. (Bug #57491, Bug</p>
<p>#11764633)</p>
<p>&nbsp;</p>
<p>* In debug builds, Field_new_decimal::store_value() was subject</p>
<p>to buffer overflows. (Bug #55436, Bug #11762799)</p>
<p>&nbsp;</p>
<p>* On Linux, the mysql client built using the bundled libedit did</p>
<p>not read ~/.editrc. (Bug #49967, Bug #11757855)</p>
<p>&nbsp;</p>
<p>* The optimizer sometimes incorrectly processed HAVING clauses</p>
<p>for queries that did not also have an ORDER BY clause. (Bug</p>
<p>#48916, Bug #11756928)</p>
<p>&nbsp;</p>
<p>* PROCEDURE ANALYZE() could leak memory for NULL results, and</p>
<p>could return incorrect results if used with a LIMIT clause.</p>
<p>(Bug #48137, Bug #11756242)</p>
<p>&nbsp;</p>
<p>* On some platforms, the Incorrect value: xxx for column yyy at</p>
<p>row zzz error produced by LOAD DATA INFILE could have an</p>
<p>incorrect value of zzz. (Bug #46895, Bug #11755168)</p>
<p>&nbsp;</p>
<p>* In MySQL 5.1 and up, if a table had triggers that used syntax</p>
<p>supported in 5.0 but not 5.1, the table became unavailable.</p>
<p>Now the table is marked as having broken triggers. (Bug</p>
<p>#45235, Bug #11753738)</p>
<p>&nbsp;</p>
<p>* An attempt to install nonexistent files during installation</p>
<p>was corrected. (Bug #43247, Bug #11752142)</p>
<p>&nbsp;</p>
<p>* On FreeBSD 64-built builds of the embedded server, exceptions</p>
<p>were not prevented from propagating into the embedded</p>
<p>application. (Bug #38965, Bug #11749418)</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2011/07/mysql-database-server-5-1-58/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Connector/Net 6.1.6 GA</title>
		<link>http://www.marketgrid.com/blog/2011/07/mysql-connectornet-6-1-6-ga/</link>
		<comments>http://www.marketgrid.com/blog/2011/07/mysql-connectornet-6-1-6-ga/#comments</comments>
		<pubDate>Sun, 03 Jul 2011 09:24:01 +0000</pubDate>
		<dc:creator>Phil Smith</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySql Connector/Net]]></category>

		<guid isPermaLink="false">http://www.marketgrid.com/blog/?p=565</guid>
		<description><![CDATA[MySQL Connector/Net 6.1.6, a update to our all-managed .NET driver for MySQL has been released.  This is an update to the legacy 6.1 version line. All new development should be using a more recent product such as 6.3.7. &#160; Version 6.1.6 is intended for use with versions of MySQL from 4.1 &#8211; 5.1.  It is [...]]]></description>
			<content:encoded><![CDATA[<p>MySQL Connector/Net 6.1.6, a update to our all-managed .NET driver for MySQL has been released.  This is an update to the legacy 6.1 version line. All new development should be using a more recent product such as 6.3.7.</p>
<p>&nbsp;</p>
<p>Version 6.1.6 is intended for use with versions of MySQL from 4.1 &#8211; 5.1.  It is not suitable for use with MySQL 5.5 or later.</p>
<p>&nbsp;</p>
<p>This update includes more than 35 fixes from 6.1.5.  Please review the change log that is included with the product to determine the exact nature of the changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marketgrid.com/blog/2011/07/mysql-connectornet-6-1-6-ga/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

