Commit graph

85830 commits

Author SHA1 Message Date
Michael Widenius
a55c159424 MDEV-6245 Certain compressed tables with myisampack are corrupted by "CHECK TABLE"
- Fixed bug that we where using wrong checksum algorithm when using VARCHAR with fixed lenth rows
- Ensure in myisampack that HA_OPTION_NULL_FIELDS is set for tables with null fields.

mysql-test/r/myisampack.result:
  Updated results
mysql-test/t/myisampack.test:
  Added more tests
storage/myisam/mi_open.c:
  Use correct checksum algorithm when we have VARCHAR fields with fixed length records
storage/myisam/myisampack.c:
  Ensure HA_OPTION_NULL_FIELDS is set for tables with null fields.
  (This was not set by default for not compressed tables without checksums to keep MyISAM tables compatible with MySQL)
2014-05-17 10:42:59 +03:00
Sergei Golubchik
f6524e4963 MDEV-4925 Wrong result - count(distinct), Using index for group-by (scanning)
added the test case
2014-05-12 12:56:13 +02:00
Jan Lindström
124428a9e2 MDEV-4791: Assertion range_end >= range_start fails in log0online.c
on select from I_S.INNODB_CHANGED_PAGES

Analysis: limit_lsn_range_from_condition() incorrectly parses
start_lsn and/or end_lsn conditions.

Fix from SergeyP. Added some test cases.
2014-05-09 11:03:39 +03:00
unknown
45a91d8cbb MDEV-6193: Problems with multi-table updates that JOIN against read-only table
All underlying tables should share the same lock type.
2014-05-08 22:56:36 +03:00
unknown
3f80740aa8 merge 5.5->5.3 2014-05-07 09:28:12 +03:00
Michael Widenius
554fd30ba3 Fixed bug where CHECK TABLE for a MYISAM table before 5.5.38 wrongly gave warning:
"Table upgrade required..."

The row format is only different for the case where we have a very old MyISAM table with varchar fields, null fields and created with CHECKSUM=1
The table is usable, except that CHECKSUM TABLE will give a wrong result and CHECK TABLE will warn about this.

I added a test for this to warn when a table needs to be upgraded, but forgot to add a test that this was only relevant for tables with CHECKSUM=1
This is now fixed.



storage/myisam/ha_myisam.cc:
  Fixed wrong test.
