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 d50caace5f Fixed bug #29611.
If a primary key is defined over column c of enum type then 
the EXPLAIN command for a look-up query of the form
  SELECT * FROM t WHERE c=0
said that the query was with an impossible where condition though the
query correctly returned non-empty result set when the table indeed 
contained rows with error empty strings for column c. 

This kind of misbehavior was due to a bug in the function 
Field_enum::store(longlong,bool) that erroneously returned 1 if
the the value to be stored was equal to 0. 
Note that the method 
Field_enum::store(const char *from,uint length,CHARSET_INFO *cs)
correctly returned 0 if a value of the error empty string 
was stored. 


mysql-test/r/type_enum.result:
  Added a test case for bug #29661.
mysql-test/t/type_enum.test:
  Added a test case for bug #29661.
sql/field.cc:
  Fixed bug #29611.
  If a primary key was defined over column c of enum type then 
  the EXPLAIN command for a look-up query of the form
    SELECT * FROM t WHERE c=0
  said that the query was with an impossible where condition though the
  query correctly returned non-empty result set when the table indeed 
  contained rows with error empty strings for column c. 
  
  This kind of misbehavior was due to a bug in the function 
  Field_enum::store(longlong,bool) that erroneously returned 1 if
  the the value to be stored was equal to 0. 
  Note that the method 
  Field_enum::store(const char *from,uint length,CHARSET_INFO *cs)
  correctly returned 0 if a value of the error empty string 
  was stored.
2007-07-22 18:26:16 -07:00
bdb my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
BitKeeper Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-4.1-build 2007-06-18 20:15:27 +02:00
BUILD Bug #29543 GCov information not written in case of crash. 2007-07-07 07:46:17 +02:00
client Fixed bug #29788. 2007-07-21 04:50:11 +05:00
cmd-line-utils Merge pilot.(none):/data/msvensson/mysql/mysql-4.1-maint 2007-06-07 09:21:33 +02:00
config/ac-macros Fix SCI Transporter 2007-05-07 15:25:24 +02:00
dbug dbug/dbug_analyze.c : Avoid the unresolved symbol "my_thread_global_init()" 2007-04-23 13:36:18 +02:00
debian Change mode to -rw-rw-r-- 2007-04-19 21:59:25 -07:00
Docs Merge mysql.com:/home/kent/bk/tmp/mysql-4.1-build 2007-03-22 19:43:41 +01:00
extra Minor fixes for test failures and compiler warnings for Bug #29579. 2007-07-13 00:45:54 -04:00
heap Fixing crash when compiled using -DNEW_HASH_FUNCTIONS 2007-05-08 17:04:56 +05:00
include Merge gleb.loc:/home/uchum/work/bk/5.0 2007-07-13 20:49:21 +05:00
innobase NULL MERGE UP to 5.1. 2007-07-10 08:16:51 -06:00
libmysql Bug #29687 mysql_stmt_store_result memory leak in libmysqld 2007-07-16 19:08:07 +05:00
libmysql_r my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
libmysqld Merge trift2.:/MySQL/M41/push-4.1 2007-06-18 19:44:58 +02:00
man my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
myisam fixed uninitialized variable introduced by the fix for bug 29325 2007-07-11 12:37:47 +03:00
myisammrg BUG#26976 - Missing table in merge not noted in related error msg + 2007-06-06 04:42:41 +05:00
mysql-test Fixed bug #29611. 2007-07-22 18:26:16 -07:00
mysys Bug #29325: create table overwrites .MYD file of other 2007-07-18 15:33:41 +03:00
ndb Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb-bj 2007-07-13 15:53:58 +02:00
netware netware/*.def : Allocate 128K stack for all executables (bug#23504) 2007-06-07 12:59:31 +02:00
os2 my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
pstack my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
regex my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
scripts Bug#29382 Collation 'utf8_test_ci' not found in tests 2007-07-04 14:53:08 +05:00
server-tools Merge pilot.blaudden:/home/msvensson/mysql/bug26664/my50-bug26664 2007-05-24 20:51:37 +02:00
sql Fixed bug #29611. 2007-07-22 18:26:16 -07:00
sql-bench my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sql-common Merge mysql.com:/home/hf/work/29494/my41-29494 2007-07-22 14:03:18 +05:00
SSL my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
strings Merge olga.mysql.com:/home/igor/mysql-5.0-rpl 2007-07-13 19:05:30 -07:00
support-files Merge trift2.:/MySQL/M41/spec-4.1 2007-05-02 16:53:54 +02:00
tests Follow up to the patch for the BUG#10491. 2007-06-29 17:37:17 +04:00
tools Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
VC++Files Merge trift2.:/MySQL/M41/clone-4.1 2007-06-18 19:16:12 +02:00
vio Bug #29579 Clients using SSL can hang the server 2007-07-12 22:06:33 -04:00
win Bug#24732 Executables do not include Vista manifests 2007-06-26 11:26:01 -04:00
zlib my_memmem.c: 2007-04-11 01:47:42 +02:00
.bzrignore Allow multiple calls to mysql_server_end() 2007-06-20 19:22:27 +03:00
.cvsignore
CMakeLists.txt Bug#24732 Executables do not include Vista manifests 2007-06-26 11:26:01 -04:00
configure.in Raise version number after cloning 5.0.46 2007-07-16 12:42:12 +02: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
EXCEPTIONS-CLIENT EXCEPTIONS-CLIENT: 2007-03-14 18:28:16 +01:00
Makefile.am Add the "nist" suite to the "test-bt" target, 2007-06-22 20:08:19 +02:00
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.