mariadb/storage/innodb_plugin
Marko Mäkelä 45a2fee9eb Merge a patch from Facebook to fix Bug #53290
commit e759bc64eb5c5eed4f75677ad67246797d486460
Author: Ryan Mack
Date:   3 days ago

    Bugfix for 53290, fast unique index creation fails on duplicate null values

    Summary:
    Bug in the fast index creation code incorrectly considers null
    values to be duplicates during block merging.  Innodb policy is that
    multiple null values are allowed in a unique index.  Null duplicates
    were correctly ignored while sorting individual blocks and with slow
    index creation.

    Test Plan:
    mtr, including new test, load dbs using deferred index creation

    License:
    Copyright (C) 2009-2010 Facebook, Inc.  All Rights Reserved.

    Dual licensed under BSD license and GPLv2.

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:
    1. Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
    2. Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.

    THIS SOFTWARE IS PROVIDED BY FACEBOOK, INC. ``AS IS'' AND ANY EXPRESS OR
    IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
    EVENT SHALL FACEBOOK, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
    OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
    ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the Free
    Software Foundation; version 2 of the License.

    This program is distributed in the hope that it will be useful, but WITHOUT
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
    more details.

    You should have received a copy of the GNU General Public License along with
    this program; if not, write to the Free Software Foundation, Inc., 59 Temple
    Place, Suite 330, Boston, MA  02111-1307  USA
2010-05-11 13:53:08 +03:00
..
btr btr_page_split_and_insert(): Add an assertion 2010-05-11 13:49:10 +03:00
buf Do not demand that buf_page_t be fully initialized on 64-bit systems. 2010-05-11 13:50:12 +03:00
data dtuple_convert_big_rec(): Store locally any fields whose maximum length 2010-04-21 12:50:33 +03:00
dict Make dict_index_stat_mutex[] static because it is only used in dict0dict.c 2010-05-10 16:24:33 +03:00
dyn Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30
eval Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30
fil Applying InnoDB snapshot 2010-04-01 17:01:22 +04:00
fsp fsp_init_file_page_low(): Zero out the page. (Bug #53306) 2010-05-04 16:09:17 +03:00
fut Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30
ha Merge from innodb-branches-zip 2010-04-07 22:42:25 +03:00
handler Port fix for 53165 to InnoDB 5.1 plugin. The change buffering options 2010-05-04 21:52:24 -07:00
ibuf Applying InnoDB snapshot 2010-04-01 15:17:10 +04:00
include Merge a patch from Facebook to fix Bug #53290 2010-05-11 13:53:08 +03:00
lock Reduce the next-key locking of READ UNCOMMITTED to match that of 2010-04-29 15:27:43 +02:00
log recv_sys_init(), recv_sys_empty_hash(): Shrink recv_sys->addr_hash. 2010-04-29 15:37:50 +02:00
mach Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30
mem Applying InnoDB snapshot 2010-04-01 15:59:25 +04:00
mtr Applying InnoDB Plugin 1.0.5 snapshot ,part 12 2009-10-09 19:43:15 +05:30
mysql-test/patches Move the InnoDB Plugin tests from storage/innodb_plugin/mysql-test/ where 2010-04-09 15:56:51 +03:00
os Applying InnoDB snapshot 2010-04-01 16:27:53 +04:00
page Remove a stray expression. Spotted by Sunny Bains. 2010-05-11 13:45:00 +03:00
pars Applying InnoDB Plugin 1.0.6 snapshot,part 1. Fixes BUG#45992 and BUG#46656 2009-11-30 17:02:05 +05:30
que Applying InnoDB Plugin 1.0.6 snapshot,part 1. Fixes BUG#45992 and BUG#46656 2009-11-30 17:02:05 +05:30
read Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30
rem Merge a contribution from Ryan Mack at Facebook: 2010-05-05 15:39:01 +03:00
row Merge a contribution from Ryan Mack at Facebook: 2010-05-05 15:39:01 +03:00
scripts Applying Innodb Plugin 1.0.5 snapshot, part 14 2009-10-12 18:26:02 +05:30
srv Import branches/zip@r6960 from SVN on top of storage/innodb_plugin 2010-04-07 19:53:14 +03:00
sync Applying InnoDB snapshot 2010-04-01 15:59:25 +04:00
thr Applying InnoDB Plugin 1.0.6 snapshot,part 1. Fixes BUG#45992 and BUG#46656 2009-11-30 17:02:05 +05:30
trx storage/innodb_plugin: Relax too strict assertions about prefix 2010-04-15 09:01:22 +02:00
usr Applying InnoDB Plugin 1.0.6 snapshot,part 1. Fixes BUG#45992 and BUG#46656 2009-11-30 17:02:05 +05:30
ut Applying InnoDB snapshot 2010-04-01 16:56:22 +04:00
ChangeLog Document Bug #53256 2010-05-05 14:50:11 +03:00
CMakeLists.txt Reapply changes to storage/innodb_plugin/CMakeLists.txt that were made by MySQL 2010-04-07 20:21:15 +03:00
compile-innodb Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30
compile-innodb-debug Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30
COPYING Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30
COPYING.Google Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30
COPYING.Percona Update to innoplug-1.0.4. 2009-07-30 17:42:56 +05:00
COPYING.Sun_Microsystems Update to innoplug-1.0.4. 2009-07-30 17:42:56 +05:00
Doxyfile Update to innoplug-1.0.4. 2009-07-30 17:42:56 +05:00
ha_innodb.def Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30
Makefile.am Repply changes to storage/innodb_plugin/Makefile.am that were made by MySQL 2010-04-07 20:24:43 +03:00
plug.in Repply changes to storage/innodb_plugin/plug.in that were made by MySQL 2010-04-07 21:33:36 +03:00
revert_gen.sh Applying Innodb Plugin 1.0.5 snapshot, part 14 2009-10-12 18:26:02 +05:30
setup.sh Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30