summaryrefslogtreecommitdiff
path: root/sql/item_row.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2003-01-30 22:15:44 +0200
committerbell@sanja.is.com.ua <>2003-01-30 22:15:44 +0200
commite294751c41b12f7093ef51297af50c3a306f2b6a (patch)
tree217655eeaecf53f6696533c8e56d67c74da274b7 /sql/item_row.cc
parent2f04313db5696f016fedd5abb7c3eaa2cf0c2cb4 (diff)
downloadmariadb-git-e294751c41b12f7093ef51297af50c3a306f2b6a.tar.gz
fixed bug in determinating uncacheable queries
new fatal_error interface to assign is_fatal_error and ne.report_error commant about Item_row
Diffstat (limited to 'sql/item_row.cc')
-rw-r--r--sql/item_row.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/item_row.cc b/sql/item_row.cc
index 3cc7e602b15..23cafe7ec31 100644
--- a/sql/item_row.cc
+++ b/sql/item_row.cc
@@ -16,6 +16,15 @@
#include "mysql_priv.h"
+/*
+ Row items used for comparing rows and IN operations on rows:
+
+ (a, b, c) > (10, 10, 30)
+ (a, b, c) = (select c, d, e, from t1 where x=12)
+ (a, b, c) IN ((1,2,2), (3,4,5), (6,7,8)
+ (a, b, c) IN (select c, d, e, from t1)
+*/
+
Item_row::Item_row(List<Item> &arg):
Item(), used_tables_cache(0), array_holder(1), const_item_cache(1)
{