summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-10-04 14:14:30 +0400
committerunknown <konstantin@mysql.com>2004-10-04 14:14:30 +0400
commit48bf8259020f89a70c8f70d58f04c73bd6af0402 (patch)
tree3bed3c224d0662717d9b511c57742f0e4b54643b
parentb3b26c05dc01045858ab5d36055812b92fee3690 (diff)
downloadmariadb-git-48bf8259020f89a70c8f70d58f04c73bd6af0402.tar.gz
A couple of typos fixed.
sql/item.cc: A typo fixed in a comment, which is probably not valid any more sql/sql_class.h: no such class Ttem_subselect.
-rw-r--r--sql/item.cc2
-rw-r--r--sql/sql_class.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 7b0dcc664c7..b7523478be3 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -1999,7 +1999,7 @@ bool Item_ref::fix_fields(THD *thd,TABLE_LIST *tables, Item **reference)
}
else if (tmp != not_found_field)
{
- ref= 0; // To prevent "delete *ref;" on ~Item_erf() of this item
+ ref= 0; // To prevent "delete *ref;" on ~Item_ref() of this item
Item_field* fld;
if (!((*reference)= fld= new Item_field(tmp)))
return 1;
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 68d187168d3..fbbb7fc7383 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -1264,8 +1264,6 @@ public:
bool send_fields(List<Item> &list, uint flag) { return 0; };
bool send_data(List<Item> &items)=0;
bool send_eof() { return 0; };
-
- friend class Ttem_subselect;
};
/* Single value subselect interface class */