From adb67a684a6c89f021b23bd6ebf43046bad2589a Mon Sep 17 00:00:00 2001
From: unknown <knielsen@mysql.com>
Date: Fri, 6 Jan 2006 14:30:25 +0100
Subject: [PATCH] Fix compile failure on QNX.

---
 sql/sp_head.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index d6db9a47748..12f9260e7b1 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -1755,7 +1755,7 @@ void
 
 sp_head::set_definer(const char *definer, uint definerlen)
 {
-  char *p= strrchr(definer, '@');
+  const char *p= strrchr(definer, '@');
 
   if (!p)
   {
-- 
2.30.9