Small. Fast. Reliable.
Choose any three.
*** 299,301 ****
--- 299,307 ----
  and the name of the function.  If no overloading is desired, return 0.
  To overload the function, write the new function implementation
  into *pxFunc and user data into *ppArg and return 1.
+ 
+ Note that infix functions (LIKE, GLOB, REGEXP, and MATCH) reverse
+ the order of their arguments.  So "like(A,B)" is equivalent to
+ "B like A".  For the form "B like A" the B term is considered the
+ first argument to the function.  But for "like(A,B)" the A term
+ is considered the first argument.