summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-08-03 16:09:36 -0600
committerunknown <sasha@mysql.sashanet.com>2001-08-03 16:09:36 -0600
commit8d89555e4602d817b6ebc449635cca47e3380b90 (patch)
tree97ccb13c4b0a44d464a0cca69c725323df8422b9 /sql/sql_class.cc
parent0dab9f40e1c52ac00e1ca291785ae7943dea577e (diff)
parenta8f2c247ec2a915985596ef74a3804f624cdd5d3 (diff)
downloadmariadb-git-8d89555e4602d817b6ebc449635cca47e3380b90.tar.gz
Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0 sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_load.cc: Auto merged
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc14
1 files changed, 4 insertions, 10 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index 5e0c02c5d07..d0ff5d962db 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -275,7 +275,7 @@ bool select_send::send_fields(List<Item> &list,uint flag)
bool select_send::send_data(List<Item> &items)
{
- List_iterator<Item> li(items);
+ List_iterator_fast<Item> li(items);
String *packet= &thd->packet;
DBUG_ENTER("send_data");
@@ -300,12 +300,6 @@ bool select_send::send_data(List<Item> &items)
DBUG_RETURN(error);
}
-
-void select_send::send_error(uint errcode,const char *err)
-{
- ::send_error(&thd->net,errcode,err);
-}
-
bool select_send::send_eof()
{
/* Unlock tables before sending packet to gain some speed */
@@ -368,7 +362,7 @@ select_export::prepare(List<Item> &list)
}
/* Check if there is any blobs in data */
{
- List_iterator<Item> li(list);
+ List_iterator_fast<Item> li(list);
Item *item;
while ((item=li++))
{
@@ -415,7 +409,7 @@ bool select_export::send_data(List<Item> &items)
Item *item;
char *buff_ptr=buff;
uint used_length=0,items_left=items.elements;
- List_iterator<Item> li(items);
+ List_iterator_fast<Item> li(items);
if (my_b_write(&cache,(byte*) exchange->line_start->ptr(),
exchange->line_start->length()))
@@ -608,7 +602,7 @@ select_dump::prepare(List<Item> &list __attribute__((unused)))
bool select_dump::send_data(List<Item> &items)
{
- List_iterator<Item> li(items);
+ List_iterator_fast<Item> li(items);
char buff[MAX_FIELD_WIDTH];
String tmp(buff,sizeof(buff)),*res;
tmp.length(0);