Jan Lindström
c8035da9b8
Add more information if page state is not correct.
2015-03-10 14:05:57 +02:00
Sergei Golubchik
20cacb0064
fix a crash of innodb.innodb_mutexes,innodb_plugin
...
add forgotten initialization of the mutex name
2015-03-07 13:27:49 +01:00
Sergei Golubchik
2db62f686e
Merge branch '10.0' into 10.1
2015-03-07 13:21:02 +01:00
Sergei Golubchik
d61573d3e5
fix connect.json_udf test for static builds
2015-03-06 20:49:48 +01:00
Sergei Golubchik
5f510a9175
Merge branch '5.5' into 10.0
2015-03-06 18:41:32 +01:00
Sergei Golubchik
17a37796e1
after innodb/xtradb merge: use the correct visibility for internal functions
...
otherwise innodb plugin might invoke xtradb function with the same name,
and that might crash (./mtr --emb innodb.strict_mode)
2015-03-06 18:13:06 +01:00
Jan Lindström
206b111b11
MDEV-7672: Crash creating an InnoDB table with foreign keys
...
Analysis: after a red-black-tree lookup we use node withouth
checking did lookup succeed or not. This lead to situation
where NULL-pointer was used.
Fix: Add additional check that found node from red-back-tree
is valid.
2015-03-06 11:19:23 +02:00
Sergey Vojtovich
e13459a11e
MDEV-7148 - Recurring: InnoDB: Failing assertion: !lock->recursive
...
Re-applied lost in the merge revision:
commit ed313e8a92
Author: Sergey Vojtovich <svoj@mariadb.org>
Date: Mon Dec 1 14:58:29 2014 +0400
MDEV-7148 - Recurring: InnoDB: Failing assertion: !lock->recursive
On PPC64 high-loaded server may crash due to assertion failure in InnoDB
rwlocks code.
This happened because load order between "recursive" and "writer_thread"
wasn't properly enforced.
2015-03-05 15:30:11 +04:00
Jan Lindström
f66fbe8ce0
MDEV-7578 :Slave is ~10x slower to execute set of statements compared to master when using RBR
...
Analysis: On master when executing (single/multi) row INSERTs/REPLACEs
InnoDB fallback to old style autoinc locks (table locks)
only if another transaction has already acquired the AUTOINC lock.
Instead on slave as we are executing log_events and sql_command
is not correctly set, InnoDB does not use new style autoinc
locks when it could.
Fix: Use new style autoinc locks also when
thd_sql_command(user_thd) == SQLCOM_END i.e. this is RBR event.
2015-03-05 12:05:59 +02:00
Jan Lindström
143f5d9172
MDEV-7061: Augment innochecksum to give insight of fragmentation
...
Merged 615dd07d90
from https://github.com/facebook/mysql-5.6/
authored by rongrong. Removed C++11 requirement by using
std::map instead of std::unordered_set.
Add analysis to leaf pages to estimate how fragmented an index is
and how much benefit we can get out of defragmentation.
2015-03-04 16:57:31 +02:00
Sergei Golubchik
e33b48ae8b
Merge remote-tracking branch 'origin/10.0' into 10.0
2015-03-02 16:47:43 +01:00
Sergei Golubchik
c06c465a96
10.0-connect merge
2015-03-02 16:45:44 +01:00
Jan Lindström
7047bef1ef
Use standard InnoDB error mechanism on compression and encryption
...
error messages.
2015-03-02 10:55:48 +02:00
Olivier Bertrand
b9a9b82f9e
- Make json_udf test work on Windows
...
modified:
storage/connect/mysql-test/connect/t/json_udf.inc
2015-03-02 00:35:56 +01:00
Olivier Bertrand
5f4909b31d
- Making json_udf test working on linux
...
added:
storage/connect/mysql-test/connect/t/json_udf.inc
modified:
storage/connect/mysql-test/connect/r/json_udf.result
storage/connect/mysql-test/connect/t/json_udf.test
2015-03-01 23:55:09 +01:00
Olivier Bertrand
34c89597ef
- Remove a signed/unsigned warning.
...
modified:
storage/connect/jsonudf.cpp
2015-03-01 19:29:56 +01:00
Olivier Bertrand
5c8862ee19
- Fix crash when Json_Value was called without arguments.
...
Correct memory calculation in Serialize.
Correct some UDF's messages.
Add and modify the json tests
removed:
storage/connect/mysql-test/connect/std_data/biblio.jsn
storage/connect/mysql-test/connect/std_data/expense.jsn
storage/connect/mysql-test/connect/std_data/mulexp3.jsn
storage/connect/mysql-test/connect/std_data/mulexp4.jsn
storage/connect/mysql-test/connect/std_data/mulexp5.jsn
added:
storage/connect/mysql-test/connect/r/json_udf.result
storage/connect/mysql-test/connect/std_data/biblio.json
storage/connect/mysql-test/connect/std_data/expense.json
storage/connect/mysql-test/connect/std_data/mulexp3.json
storage/connect/mysql-test/connect/std_data/mulexp4.json
storage/connect/mysql-test/connect/std_data/mulexp5.json
storage/connect/mysql-test/connect/t/json_udf.test
modified:
storage/connect/json.cpp
storage/connect/jsonudf.cpp
storage/connect/mysql-test/connect/r/json.result
storage/connect/mysql-test/connect/t/json.test
2015-03-01 19:20:40 +01:00
Sergei Golubchik
c3f80a2bff
fix new innodb warnings to use the standard innodb warning syntax
2015-03-01 16:53:31 +01:00
Olivier Bertrand
d862d7c049
- Implement random access to ODBC tables
...
modified:
storage/connect/odbconn.cpp
storage/connect/odbconn.h
- Fix get proper length of ODBC DECIMAL column in discovery
modified:
storage/connect/ha_connect.cc
storage/connect/mysql-test/connect/r/odbc_oracle.result
- Implement random access to JSON tables
modified:
storage/connect/tabjson.cpp
storage/connect/tabjson.h
- Fix MDEV-7636
modified:
storage/connect/tabutil.cpp
2015-02-28 23:01:55 +01:00
Sergei Golubchik
fa87fc733d
update tokudb version after merge
2015-02-27 18:28:40 +01:00
Alexander Barkov
72d7b12b9c
Reducing duplicate code and simplifying well formed string copying
...
by adding a new class String_copier.
This is a pre-requisite patch for MDEV-6566 and MDEV-6572,
to avoid adding more similar code.
2015-02-27 16:26:12 +04:00
Jan Lindström
2eae6848d9
MDEV-7572: InnoDB: Assertion failure in log_init_crypt_key if
...
file_key_management_plugin is used
Fixed error handling and added disabling InnoDB redo log encryption
if encryption key management plugin is not there.
2015-02-26 10:17:23 +02:00
Olivier Bertrand
aa107ef3ab
- FIX assert failure when sorting JSON tables
...
modified:
storage/connect/tabjson.cpp
storage/connect/tabjson.h
2015-02-25 11:59:00 +01:00
Olivier Bertrand
e027f5e8d5
- Fix MDEV-7616 by adding SQLCOM_SET_OPTION to the accepted command list.
...
modified:
storage/connect/ha_connect.cc
- Add new JSON UDF functions and JSON functionalities.
modified:
storage/connect/json.cpp
storage/connect/json.h
storage/connect/jsonudf.cpp
storage/connect/tabjson.cpp
2015-02-24 23:18:04 +01:00
Sergei Golubchik
6c09a72af5
Merge remote-tracking branch 'origin/10.0' into 10.0
2015-02-24 20:52:37 +01:00
Sergei Golubchik
73033e5e1a
fix mroonga to compile w/o performance schema
2015-02-24 15:54:59 +01:00
Sergei Golubchik
723be51678
Merge
2015-02-24 14:17:00 +01:00
Jan Lindström
8799f87075
MDEV-7623: Add lock wait time and hold time to every record/table lock in
...
InnoDB transaction lock printout.
2015-02-24 10:33:49 +02:00
Jan Lindström
90635c6fb5
MDEV-7620: Transaction lock wait is missing number of lock
...
waits and total wait time.
2015-02-23 11:24:19 +02:00
Sergei Golubchik
f2cb45daf3
Merge remote-tracking branch 'origin/10.0' into 10.0
2015-02-22 21:45:24 +01:00
Olivier Bertrand
a736e63f7c
- Add new Json UDF's Json_Array_Add, Json_Array_Grp and Json_Object_Grp.
...
Handle longjmp's raised during json processing.
modified:
storage/connect/global.h
storage/connect/ha_connect.cc
storage/connect/json.cpp
storage/connect/jsonudf.cpp
- Fix wrong references to the suppressed g->Trace variables.
modified:
storage/connect/global.h
storage/connect/plugutil.c
storage/connect/tabjson.cpp
storage/connect/tabodbc.cpp
2015-02-22 17:53:02 +01:00
Jan Lindström
1cc7befc14
MDEV-7109: Add support for INFORMATION_SCHEMA.INNODB_SEMAPHORE_WAITS
...
MDEV-7399: Add support for INFORMATION_SCHEMA.INNODB_MUTEXES
MDEV-7618: Improve semaphore instrumentation
Introduced two new information schema tables to monitor mutex waits
and semaphore waits. Added a new configuration variable
innodb_intrument_semaphores to add thread_id, file name and
line of current holder of mutex/rw_lock.
2015-02-21 21:45:16 +02:00
Sergei Golubchik
77e6e74a26
merge 10.0-spider
2015-02-19 22:05:33 +01:00
Jan Lindström
9152b83973
Merged from 10.0-FusionIO:
...
Added support for compression method snappy for page compression.
2015-02-19 17:42:18 +02:00
Kentoku SHIBA
cf3b51b1d5
Merge Spider 3.2.18
2015-02-20 00:41:26 +09:00
Sergei Golubchik
c1ebb4a60f
compiler warnings in spider
2015-02-19 11:28:03 +01:00
Sergei Golubchik
16c01c7004
after merge: fix mroonga to compile and pass its tests
2015-02-19 10:26:52 +01:00
Sergei Golubchik
da637137ba
merge 10.0-mroonga
2015-02-19 09:57:34 +01:00
Sergei Golubchik
56114a416f
merge 10.0-connect
2015-02-19 09:37:11 +01:00
Olivier Bertrand
d9175f3822
- Remove GCC warnings
...
modified:
storage/connect/jsonudf.cpp
storage/connect/tabutil.h
2015-02-19 01:25:31 +01:00
Olivier Bertrand
564d41faf4
- Work on JSON and JSON UDF's
...
modified:
storage/connect/json.cpp
storage/connect/jsonudf.cpp
storage/connect/tabjson.cpp
- CntReadNext: Enable EvalColumns for longjmp
modified:
storage/connect/connect.cc
2015-02-19 00:59:02 +01:00
Sergei Golubchik
174bccd3ff
xtradb 5.6.22-72.0
2015-02-18 20:31:40 +01:00
Sergei Golubchik
6b05688f6d
innodb 5.6.23
2015-02-18 17:59:21 +01:00
Sergei Golubchik
d7e7862364
Merge branch '5.5' into 10.0
2015-02-18 15:16:27 +01:00
Jan Lindström
4040bf18cf
MDEV-7593: Default encryption key does not work correctly for page
...
encrypted tables
Introduced a new innodb_default_page_encryption_key configuration
variable to allow user to set the default key identifier.
2015-02-18 08:32:01 +02:00
Jan Lindström
a1a32f8f25
Revert file space allocation change on row0merge.cc.
2015-02-18 06:59:28 +02:00
Sergei Golubchik
a0e93bceb7
innodb/xtradb: update nonnull attributes to match the new semantics
2015-02-17 23:49:02 +01:00
Kentoku SHIBA
f5dabd7aca
Update Mroonga to the latest version on 2015-02-17T13:34:27+0900
2015-02-17 13:34:27 +09:00
Sergei Golubchik
db227616d2
followup for "MDEV-6248 GUI-friendly cmake options to enable/disable plugins"
...
Remove ONLY_IF clause in MYSQL_ADD_PLUGIN and the requirement
that every plugin's CMakeLists.txt *must* do MYSQL_ADD_PLUGIN
for PLUGIN_XXX=YES to work. This was very fragile and cannot be
relied on.
Use a different implementation of =YES check - iterate all
PLUGIN_* variables and see which one doesn't have a matching target.
Revert all ONLY_IF changes in CMakeLists.txt files.
2015-02-15 22:14:33 +01:00
Sergei Golubchik
985ef1d42a
Don't link plugins with libmysys.a or libmysys_ssl.a
...
we don't want mysys static data structures to be overwritten
when a dynamic plugin is loaded.
2015-02-15 22:14:33 +01:00