syntax - How to compile a complete list of MySQL "Words" -


really getting mysql , 1 thought i've had on mastering 1 aspect of gather complete listing of mysql words. 1 example of might reserved words list, though appears that's not complete list; example: concat, crc32, etc.

bizarre may seem, thinking such list might exist, or there might query yield it, and/or way extract source code of mysql.

it non-scientific method, is:

  • extract strings native_func_registry func_array. lookup sql/item_create.cc , e.g in

http://bazaar.launchpad.net/~mysql/mysql-server/mysql-trunk/view/head:/sql/item_create.cc

those should cover builtin functions.

  • extract strings 'symbols' , 'functions' in lexer :

http://bazaar.launchpad.net/~mysql/mysql-server/mysql-trunk/view/head:/sql/lex.h

except when tokens have _sym suffix (they covered sql/lex.h)

combine of those, , resulting set might come near :)


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -