Fix last commit (mysql_version() doesn't work if connection is not yet established)

This commit is contained in:
Michael Foster 2013-07-30 22:13:05 -04:00
parent 8efab06616
commit fbc78f7632

View File

@ -249,6 +249,7 @@ if (file_exists($config['has_installed'])) {
}
}
case 'v0.9.6-dev-9':
sql_open();
function __query($sql) {
if (mysql_version() >= 50503)
return query($sql);