special fix for $first_word_only to work with other changes to _protect_identifiers()
diff --git a/system/database/drivers/mysql/mysql_driver.php b/system/database/drivers/mysql/mysql_driver.php
index 4535e8c..36e3651 100644
--- a/system/database/drivers/mysql/mysql_driver.php
+++ b/system/database/drivers/mysql/mysql_driver.php
@@ -455,12 +455,9 @@
 		if (ctype_alnum($item) === FALSE)

 		{

 			// This function may get "field >= 1", and need it to return "`field` >= 1"

-			if ($first_word_only === TRUE)

-			{

-				return '`'.preg_replace('/ /', '` ', $item, 1);

-			}

+			$lbound = ($first_word_only === TRUE) ? '' : '|\s|\(';

 

-			$item = preg_replace('/(^|\s|\()([\w\d\-\_]+?)(\s|\)|$)/iS', '$1`$2`$3', $item);

+			$item = preg_replace('/(^'.$lbound.')([\w\d\-\_]+?)(\s|\)|$)/iS', '$1`$2`$3', $item);

 		}

 		else

 		{