summaryrefslogtreecommitdiff
path: root/heap
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2001-01-16 06:02:05 +0200
committermonty@donna.mysql.com <>2001-01-16 06:02:05 +0200
commitc1b5a5b00fb0f72ab34211cc42cf6b567f19d0f7 (patch)
treed2fb03ef30e8182ca60cf1262a5a9db0e97a08a5 /heap
parent3857c6a31c546f4a0bf016c51b8936b640267d72 (diff)
downloadmariadb-git-c1b5a5b00fb0f72ab34211cc42cf6b567f19d0f7.tar.gz
Removed not used variable 'last_ref'
Fixed problem with negative DECIMAL() keys Fixed some bugs with NULL keys in BDB More mysql-test tests
Diffstat (limited to 'heap')
-rw-r--r--heap/hp_info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/heap/hp_info.c b/heap/hp_info.c
index 260ac31ab8e..379f4d9ec0f 100644
--- a/heap/hp_info.c
+++ b/heap/hp_info.c
@@ -44,7 +44,8 @@ ulong heap_position_old(HP_INFO *info)
/* Note that heap_info does NOT return information about the
current position anymore; Use heap_position instead */
-int heap_info(reg1 HP_INFO *info,reg2 HEAPINFO *x,int flag)
+int heap_info(reg1 HP_INFO *info,reg2 HEAPINFO *x,
+ int flag __attribute__((unused)))
{
DBUG_ENTER("heap_info");
x->records = info->s->records;