MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
Find a file
unknown a29b1d7151 BUG#11338 (logging of prepared statement w/ blob type)
In cp932, '\' character can be the second byte in a 
multi-byte character stream. This makes it difficult to use
mysql_escape_string. Added flag to indicate which languages allow
'\' as second byte of multibyte sequence so that when putting a prepared
statement into the binlog we can decide at runtime whether hex encoding
is really needed.


include/m_ctype.h:
  Added bool to indicate character sets which allow '\' as the second
  byte of a multibyte character set (currently only cp932). For these
  character sets, escaping with '\' is dangerous and leads to corruption
  in replication.
include/my_sys.h:
  Add function to enocde a string as hex with no prefix (bare)
mysys/charset.c:
  Add function to encode string as hex with no prefix (bare).
sql/item.cc:
  Check the connection character set to see if escape_string_for_mysql
  is safe, or if character set requires unambiguous (hex) encoding
sql/item.h:
  Pass thd to query_val_str for access to charset()
sql/sql_prepare.cc:
  Pass thd to query_val_str.
strings/ctype-big5.c:
  Add escape_with_backslash_is_dangerous flag.
strings/ctype-bin.c:
  Add escape_with_backslash_is_dangerous flag
strings/ctype-cp932.c:
  Add escape_with_backslash_is_dangerous flag.
strings/ctype-czech.c:
  Add escape_with_backslash_is_dangerous flag.
strings/ctype-euc_kr.c:
  Add escape_with_backslash_is_dangerous flag.
strings/ctype-extra.c:
  Add escape_with_backslash_is_dangerous flag.
strings/ctype-gb2312.c:
  Add escape_with_backslash_is_dangerous flag.
strings/ctype-gbk.c:
  Added escape_with_backslash_is_dangerous flag.
strings/ctype-latin1.c:
  Added escape_with_backslash_is_dangerous flag.
strings/ctype-sjis.c:
  Added escape_with_backslash_is_dangerous flag.
strings/ctype-tis620.c:
  Added esacpe_with_backslash_character_is_dangerous flag.
strings/ctype-uca.c:
  Added escape_with_backslash_is_dangerous flag.
strings/ctype-ucs2.c:
  Added escape_with_backslash_is_dangerous.
strings/ctype-ujis.c:
  Added escape_with_backslash_is_dangerous flag.
strings/ctype-utf8.c:
  Added escape_with_backslash_is_dangerous.
strings/ctype-win1250ch.c:
  Added escape_with_backslash_is_dangerous.
