summaryrefslogtreecommitdiff
path: root/include/queues.h
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-09-14 02:39:07 +0300
committermonty@donna.mysql.com <>2000-09-14 02:39:07 +0300
commitb581f17be222af50b399242353fd6df31b6b05d5 (patch)
tree47d3199e561726437875c3247556ac5797525366 /include/queues.h
parent7e543b4d4b67b7108d72bf1f1a8b22f99937c886 (diff)
downloadmariadb-git-b581f17be222af50b399242353fd6df31b6b05d5.tar.gz
Fixes for MERGE TABLES and HEAP tables
Diffstat (limited to 'include/queues.h')
-rw-r--r--include/queues.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/queues.h b/include/queues.h
index 73907327e4e..66125e650ca 100644
--- a/include/queues.h
+++ b/include/queues.h
@@ -53,6 +53,7 @@ void delete_queue(QUEUE *queue);
void queue_insert(QUEUE *queue,byte *element);
byte *queue_remove(QUEUE *queue,uint idx);
void _downheap(QUEUE *queue,uint idx);
+#define is_queue_inited(queue) ((queue)->root != 0)
#ifdef __cplusplus
}