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
commite12bc697db8509602cd7c765fbd95d8543ad6308 (patch)
treee3159d65b5cdd8f64615e5c6e65fd7f593b33ea7 /sql/sql_handler.cc
parent13c27a97041e60cc3415063ced8c22cd25cb5873 (diff)
downloadmariadb-git-e12bc697db8509602cd7c765fbd95d8543ad6308.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