mariadb/regex
unknown 4736d0fe99 Review of all code pushed since last review
Simple optimzations and cleanups
Removed compiler warnings and fixed portability issues
Added client functions 'mysql_embedded()' to allow client to check if we are using embedded server
Fixes for purify


client/mysqlimport.c:
  Remove not used variable
client/mysqltest.c:
  Remove usage of MAXPATHLEN (all MySQL code uses FN_REFLEN)
  Simplified code
  Remove usage of sprintf("%llu") as this is not portable
include/mysql.h:
  Added mysql_embedded() to be able to easily check if we are using the embedded server
innobase/srv/srv0start.c:
  Don't use memcmp() when using purify (to avoid false warnings)
libmysql/libmysql.c:
  Added mysql_embedded() to be able to easily check if we are using the embedded server
libmysql/libmysql.def:
  Added mysql_embedded() to be able to easily check if we are using the embedded server
myisam/myisam_ftdump.c:
  Remove compiler warning
myisam/myisamchk.c:
  Remove compiler warning
myisam/rt_test.c:
  #ifdef not used code
mysys/hash.c:
  Remove compiler warning (from last push)
mysys/my_gethwaddr.c:
  Remove compiler warning
ndb/src/ndbapi/ndberror.c:
  #ifdef not used code
regex/regcomp.c:
  Remove not used code
regex/regcomp.ih:
  Remove not used code (to remove compiler warnings)
sql-common/client.c:
  Remove compiler warnings
sql/field.cc:
  Simple optimization
sql/ha_innodb.cc:
  Rename mysql_embedded -> mysqld_embedded
sql/item.cc:
  Fix comments
  Move variables first on block
  Remove else after return
  Simple optimizations
  (no logic changes)
sql/item_cmpfunc.cc:
  Added comment
sql/mysql_priv.h:
  Rename mysql_embedded -> mysqld_embedded
sql/mysqld.cc:
  Rename mysql_embedded -> mysqld_embedded
sql/sql_acl.cc:
  Added comments
  simple optimization
  Fixed 'very unlikely' bug when doing REVOKE ALL PRIVILEGES
sql/sql_select.cc:
  More comments
  Simple optimization
sql/sql_show.cc:
  Simple changes to make similar code similar
  More comments
sql/sql_string.cc:
  Trivial optimization and better code layout
strings/Makefile.am:
  Change xml.c to use bcmp to avoid warnings from purify
strings/xml.c:
  Change xml.c to use bcmp to avoid warnings from purify
tests/client_test.c:
  Remove usage of MAXPATHLEN (all MySQL code uses FN_REFLEN)
2004-10-20 01:28:42 +03:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
cclass.h regexp worked only with the default character set. 2003-09-24 13:57:26 +05:00
CHANGES Import changeset 2000-07-31 21:29:14 +02:00
cname.h Query cache. 2001-12-02 14:34:01 +02:00
COPYRIGHT Import changeset 2000-07-31 21:29:14 +02:00
debug.c Regex library is switched to use new ctype tools 2002-03-06 20:04:13 +04:00
debug.ih Regex library is switched to use new ctype tools 2002-03-06 20:04:13 +04:00
engine.c Regex library is switched to use new ctype tools 2002-03-06 20:04:13 +04:00
engine.ih Regex library is switched to use new ctype tools 2002-03-06 20:04:13 +04:00
main.c Move latin1 into a separarte file 2003-01-29 17:31:20 +04:00
main.ih Import changeset 2000-07-31 21:29:14 +02:00
make-ccc Import changeset 2000-07-31 21:29:14 +02:00
Makefile.am Reorganization to restore generating charset C files from conf files 2003-01-29 15:08:09 +04:00
README Import changeset 2000-07-31 21:29:14 +02:00
regcomp.c Review of all code pushed since last review 2004-10-20 01:28:42 +03:00
regcomp.ih Review of all code pushed since last review 2004-10-20 01:28:42 +03:00
regerror.c Query cache. 2001-12-02 14:34:01 +02:00
regerror.ih Import changeset 2000-07-31 21:29:14 +02:00
regex.3 Import changeset 2000-07-31 21:29:14 +02:00
regex.7 Import changeset 2000-07-31 21:29:14 +02:00
regex.h Reorganization to restore generating charset C files from conf files 2003-01-29 15:08:09 +04:00
regex2.h Regex library is switched to use new ctype tools 2002-03-06 20:04:13 +04:00
regexec.c Regex library is switched to use new ctype tools 2002-03-06 20:04:13 +04:00
regexp.c Changed to use my_global.h 2001-09-14 02:54:33 +03:00
regfree.c Changed to use my_global.h 2001-09-14 02:54:33 +03:00
reginit.c Merge with 4.0.17 2003-12-17 17:35:34 +02:00
split.c Query cache. 2001-12-02 14:34:01 +02:00
tests Import changeset 2000-07-31 21:29:14 +02:00
utils.h Import changeset 2000-07-31 21:29:14 +02:00
WHATSNEW Import changeset 2000-07-31 21:29:14 +02:00

alpha3.4 release.
Thu Mar 17 23:17:18 EST 1994
henry@zoo.toronto.edu

See WHATSNEW for change listing.

installation notes:
--------
Read the comments at the beginning of Makefile before running.

Utils.h contains some things that just might have to be modified on
some systems, as well as a nested include (ugh) of <assert.h>.

The "fake" directory contains quick-and-dirty fakes for some header
files and routines that old systems may not have.  Note also that
-DUSEBCOPY will make utils.h substitute bcopy() for memmove().

After that, "make r" will build regcomp.o, regexec.o, regfree.o,
and regerror.o (the actual routines), bundle them together into a test
program, and run regression tests on them.  No output is good output.

"make lib" builds just the .o files for the actual routines (when
you're happy with testing and have adjusted CFLAGS for production),
and puts them together into libregex.a.  You can pick up either the
library or *.o ("make lib" makes sure there are no other .o files left
around to confuse things).

Main.c, debug.c, split.c are used for regression testing but are not part
of the RE routines themselves.

Regex.h goes in /usr/include.  All other .h files are internal only.
--------