2005-08-17 04:26:32 -04:00
bdb Fix calls to memset() with arguments out of order. (Bug #9323) 2005-03-22 16:00:02 -08:00
BitKeeper Typo for debug code. Bug #11705 2005-07-06 15:54:02 -07:00
BUILD Fix BUILD/check-cpu for powerpc 2005-06-06 10:56:20 +10:00
client Merge bk-internal.mysql.com:/home/bk/mysql-4.1 2005-08-09 00:15:27 +03:00
cmd-line-utils QNX does not know "uint", so the cast is rewritten as "unsigned int". 2005-07-18 13:52:18 +02:00
dbug Makefile.am: 2005-07-05 23:24:48 +02:00
Docs - removed Docs/README.1st (it's obsolete) 2005-07-05 09:15:37 +02:00
extra perror.c: 2005-07-19 11:52:24 +02:00
heap Makefile.am: 2005-07-05 23:24:48 +02:00
include BUG#11338 (logging of prepared statement w/ blob type) 2005-08-17 04:26:32 -04:00
innobase buf0buf.c: 2005-08-03 18:21:38 +03:00
isam Makefile.am: 2005-07-05 23:24:48 +02:00
libmysql Fix for bug #12177 (errorlog file isn't closed) 2005-08-04 15:23:21 +05:00
libmysql_r Makefile.am: 2005-07-05 23:24:48 +02:00
libmysqld Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0 2005-08-04 18:22:13 +05:00
man mysqldump.1.in: 2005-05-11 12:14:46 -05:00
merge Makefile.am: 2005-07-05 23:24:48 +02:00
myisam Merge bk-internal.mysql.com:/home/bk/mysql-4.1 2005-08-08 13:14:29 +03:00
myisammrg Fixed compiler warnings 2005-07-28 21:25:05 +03:00
mysql-test query_cache_notembedded.test, query_cache_notembedded.result: 2005-08-11 13:07:08 +03:00
mysys BUG#11338 (logging of prepared statement w/ blob type) 2005-08-17 04:26:32 -04:00
ndb Merge bk-internal.mysql.com:/home/bk/mysql-4.1 2005-08-08 13:14:29 +03:00
netware Makefile.am: 2005-07-05 23:24:48 +02:00
NEW-RPMS Import changeset 2000-07-31 21:29:14 +02:00
os2 - Updated OS/2 port with files provided by Yuri Dario <mc6530@mclink.it> 2002-07-15 18:26:11 +02:00
pstack few harmless warnings from automated code-checking tools fixed 2005-01-08 21:25:31 +01:00
regex fixed function sig so it will compile with Visual C++ 8 2005-07-14 03:49:54 -06:00
scripts - merge from 4.0: updated scripts/Makefile.am to properly create but not install 2005-07-25 14:39:23 +02:00
sql BUG#11338 (logging of prepared statement w/ blob type) 2005-08-17 04:26:32 -04:00
sql-bench Fix typo in crash-me 'MATCHES' test (Bug # 5875) 2005-01-03 23:02:26 +01:00
sql-common Review of new pushed code 2005-08-09 00:13:49 +03:00
SSL Added missing SSL library (Should be in source distribution) 2003-11-28 12:18:13 +02:00
strings BUG#11338 (logging of prepared statement w/ blob type) 2005-08-17 04:26:32 -04:00
support-files - manual merge from 4.0 into 4.1: used the local version of ha_innodb.cc, merged 2005-08-04 12:35:13 +02:00
tests Fixed compiler warnings 2005-07-28 21:25:05 +03:00
tools Makefile.am: 2005-07-05 23:24:48 +02:00
VC++Files mysqld.dsp: 2005-08-04 13:47:02 +02:00
vio Fixed some vio code that was using ___WIN__ instead of __WIN__ 2005-07-12 10:31:09 -06:00
zlib - applied a security fix to inftrees.h from the bundled zlib to resolve a second 2005-07-27 14:55:08 +02:00
.bzrignore Moved test for 'show full processlist' to not_embedded_server.test becasue it could fail on a slow computer where previous connections has not yet disconnected 2005-07-27 13:45:06 +03:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
acinclude.m4 Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1 2005-04-26 19:26:51 +02:00
config.guess - updated config.guess, config.sub and ltmain.sh with versions from libtool 2004-02-06 00:58:15 +01:00
config.sub - updated config.guess, config.sub and ltmain.sh with versions from libtool 2004-02-06 00:58:15 +01:00
configure.in Alleviate the autoconf requirement. 2005-07-18 18:03:58 +04:00
COPYING - manual.texi will be replaced with a manual written in DocBook/XML. This ChangeSet removes all 2005-04-13 11:51:38 +02:00
depcomp - Applied required modifications for automake 1.5 2002-10-01 21:57:10 +02:00
install-sh install-sh: copy not move like any reasonably modern install does 2004-07-30 18:53:54 +02:00
ltconfig libtool tweaks 2004-02-17 21:46:40 +01:00
ltmain.sh Merge with 4.0 for 4.1 release 2004-10-06 19:14:33 +03:00
Makefile.am Makefile.am: 2005-06-28 04:49:03 +02:00
missing - Applied required modifications for automake 1.5 2002-10-01 21:57:10 +02:00
mkinstalldirs Import changeset 2000-07-31 21:29:14 +02:00
README Removed URL (website is not actively maintained anymore) 2002-04-24 08:28:50 +02:00

This is a release of MySQL, a GPL (free) SQL database server (more
licence information in the PUBLIC file and in the reference manual).

Please read the "Upgrading from..." section in the manual first, if you are
migrating from older versions of MySQL!

The latest information about MySQL can be found at:
http://www.mysql.com

To see what it can do take a look at the features section in the
manual.

For installation instructions see the Installation chapter in the
manual.

For future plans see the TODO appendix in the manual.

New features/bug fixes history is in the news appendix in the manual.

For the currently known bugs/misfeatures (known errors) see the bugs
appendix in the manual.

For examples of SQL and benchmarking information see the bench
directory.

The manual mentioned above can be found in the Docs directory. The
manual is available in the following formats: as plain ASCII text in
Docs/manual.txt, in HTML format in Docs/manual_toc.html, as GNU Info in
Docs/mysql.info and as PostScript in Docs/manual.ps.

MySQL is brought to you by the MySQL team at MySQL AB

For a list of developers and other contributors, see the Credits appendix
in the manual.

************************************************************

IMPORTANT:

Send bug (error) reports, questions and comments to the mailing list
at mysql@lists.mysql.com

Please use the 'mysqlbug' script when posting bug reports or questions
about MySQL. mysqlbug will gather some information about your system
and start your editor with a form in which you can describe your
problem. Bug reports might be silently ignored by the MySQL
maintainers if there is not a good reason included in the report as to
why mysqlbug has not been used. A report that says 'MySQL does not
work for me. Why?' is not considered a valid bug report.

The mysqlbug script can be found in the 'scripts' directory of the
distribution, that is '<where-you-installed-mysql>/scripts'.