Commit graph

89663 commits

Author SHA1 Message Date
Olivier Bertrand
50fc9b3b19 - Fix null handling for date columns (see MDEV-6744)
modified:
  storage/connect/ha_connect.cc
  storage/connect/plgdbutl.cpp
  storage/connect/value.cpp
  storage/connect/value.h
2014-10-12 12:05:05 +02:00
Rich Prohaska
0007845780 FT-602 give test_insert_unique enough time to run with valgrind on mork 2014-10-11 16:56:21 -04:00
Sergei Golubchik
911ed9379f merge 2014-10-11 12:52:55 +02:00
Sergei Golubchik
a7a60f6f33 compilation failure: ha_cassandra 2014-10-11 09:09:18 +02:00
Sergey Petrunya
1b960d9fd6 MDEV-6519: Assertion `join->best_read < double(...)' failed after adding a key to a TokuDB table...
- calculate_cond_selectivity_for_table() should handle the case
  where index statistics is not available (zeros are returned 
  in rec_per_key)
2014-10-10 23:52:47 +04:00
John Esmet
ad51396067 FT-602 Check for a nondeleted entry in the target le instead of the
leftmost le (oops!). Also strengthen our unit test for coverage.
2014-10-10 15:34:04 -04:00
Sergei Golubchik
ba85a008e4 merge 2014-10-10 20:59:06 +02:00
Olivier Bertrand
7531f22a68 - Fix a regression error from regarding Header as Boolean from some table types.
Was added to ha_connect::GetBooleanOption (otherwise ignored)
modified:
  storage/connect/ha_connect.cc
2014-10-10 13:27:52 +02:00
Alexander Barkov
33f1ac66ad Merge 10.0-connect -> 10.0 2014-10-10 13:18:03 +04:00
Alexander Barkov
e2b895ec7b Merge 10.0-mroonga -> 10.0 2014-10-10 13:16:41 +04:00
Olivier Bertrand
5821b8eb02 - in CheckCond change strcat to strncat to avoid the case of non zero
terminated string.
modified:
  storage/connect/ha_connect.cc

- The Accept and Header Boolean variables were wrongly retrieved using
  GetIntInfo instead of GetBoolInfo causing some setting to ignored.
modified:
  storage/connect/tabdos.cpp
  storage/connect/tabdos.h
  storage/connect/tabfmt.cpp

- Fix date truncated because their Value class was not using their field length.
modified:
  storage/connect/ha_connect.cc
2014-10-09 17:23:37 +02:00
Sergei Golubchik
1b75bed00f 5.5.40+ merge 2014-10-09 10:30:11 +02:00
Sergey Vojtovich
1efee0379e Fixed mroonga build failure on Power8: define generic gcc version of
GRN_SET_64BIT.
2014-10-09 12:25:45 +04:00
Rich Prohaska
44f3cddfdb DB-736 fix tokudb IS table errors 2014-10-08 12:01:23 -04:00
Rich Prohaska
b8c3131f10 DB-735 use thd_killed 2014-10-08 12:01:06 -04:00
Sergei Golubchik
b2d71434ed compilation fix for perl-Net-HandlerSocket 2014-10-08 15:21:48 +02:00
Sergey Vojtovich
6f762cdd6c Backport from 10.0:
revno: 4301
committer: Alexey Botchkov <holyfoot@askmonty.org>
branch nick: 10exp
timestamp: Tue 2014-07-22 15:28:15 +0500
message:
  gis-precise.test fixed to work on Power8.
------------------------------------------------------------
revno: 4295
committer: Alexey Botchkov <holyfoot@askmonty.org>
branch nick: 10exp
timestamp: Mon 2014-07-21 13:07:48 +0500
message:
  gis-precise test fixed to pass on Power8.
2014-10-08 18:10:31 +04:00
Rich Prohaska
de3cd3e182 DB-736 fix tokudb IS table errors 2014-10-08 08:39:40 -04:00
Sergei Golubchik
dbda20caff remove mariadb.pc file again, it cannot be added in a GA version 2014-10-08 09:35:00 +02:00
Sergei Golubchik
9329467e79 don't run privilege checking tests in embedded 2014-10-08 09:24:41 +02:00
Sergei Golubchik
104771de9a decimal: *correct* implementation of ROUND_UP at last 2014-10-08 00:46:10 +02:00
Sergei Golubchik
c1a4f0c5ab include mariadb.pc in debian builds 2014-10-08 00:45:56 +02:00
Sergei Golubchik
d3677c872f jemalloc compatibility 2014-10-08 00:45:41 +02:00
Sergei Golubchik
7e6d4bba0c XtraDB 5.5.40-36.1 2014-10-08 00:44:37 +02:00
Leif Walsh
a11909473d changed to ANNOTATE_IGNORE_{READS,WRITES}_{BEGIN,END}
DRD seems to prefer those annotations to
DRD_IGNORE_VAR/DRD_STOP_IGNORING_VAR.

Helgrind is stupid, and VALGRIND_HG_{DIS,EN}ABLE_CHECKING pairs
bizarrely "reclaim" the memory location for the current thread when
re-enabling checking.  So they probably aren't completely suitable for
our purposes, but Helgrind provides no facility for doing what we want
because it just wants to watch the world burn.  So we add a couple of
Helgrind suppressions in addition.

Also, added a cute RAII wrapper for reading a variable in a racy way.
Writing can be done the same way if we only want to appease DRD, but
because Helgrind does things on a memory location-basis and not a
thread-basis, things get a little tricky.
2014-10-07 16:07:49 -04:00
Sergei Golubchik
ef7d950e04 percona-server-5.5.40-36.1 2014-10-07 21:41:48 +02:00
Rich Prohaska
02cd38d84d Merge commit '3bf25268d1db81a92a157fdbf81916c28a676202' into releases/tokudb-7.5 2014-10-07 14:46:43 -04:00
Rich Prohaska
a24711022f Merge commit '1e3bc86b0901c0005551442b89d3a8d392b2ce6d' into releases/tokudb-7.5 2014-10-07 14:46:27 -04:00
Leif Walsh
bd415e73ed fixed version check inequality 2014-10-07 14:21:22 -04:00
Leif Walsh
d258ae30dd fixed cmake for versions without generator expressions (hopefully) 2014-10-07 13:57:43 -04:00
unknown
63ca157c92 MDEV-6781: bug with query cache when using views
The data base lenth passed to invalidator fixed
2014-10-07 19:38:45 +02:00
Rich Prohaska
6e982517be Merge branch 'ft600' into releases/tokudb-7.5 2014-10-07 10:26:36 -04:00
Rich Prohaska
b599259005 Merge branch 'ft600' 2014-10-07 10:25:52 -04:00
Sergei Golubchik
e73e1e7c7a packaging issues:
* skip debian 44_scripts__mysql_config__libs.dpatch it does not apply anymore
  (and anyway it would not work for a static library)
* fix the path for install(mariadb.pc)
2014-10-07 16:21:53 +02:00
Sergei Golubchik
fc58ba6c76 MDEV-5553 A view or procedure with a non existing definer can block "SHOW TABLE STATUS" with an unclear error message
Don't double-check privileges for a column in the GROUP BY that refers to
the same column in SELECT clause. Privileges were already checked for SELECT clause.
2014-10-07 11:55:39 +02:00
Sergei Golubchik
e5bc21af37 MDEV-4813 Replication fails on updating a MEMORY table with an index using btree
skip NULL VARCHAR key parts like it's done elsewhere
2014-10-07 10:54:14 +02:00
Sergei Golubchik
d2e808025a fixes for decimal type 2014-10-07 10:53:43 +02:00
Sergei Golubchik
7989c62bc0 post-merge fixes 2014-10-07 10:53:06 +02:00
Leif Walsh
9b24022104 fixed cmake policy CMP0022:
either use all-plain or all-keyword style of target_link_libraries
2014-10-06 16:39:10 -04:00
Leif Walsh
4fba582251 fixed some valgrind sanity tests 2014-10-06 16:23:13 -04:00
Leif Walsh
968b35a2c6 use TOKU_ macros to handle !USE_VALGRIND 2014-10-06 16:09:15 -04:00
Leif Walsh
192b5e651e moved to generator expressions for cmake debug flags 2014-10-06 15:53:16 -04:00
Leif Walsh
521ada594e fixed some helgrind warnings in ydb/helgrind_test_groupcommit_count.tdb 2014-10-06 15:52:37 -04:00
Leif Walsh
5a3e4d4f0a optimized test_keylen_diff so it's faster under valgrind
also widened one valgrind suppression to also catch something we
initialize in the assert layer
2014-10-06 15:05:45 -04:00
Leif Walsh
9ab0d76920 disabled keyrange until we fix it 2014-10-06 14:20:00 -04:00
Leif Walsh
44096e8baa fixed cmake warnings for 3.0.0 2014-10-06 14:20:00 -04:00
Sergei Golubchik
0d2cba5df2 XtraDB 5.5.39-36.0 2014-10-06 20:06:39 +02:00
Sergei Golubchik
014214d034 percona-server-5.5.39-36.0 2014-10-06 19:56:00 +02:00
Sergei Golubchik
1ddfce4840 mysql-5.5.40 2014-10-06 19:53:55 +02:00
Rich Prohaska
f63af1659f FT-600 locktree refs crash test and bug fix 2014-10-06 11:26:23 -04:00