re: question about UDF

Michael Widenius <[email protected]> Fri, 30 Nov 2012 09:13:38 +0200
Newsgroups gmane.comp.db.mysql.devel
Message-ID <[email protected]>
Hi!

>>>>> "Zhixuan" == Zhixuan Zhu <[email protected]> writes:

Zhixuan> Hi,
Zhixuan> I have two questions:

Zhixuan> 1. Is there a way that I can add customized reserved words to mysql?

Yes, by adding them to sql/lex.h


Zhixuan> 2. Is it possible that I can use the customized reserve words in my udf
Zhixuan> function?

No. You would get a syntax error when using the reserved word as the
parser would not know what to do with the word.

Regards,
Monty
Creator of MySQL and MariaDB


-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals