summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbi.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbi.class b/dbi.class
index 063c70d..4be2802 100644
--- a/dbi.class
+++ b/dbi.class
@@ -311,7 +311,7 @@ function select($query = null)
}
$join = $this->_table;
- if (isset($query['JOIN']))
+ if (isset($query['JOIN'])) # WARNING: this field gets abused for "tablename USE INDEX (fast2)
{
$join = $query['JOIN'];
unset($query['JOIN']);