Re: [Maria-developers] Documentation for old regex library calls

2013-07-24 Thread Sudheera Palihakkara
Hi, In file sql/item_cmpfunc.cc , Item_func_regex::regcomp function I can't understand the following block's task. (or what is being checked in side the *if*). please help *Line 5019* if (cmp_collation.collation != regex_lib_charset) { /* Convert UCS2 strings to UTF8 */ uint dummy_error

Re: [Maria-developers] Documentation for old regex library calls

2013-07-21 Thread Sergei Golubchik
Hi, Sudheera! On Jul 21, Sudheera Palihakkara wrote: > Hi all, > > I'm replacing the current regular expression library with modern > library(pcre) for mariadb. I need some information about the ways that code > uses the old regex library. The relevant codes are in sql/item_cmpfunc.cc > directory

[Maria-developers] Documentation for old regex library calls

2013-07-20 Thread Sudheera Palihakkara
Hi all, I'm replacing the current regular expression library with modern library(pcre) for mariadb. I need some information about the ways that code uses the old regex library. The relevant codes are in sql/item_cmpfunc.cc directory. For exapmle in the function : int Item_func_regex::regcomp(bool