2014-05-06 23:44:02 +03:00
Sergei Golubchik
890982192a update test file for windows 2014-05-06 14:52:40 +02:00
Sergei Golubchik
7a0a2c4b84 after tokudb-7.1.6 merge 2014-05-06 14:40:32 +02:00
Sergei Golubchik
aff4854dfd merge:
git://github.com/Tokutek/ft-index.git
git://github.com/Tokutek/ft-engine.git
at the tag tokudb-7.1.6
2014-05-05 22:59:44 +02:00
Sergei Golubchik
2f7f2de5cb update test results 2014-05-05 15:41:29 +02:00
Sergei Golubchik
a313864814 MDEV-6056 [PATCH] mysqldump writes usage to stdout even when not explicitly requested 2014-05-05 14:24:25 +02:00
Rich Prohaska
394202d207 #224 fail tokudb init if jemalloc is not loaded 2014-05-05 07:59:33 -04:00
Sergei Golubchik
5401d44708 fix broken -DWITHOUT_SERVER build: move sql-dependent unit test from mysys/ to sql/ 2014-05-05 12:51:21 +02:00
Sergei Golubchik
2221029f54 MDEV-6131 Unable to build Connector/ODBC 5.2.5 undefined reference to `my_charset_latin1'
Add charsets to the client API
(they are declared with MYSQL_PLUGIN_IMPORT, meaning the intention is to have them public)
2014-05-05 12:51:11 +02:00
Rich Prohaska
2a8682244a #223 build tokudb without upserts 2014-05-02 15:55:52 -04:00
Rich Prohaska
5c88950f25 #232 fix indexer progress callback to estimate number of rows with stat64 2014-05-01 22:27:06 -04:00
unknown
285160dee2 MDEV-5981: name resolution issues with views and multi-update in ps-protocol
It is triple bug with one test suite:
1. Incorrect outer table detection
2. Incorrect leaf table processing for multi-update (should be full like for usual updates and inserts)
3. ON condition fix_fields() fould be called for all tables of the query.
2014-05-01 17:19:17 +03:00
Sergei Golubchik
ddc960db4b MDEV-6091 mysqldump goes in a loop and segfaults if --dump-slave is specified and it cannot connect to the server
do_start_slave_sql() is called from maybe_exit().
We should not recurse when maybe_exit() is called for an error during do_start_slave_sql().
Also remove a meaningless (but safe) "goto err".
2014-05-01 15:43:51 +02:00
Rich Prohaska
85d338cc3e #222 filter out degenerate key range in tokudb::record_in_range 2014-04-30 18:19:14 -04:00
Rich Prohaska
53cb5329e4 #218 fix incorrect use of num_DBs_lock 2014-04-29 13:51:05 -04:00
Leif Walsh
04f63b0d4f Merge branch 'malloc-enginestatus' 2014-04-29 13:38:12 -04:00
Leif Walsh
1902b5c99c added MEMORY_MAX_REQUESTED_SIZE and MEMORY_LAST_FAILED_SIZE #230
fixes #230
2014-04-29 13:24:31 -04:00
Rich Prohaska
ba7e697bf1 #205 run test_block_allocator_merge with valgrind 2014-04-28 11:12:24 -04:00
Sergei Golubchik
2797f0c534 fix XtraDB version to tell the truth 2014-04-28 12:11:35 +02:00
Sergei Golubchik
0e05dc81b3 rename handler::ha_set_lock_type() -> handler::set_lock_type(),
because it's not a handler convenience wrapper
2014-04-28 11:11:16 +02:00
Rich Prohaska
94ed981ffe ft-index#218 use cursor set range with bound for point queries 2014-04-25 13:43:45 -04:00
Rich Prohaska
b2d2d85e0c #218 cursor set range with bound 2014-04-25 13:41:57 -04:00
Rich Prohaska
5b55cb54fc #110 test cases for replace into with replication 2014-04-25 11:58:56 -04:00
Rich Prohaska
77087f0cf8 #212 test case for mdev-4533 2014-04-25 09:52:51 -04:00
Rich Prohaska
8c11ea31d5 Tokutek/ft-index#219 added checkpoint duration to engine status 2014-04-24 08:02:45 -04:00
Rich Prohaska
cecd748137 #224 fix memory leak in ft/ft-serialize-benchmark test 2014-04-23 11:12:42 -04:00
Rich Prohaska
d8c055e6f1 #223 fix memory leak in the ft/cachetable-checkpointer-class test 2014-04-23 10:58:36 -04:00
Rich Prohaska
81fa04fc13 #46 fix memory leaks in dmt-test 2014-04-23 09:26:22 -04:00
Rich Prohaska
cd4b1cd7f6 #206 fix memory leaks in lock tree tests 2014-04-23 09:10:19 -04:00
Alexander Barkov
a24ea50d1a MDEV-5338 XML parser accepts malformed data 2014-04-23 15:53:47 +04:00
Leif Walsh
eb340a90d2 Merge pull request #222 from Tokutek/enginestatus-checkpoint
added checkpoint duration to engine status #219
2014-04-22 14:18:49 -04:00
Leif Walsh
87fef3582e added CHECKPOINT_DURATION_LAST #219 2014-04-22 09:58:56 -04:00
Leif Walsh
bea508d885 added checkpoint duration to engine status #219 2014-04-21 19:06:35 -04:00
Rich Prohaska
02fce56777 #110 turn off replace into and insert ignore optimizations when binlog format != statement (2nd try) 2014-04-21 12:35:59 -04:00
Rich Prohaska
99c4517b29 #110 turn off replace into and insert ignore optimizations when binlog format != statement 2014-04-21 10:35:03 -04:00
Alexander Barkov
213f10363e MDEV-6045 MySQL Bug#11829861 - SUBSTRING_INDEX() RESULTS "OMIT" CHARACTER WHEN USED INSIDE LOWER() 2014-04-21 13:19:32 +04:00
Alexander Barkov
5fc5195fc5 An after-fix for
MDEV-6134 SUBSTRING_INDEX returns wrong result for 8bit character sets when delimiter is not found

Recording the forgotten test results.
2014-04-21 11:29:50 +04:00
Alexander Barkov
cfa4548ba5 MDEV-6134 SUBSTRING_INDEX returns wrong result for 8bit character sets when delimiter is not found 2014-04-21 10:13:38 +04:00
Rich Prohaska
25f931c6b6 #202 allow non-null AND null key index cursor operations (2nd try) 2014-04-18 14:07:14 -04:00
Alexander Barkov
8db600f951 MDEV-5041 Inserting a TIME with hour>24 into a DATETIME column produces a wrong value 2014-04-18 12:19:51 +04:00
Rich Prohaska
5d2d9bfdeb #206 support mariadb 10.0.10 start_bulk_insert api change 2014-04-17 09:12:43 -04:00
Igor Babaev
13dc299a4f Fixed bugs mdev-5927 and mdev-6116.
Both bugs are caused by the same problem: the function optimize_cond() should
update the value of *cond_equal rather than the value of join->cond_equal,
because it is called not only for the WHERE condition, but for the HAVING
condition as well.
2014-04-16 22:34:52 -07:00
Rich Prohaska
ea3286b397 update the README.md to 7.1.5 2014-04-16 14:30:51 -04:00
Rich Prohaska
c5875bb5af #213 decrease the i_s_ test race window 2014-04-16 13:23:18 -04:00
Rich Prohaska
9f324de94d #212 binlog row replication turns the insert ignore optimization off 2014-04-14 17:23:06 -04:00