From d3c8279feaf771c739ee6507c261114729a901bb Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Mon, 5 Jun 2006 18:01:25 +0000 Subject: [PATCH] Added HANDLE to Explain request structure --- SimpleServer.xs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SimpleServer.xs b/SimpleServer.xs index 5be5f73..aab88a9 100644 --- a/SimpleServer.xs +++ b/SimpleServer.xs @@ -1,5 +1,5 @@ /* - * $Id: SimpleServer.xs,v 1.46 2006-06-02 16:03:25 quinn Exp $ + * $Id: SimpleServer.xs,v 1.47 2006-06-05 18:01:25 quinn Exp $ * ---------------------------------------------------------------------- * * Copyright (c) 2000-2004, Index Data. @@ -1294,6 +1294,7 @@ int bend_explain(void *handle, bend_explain_rr *q) char *explain; SV *explainsv; STRLEN len; + Zfront_handle *zhandle = (Zfront_handle *)handle; dSP; ENTER; @@ -1302,6 +1303,7 @@ int bend_explain(void *handle, bend_explain_rr *q) href = newHV(); hv_store(href, "EXPLAIN", 7, newSVpv("", 0), 0); hv_store(href, "DATABASE", 8, newSVpv(q->database, 0), 0); + hv_store(href, "HANDLE", 6, zhandle->handle, 0); PUSHMARK(sp); XPUSHs(sv_2mortal(newRV((SV*) href))); -- 1.7.10.4