summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2006-01-09 11:10:49 +0200
committerunknown <monty@mysql.com>2006-01-09 11:10:49 +0200
commit3a99e21ebd1d59599b55d83f174c25a2eea3eed8 (patch)
treee3159d65b5cdd8f64615e5c6e65fd7f593b33ea7 /sql/sql_handler.cc
parent289cc3f9f8a829e452f2317def972c4b8aa6a1e4 (diff)
downloadmariadb-git-3a99e21ebd1d59599b55d83f174c25a2eea3eed8.tar.gz
After merge fix (Lines lost in manual merge)
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r--sql/sql_handler.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index a69bf04cc48..765a057f740 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -454,6 +454,9 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
if (insert_fields(thd,tables,tables->db,tables->alias,&it))
goto err0;
+ select_limit+=offset_limit;
+ protocol->send_fields(&list,1);
+
/*
In ::external_lock InnoDB resets the fields which tell it that
the handle is used in the HANDLER interface. Tell it again that