﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
3792,MySQL version checking,Ozh,pishmishy,"WP has pretty loose requirements (which I think is cool). Plugin coders can easily check what PHP version is running to make stuff compatible with both cutting edge PHP5 and old PHP4, but it's ""harder"" to check MySQL version since it requires a SELECT VERSION() i.e. one sql query cost. So if 3 plugins need to check MySQL version, that's 3 query cost ?

I thought : it might be a good idea to test this and store it into wp_options, so that the info is available to all without adding an extra SQL query.

Ideally this would be tested once every {lots of queries} and on /wp-admin/upgrade.php loading, since it's unlikely to change.",enhancement,closed,low,,Optimization,,normal,wontfix,mysql version needs-patch,
