### Eclipse Workspace Patch 1.0 #P org.eclipse.phoenix Index: eclipse.org-common/system/app.class.php =================================================================== RCS file: /cvsroot/technology/org.eclipse.phoenix/eclipse.org-common/system/app.class.php,v retrieving revision 1.64 diff -u -r1.64 app.class.php --- eclipse.org-common/system/app.class.php 22 Dec 2008 15:54:19 -0000 1.64 +++ eclipse.org-common/system/app.class.php 22 Dec 2008 16:35:51 -0000 @@ -970,8 +970,9 @@ } else { # For PRODUCTION machines $class = null; - if(strtoupper(substr(trim($query), 0, 6)) == 'SELECT') { // Try to use read-only when possible - $classfile = $this->get($key . '_db_classfile_ro'); + if(strtoupper(substr(trim($query), 0, 6)) == 'SELECT' + && strtoupper(substr(trim($query), 0, 20)) != "SELECT HIGH_PRIORITY") { // Try to use read-only when possible + $classfile = $this->get($key . '_db_classfile_ro'); $class = $this->get($key . '_db_class_ro'); }