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 1fd0ba8909 Bug#24985 - UTF8 ENUM primary key on MEMORY using BTREE
causes incorrect duplicate entries

Keys for BTREE indexes on ENUM and SET columns of MEMORY tables
with character set UTF8 were computed incorrectly. Many
different column values got the same key value.

Apart of possible performance problems, it made unique indexes
of this type unusable because it rejected many different
values as duplicates.

The problem was that multibyte character detection was tried
on the internal numeric column value. Many values were not
identified as characters. Their key value became blank filled.

Thanks to Alexander Barkov and Ramil Kalimullin for the patch,
which sets the character set of ENUM and SET key segments to
the pseudo binary character set.


mysql-test/r/heap_btree.result:
  Bug#24985 - UTF8 ENUM primary key on MEMORY using BTREE
              causes incorrect duplicate entries
  Added test result.
mysql-test/t/heap_btree.test:
  Bug#24985 - UTF8 ENUM primary key on MEMORY using BTREE
              causes incorrect duplicate entries
  Added test.
sql/ha_heap.cc:
  Bug#24985 - UTF8 ENUM primary key on MEMORY using BTREE
              causes incorrect duplicate entries
  Set key segment charset to my_charset_bin for ENUM and SET
  columns.
2007-03-27 10:49:48 +02:00
bdb gen_rec.awk: 2006-11-27 18:29:50 +01:00
BitKeeper Test and bug fixes and removed unneccessary files. 2007-02-05 17:09:44 +02:00
BUILD Merge kahlann.erinye.com:/home/df/mysql/build/mysql-4.1 2007-01-24 09:23:48 +01:00
client Merge siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/41 2007-01-18 09:53:30 -07:00
cmd-line-utils
dbug
Docs Makefile.am: 2006-11-28 18:04:10 +01:00
extra Bug#25344 Segmentation violation when try to run the perror utility 2007-02-06 23:00:18 +01:00
heap Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-4.0-bug23443 2007-01-09 12:39:05 +03:00
include After merge fix 2007-02-02 10:01:44 +01:00
innobase Applied innodb-4.1-ss36 and innodb-4.1-ss38 snapshots 2007-01-21 19:55:17 -07:00
isam
libmysql Merge bk-internal.mysql.com:/home/bk/mysql-4.1 2006-11-29 02:39:17 +03:00
libmysql_r gen_rec.awk: 2006-11-27 18:29:50 +01:00
libmysqld bug #25492 (Invalid deallocation in mysql_stmt_fetch) 2007-02-13 00:55:45 +04:00
man Makefile.am, configure.in: 2006-07-28 23:12:40 +02:00
merge
myisam Merge bk-internal.mysql.com:/home/bk/mysql-4.1 2007-01-29 17:20:18 +01:00
myisammrg Merge mysql.com:/home/svoj/devel/bk/mysql-4.1-engines 2006-09-28 22:14:31 +05:00
mysql-test Bug#24985 - UTF8 ENUM primary key on MEMORY using BTREE 2007-03-27 10:49:48 +02:00
mysys Merge siva.hindu.god:/home/tsmith/m/bk/41 2007-02-08 16:01:13 -07:00
ndb Merge siva.hindu.god:/home/tsmith/m/bk/41 2007-02-08 16:01:13 -07:00
netware Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 2006-07-24 10:59:51 +02:00
os2
pstack
regex
scripts Merge bk-internal.mysql.com:/home/bk/mysql-4.1-maint 2007-01-31 16:26:12 -05:00
sql Bug#24985 - UTF8 ENUM primary key on MEMORY using BTREE 2007-03-27 10:49:48 +02:00
sql-bench
sql-common Bug#22943 syscall pruning in libmysql 2007-01-29 14:31:48 +01:00
SSL
strings Fix for the bug #24037 "Lossy Hebrew to Unicode conversion". 2006-12-22 15:30:37 +03:00
support-files Changes necessary to build version 4.0.28: 2007-01-08 18:33:55 +01:00
tests Cleanup: remove const. 2006-11-22 16:47:12 +03:00
tools
VC++Files Version 4.0 is in "extended maintenance" by now, and so 2007-01-09 17:21:54 +01:00
vio Merge 192.168.0.10:mysql/mysql-4.1-maint 2007-02-06 14:44:05 +01:00
zlib
.bzrignore Pass --core-file option to mysqld when bootstrapping 2006-10-24 21:02:04 +02:00
.cvsignore
acinclude.m4 Moving version-script to acinclude.m4 2007-01-19 17:34:47 -08:00
config.guess updated libtool/autoconf files 2006-05-25 11:36:29 -07:00
config.sub updated libtool/autoconf files 2006-05-25 11:36:29 -07:00
configure.in Fix for configure to detect library correctly. 2007-01-22 02:32:07 +02:00
configure.in.rej Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-4.0 2007-01-22 03:33:59 +02:00
COPYING
depcomp
install-sh
ltconfig
ltmain.sh updated libtool/autoconf files 2006-05-25 11:36:29 -07:00
Makefile.am Makefile.am 2006-12-08 16:17:46 -07:00
missing
mkinstalldirs
README make_binary_distribution.sh: 2006-11-07 22:26:37 +01:00

This is a release of MySQL, a dual-license SQL database server.
MySQL is brought to you by the MySQL team at MySQL AB.

License information can be found in these files:
- For GPL (free) distributions, see the COPYING file and
  the EXCEPTIONS-CLIENT file.
- For commercial distributions, see the LICENSE.mysql file.


For further information about MySQL or additional documentation, see:
- The latest information about MySQL: http://www.mysql.com
- The current MySQL documentation: http://dev.mysql.com/doc

Some manual sections of special interest:

- If you are migrating from an older version of MySQL, please read the
  "Upgrading from..." section first!
- To see what MySQL can do, take a look at the features section.
- For installation instructions, see the Installing and Upgrading chapter.
- For the new features/bugfix history, see the Change History appendix.
- For the currently known bugs/misfeatures (known errors) see the Problems
  and Common Errors appendix.
- For a list of developers and other contributors, see the Credits
  appendix.

A local copy of the MySQL Reference Manual can be found in the Docs
directory in GNU Info format.  You can also browse the manual online or
download it in any of several formats at the URL given earlier in this
file.

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

IMPORTANT:

Bug or error reports should be sent to http://bugs.mysql.com.