summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-07-04 23:06:19 +0300
committerunknown <monty@narttu.mysql.fi>2003-07-04 23:06:19 +0300
commit4e61b75d8b43a38f3cdf667780e000202137e4d9 (patch)
tree1da176a8e662fa899ecece2c7c7d6f9ee6e5dbc7 /sql/sql_handler.cc
parent4e4ab26f53bada8aaebbe7650a08f3e9ecf15107 (diff)
downloadmariadb-git-4e61b75d8b43a38f3cdf667780e000202137e4d9.tar.gz
Remove compiler warnings
Simple cleanup of previous pull sql/item_strfunc.cc: Removed compiler warning sql/sql_cache.cc: Indentation fix sql/sql_handler.cc: Simple ptimization sql/sql_parse.cc: Removed compiler warning sql/log_event.h: Indentation fix
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r--sql/sql_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index e685ea3a059..b0d8b18dd17 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -234,7 +234,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
}
if (cond && !cond->val_int())
continue;
- if (!err && num_rows >= offset_limit)
+ if (num_rows >= offset_limit)
{
String *packet = &thd->packet;
Item *item;