Skip to content

merge #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 10,000 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
5699180
Merge mysql-trunk --> mysql-trunk-wl7445
marcalff Aug 19, 2014
8939ede
Bug#18920075: INNOBASE_MYSQL_PREPARE_PRINT_ARBITRARY_THD BROKEN SINCE…
jhauglid Aug 19, 2014
464949e
Merge mysql-trunk --> mysql-trunk-wl7802
marcalff Aug 19, 2014
40868dc
Merge mysql-trunk -> mysql-trunk-wl7777
vasild Aug 19, 2014
c1aefbe
Merge mysql-trunk-wl7777 -> mysql-trunk
vasild Aug 19, 2014
4cc284b
Merge mysql-trunk --> mysql-trunk-wl7802
marcalff Aug 19, 2014
2f6eb21
WL#7817- RPL Monitoring: Move status variables to
Aug 19, 2014
fa0bf64
WL#7777 Performance schema memory instrumentation for innodb
marcalff Aug 19, 2014
097834b
Merge cleanup
marcalff Aug 19, 2014
6814f3a
Aug 19, 2014
97dd584
Bug#19450143 - BUF_READ_PAGE_ASYNC CALLS BUF_READ_PAGE_LOW WITH SYNC=…
Aug 20, 2014
f15749c
Bug#19450143 - BUF_READ_PAGE_ASYNC CALLS BUF_READ_PAGE_LOW WITH SYNC=…
Aug 20, 2014
457bc16
WL#6835 - There main fixes:
Aug 20, 2014
a1c24fc
Bug#19274972: RESULT DIFF SEEN FOR QUERIES WITH DISTINCT AND ORDER BY
Aug 20, 2014
1ef1462
WL#6835 - Merge from mysql-trunk
Aug 20, 2014
98496c5
Fix testcase issue.
Aug 20, 2014
964e190
Added rpm-sles directory for SLES repo rpm build
bkandasa Aug 20, 2014
67a8933
Add my.cnf.d to regular rpm for EL7 build
bkandasa Aug 20, 2014
ff481de
Merge from 5.5. => 5.6 Add my.cnf.d directory for EL7 regular rpm build
bkandasa Aug 20, 2014
3302a00
Followup to [email protected]:
vasild Aug 20, 2014
5f9a5e3
WL#6835 - Introduce trx_t::version. It is local to the trx_t instance…
Aug 20, 2014
1313f3e
- WL#6965: Truncate UNDO logs.
Aug 20, 2014
efe662d
WL#6835 - Skip NL-AC-RO transactions. Add some assertions.
Aug 20, 2014
48e1a9f
Bug#19459836: STRANGE ERROR MESSAGE FOR INCOMPATIBLE GTID OPTIONS FOR…
Aug 20, 2014
b4b8e86
merge trunk rev 8622.
david-zhao Aug 20, 2014
2287634
#Testing for mysql user as siwtch to mysql is needed for Solaris in c…
Aug 20, 2014
077bcd9
merge
david-zhao Aug 20, 2014
5297116
Correct incorrect comments abuot innobase_flush_logs.
Aug 20, 2014
f2f316b
Bug #19465696 MYSQL_UPGRADE --HELP IMPROVEMENTS AFTER REFACTORING
Aug 20, 2014
9f22b87
Bug #19465696 MYSQL_UPGRADE --HELP IMPROVEMENTS AFTER REFACTORING
Aug 20, 2014
d9e30af
bug#18900198: SHUTDOWN_SERVER FAILS WITH ERROR -2 IN SOME TESTS
Aug 20, 2014
fab66b5
WL#6835 - Avoid duplicates in the hit list. Improve the check for the…
Aug 21, 2014
8c5fb62
WL#6835 - Merge from mysql-trunk
Aug 21, 2014
34507cb
Bug#19450143 - BUF_READ_PAGE_ASYNC CALLS BUF_READ_PAGE_LOW WITH SYNC=…
Aug 21, 2014
78c91cb
- WL#6965: Truncate UNDO logs.
Aug 21, 2014
f45501e
Followup to [email protected]:
vasild Aug 20, 2014
31900f0
merge trunk rev 8630.
david-zhao Aug 21, 2014
72858cc
- WL#6965: Truncate UNDO logs.
Aug 21, 2014
bc84161
WL#6835 - Fix the table row lock ref count logic.
Aug 21, 2014
2a2e30d
Bug#19187034: ADD COMPILER VERSION CHECKS TO CMAKE
jhauglid Aug 21, 2014
0e1965c
Test for bug #11764618 "DEADLOCK WHEN DDL UNDER LOCK TABLES WRITE,
Aug 21, 2014
5f620e4
#reverting the postinstall changes for 7688
Aug 21, 2014
6de8b35
WL#7540: Move properties from TABLE to TABLE_LIST: table map and number
roylyseng Aug 21, 2014
c419358
WL#6835 - Remove an assertion that is not an invariant.
Aug 21, 2014
865a7cc
Add more unit tests to promote coverage and fixed a few bugs caught b…
david-zhao Aug 21, 2014
8347d09
WL#7540: Move properties from TABLE to TABLE_LIST: table map and number
roylyseng Aug 21, 2014
9eb6d9c
WL#7717 Expose the SSL library encryption functions to SQL
Aug 21, 2014
9620b11
WL#7717 Expose the SSL library encryption functions to SQL
Aug 21, 2014
d50adcc
Bug#18928848 II. MALLOC OF UNINITIALIZED MEMORY SIZE
Aug 21, 2014
c0dae2c
Bug#18928848 II. MALLOC OF UNINITIALIZED MEMORY SIZE
Aug 21, 2014
4926ffa
Bug#18928848 II. MALLOC OF UNINITIALIZED MEMORY SIZE
Aug 21, 2014
105cd9c
WL#6835 - Merge from mysql-trunk
Aug 21, 2014
0e1aa5e
WL#6835 - The assertion is not an invariant.
Aug 22, 2014
8a2ae84
WL#6835 - Tighten up the check for blocking read-only transaction.
Aug 22, 2014
9324404
WL#6835 - Widen the trx mutex critical section. Not requird for corre…
Aug 22, 2014
a543ab2
WL#6835 - Skip wait_for->trx transactions before acquiring the trx_t:…
Aug 22, 2014
277f673
WL#6835 - If the blocking transaction is a read-only transaction then we
Aug 22, 2014
aac690b
WL#6835 - Tidy up the rules, add an assertion.
Aug 22, 2014
b4b6735
WL#6835 - Add assertions to check for potential race.
Aug 22, 2014
339b4bf
Make innodb.log_file experimental on Windows, cf. Bug#19363615
dahlerlend Aug 22, 2014
039c7b4
WL#6835 - Merge from mysql-trunk
Aug 22, 2014
5d4e9a8
Disable main.audit_plugin (BUG#19463867) and i_main.audit_general_log…
Aug 22, 2014
b0ff6c8
Bug#19187034: ADD COMPILER VERSION CHECKS TO CMAKE
jhauglid Aug 22, 2014
1929aaa
Disable i_main.audit_general_log.test
Aug 22, 2014
0d0f94d
merge to trunk
gkodinov Aug 22, 2014
f5e1854
merge from trunk
gkodinov Aug 22, 2014
7b7deee
WL# 7583 - THD transitional string refactoring.
thayumanavar77 Aug 22, 2014
e106e09
WL# 7583 - THD transitional string refactoring.
thayumanavar77 Aug 22, 2014
f31db5e
WL# 7583 - THD transitional string refactoring.
thayumanavar77 Aug 22, 2014
d758340
WL# 7583 - THD transitional string refactoring.
thayumanavar77 Aug 22, 2014
1a697be
WL# 7583 - THD transitional string refactoring.
thayumanavar77 Aug 22, 2014
af8d08c
Bug#18404381: REMOVE UNNEEDE CMAKE CHECKS AND #IFDEFS IN 5.7.5
jhauglid Aug 22, 2014
f9aacad
Bug#19481375: Service restart failing with sles repo packages once na…
bkandasa Aug 22, 2014
069835a
Revert the push(rev:6120) of
Aug 22, 2014
d5f060f
Null merge from 5.6
Aug 22, 2014
8e89e91
bug#14041454: INNODB.INNODB_BUG-13628249 TEST FAILS SPORADICALLY ON PB2
Aug 22, 2014
5d34b92
WL#7928 Geohash encoding and decoding functions
Aug 22, 2014
46f5781
Bug #18242233 LIKELY() AND UNLIKELY() CONFLICT WITH BOOST
Aug 22, 2014
a977b56
Bug#19459193 GET RID OF DYNAMIC_ARRAY IN CIRCULAR_BUFFER_QUEUE
Aug 22, 2014
cd44f81
Bug#19459193 GET RID OF DYNAMIC_ARRAY IN CIRCULAR_BUFFER_QUEUE
Aug 22, 2014
c00c0f7
Bug#19370676 : YASSL PRE-AUTH BUFFER OVERFLOW WHEN CLIENT
harinvadodaria Aug 23, 2014
e77a0de
Bug#19370676 : YASSL PRE-AUTH BUFFER OVERFLOW WHEN CLIENT
harinvadodaria Aug 23, 2014
9d74e1a
Bug#19370676 : YASSL PRE-AUTH BUFFER OVERFLOW WHEN CLIENT
harinvadodaria Aug 23, 2014
1a38191
WL#2489: Better ONLY_FULL_GROUP_BY mode
roylyseng Aug 24, 2014
a043a92
WL#7236
david-zhao Aug 25, 2014
ce5b2df
Bug #19471516 SERVER CRASHES WHEN EXECUTING ALTER TABLE ADD FOREIGN KEY
gurusami Aug 25, 2014
7b7fa24
Bug #19471516 SERVER CRASHES WHEN EXECUTING ALTER TABLE ADD FOREIGN KEY
gurusami Aug 25, 2014
6dda3c9
made m_i_db.test experimental
gkodinov Aug 25, 2014
c3ef121
merge with trunk
gkodinov Aug 25, 2014
5c15046
WL#6835 - Skip transactions that are waiting in the record lock queue…
Aug 25, 2014
ba92bca
WL#6835 - Handle the case where the high priority transactions owns the
Aug 25, 2014
636aee2
Fix broken build: Add missing #includes
jhauglid Aug 25, 2014
1403a26
Bug#18404381: REMOVE UNNEEDE CMAKE CHECKS AND #IFDEFS IN 5.7.5
jhauglid Aug 25, 2014
a8c8a65
Fix Bug#19488149 REMOVE A GOTO IN FIL_MUTEX_ENTER_AND_PREPARE_FOR_IO()
vasild Aug 25, 2014
ec64b03
Aug 25, 2014
a25c7c3
Remove a goto in fil_mutex_enter_and_prepare_for_io(), convert:
vasild Aug 25, 2014
6627c6e
Non-functional change: remove "using std::min;" and use
vasild Aug 25, 2014
f6f7346
WL#6835 - Merge from mysql-trunk
Aug 25, 2014
1460fde
Raise version number after cloning 5.5.40
Aug 25, 2014
1daab71
Raise version number after cloning 5.6.21
Aug 25, 2014
f723441
Empty version change upmerge
snarkedi Aug 25, 2014
66fa9dc
WL#2489: Better ONLY_FULL_GROUP_BY mode
roylyseng Aug 25, 2014
2fb3a14
Bug#19498446: REFACTOR THREAD-LOCAL STORAGE IMPLEMENTATION
jhauglid Aug 25, 2014
c074abb
Bug#19459193 GET RID OF DYNAMIC_ARRAY IN CIRCULAR_BUFFER_QUEUE
Aug 25, 2014
2ce5f92
Bug #19471516 SERVER CRASHES WHEN EXECUTING ALTER TABLE ADD FOREIGN KEY
gurusami Aug 25, 2014
b725b6f
Null merge from mysql-5.6 to mysql-5.7
gurusami Aug 25, 2014
2224103
Bug #19471516 SERVER CRASHES WHEN EXECUTING ALTER TABLE ADD FOREIGN KEY
gurusami Aug 25, 2014
824856f
Null merge from mysql-5.5 to mysql-5.6
gurusami Aug 25, 2014
b620957
Null merge from mysql-5.6 to mysql-5.7
gurusami Aug 25, 2014
ade8e08
Bug#19488750 REMOVE BOOST_INCLUDE_DIR FROM INCLUDE_DIRECTORIES
Aug 25, 2014
41f0ad7
Bug#19463877: I_MAIN.AUDIT_GENERAL_LOG TEST FAILS WITH RESULT CONTENT…
Aug 25, 2014
3409e40
Revert [email protected]
Aug 25, 2014
81be2e3
WL#6835 - Merge from mysql-trunk
Aug 25, 2014
e4a8f7d
Undo remove of:
Aug 26, 2014
8d25dad
WL#6835 - Merge from mysql-trunk.
Aug 26, 2014
40f958e
Aug 26, 2014
cc381f2
Aug 26, 2014
a21eb78
WL#6835 - XA prepared transactions should not be rolled back. Re-enab…
Aug 26, 2014
7adac97
WL#7766: Deprecate the EOF packet
Aug 26, 2014
b56bb77
Correct the documentation of some parameters.
Aug 26, 2014
cb6bba1
Make a global function static.
Aug 26, 2014
b34cee1
Aug 26, 2014
4fe9a90
Bug#19504805: COPY DEFAULT.WEEKLY FILE OF THREAD_POOL AND
phulakun Aug 26, 2014
7345013
Bug#19504805: COPY DEFAULT.WEEKLY FILE OF THREAD_POOL AND
phulakun Aug 26, 2014
c4e6ff6
Bug#18192817: IGNORE_SERVER_IDS IS SHOWING DUPLICATE
Aug 26, 2014
8fae929
WL#6835 - Fix whitespace.
Aug 26, 2014
58cba4d
Pass --core-file when starting mysqld in order to catch crashes such as
Aug 26, 2014
2d5dcc5
WL#2489: Better ONLY_FULL_GROUP_BY mode
roylyseng Aug 26, 2014
762c2dd
Rename enterprise repo packages to commercial
bkandasa Aug 26, 2014
ab1cc4f
Merge from 5.5 => 5.6 Rename enterprise repo packages to commercial
bkandasa Aug 26, 2014
97426e4
Merge from 5.6 => trunk - Rename enterprise repo packages to commercial
bkandasa Aug 26, 2014
c06451c
Add rpm-sles directory for sles repo rpm builds
bkandasa Aug 26, 2014
b8aa0b1
WL#6835 - Add a result file. Reset trx_t::state at innobase_commit() to
Aug 26, 2014
4af2c01
Bug #19495721 REMOVE C-STYLE IB_LOGF FUNCTION, REPLACE USAGE WITH IB:…
gurusami Aug 26, 2014
3a0efa3
WL#6835 - Release the btr search latch when entering InnoDB.
Aug 26, 2014
b1dc43f
WL#6835 - Merge from mysql-trunk
Aug 26, 2014
c4492d5
Aug 26, 2014
7ca72ce
Follow-up WL#5869: Optimizer cost: use Cost_estimate in range optimizer
Aug 26, 2014
93c5ad4
Bug#17833261 FOUND_ROWS(): DIFFERENT RESULTS FOR LOCAL LIMIT WITH AND
nryeng Aug 26, 2014
e3e14e6
WL#8003: Server support for attachable transactions.
Aug 26, 2014
aa51225
WL#8003: Server support for attachable transactions.
Aug 26, 2014
8bcb244
WL#7828: InnoDB: attachable transaction support.
Aug 26, 2014
1363a1a
WL#7159: Move time zone tables and help tables from MyISAM
Aug 26, 2014
90bdd3d
WL#7159: Move time zone tables and help tables from MyISAM
Aug 26, 2014
a0fa896
Non-functional changes culled from the patch for wl 6206 found in rb4…
Aug 26, 2014
5fa1732
Cleanup of previous push due to a build break on Solaris.
Aug 26, 2014
a6d8de4
Fix Solaris build break again
Aug 26, 2014
c7b5658
Aug 26, 2014
6137fde
Aug 26, 2014
70be287
WL#6835 - Merge from mysql-trunk
Aug 26, 2014
4de9ec1
WL#6835 - Make the test deterministic.
Aug 27, 2014
d881059
Fix Bug #19474851 - INSERT INTO GIS TABLE, ASSERT ASSERTION: (ULINT)
Aug 27, 2014
0c14c93
Bug #18066518: THE COST VALUE IS A NEGATIVE NUMBER FOR MERGE ENGINE T…
Aug 27, 2014
ff205dd
Bug #19498383 MERGE_LARGE_TESTS UNIT TEST IS FAILING ON PB2
david-zhao Aug 27, 2014
b204245
Bug #19473313 ASSERT ALWAYS TRUE DUE TO LIMITED RANGE OF DATA TYPE GI…
david-zhao Aug 27, 2014
f017fa9
WL#6835 - Fix build issue on Windows. Inherited from trunk merge.
Aug 27, 2014
9f5ea38
WL#6835 - Release the btr search latch in the destructor of TrxInInnoDB.
Aug 27, 2014
29e715e
WL#6835 - Fix typo.
Aug 27, 2014
c496155
WL#7339 Use improved records per key estimate interface in optimizer
Aug 27, 2014
c9b4c05
WL#7445 PERFORMANCE SCHEMA: instrument SX-lock for rw_lock
marcalff Aug 19, 2014
ca08236
Bug#19506247 DTRACE SUPPORT DON'T BUILD IF COMMON BUILD -WP,OPTION WF…
Aug 27, 2014
27bc1cd
WL#7159: Move time zone tables and help tables from MyISAM to transac…
Aug 27, 2014
5fbb812
Auto-merge WL#7159, WL#7828 & WL#8003 from mysql-trunk-wl7159-8.
Aug 27, 2014
267ab2a
The following tests take too long in Valgrind. Only run them with --b…
dahlerlend Aug 27, 2014
2886baa
merge 5.6 => trunk
Aug 27, 2014
aa10ba0
WL#7802 PERFORMANCE SCHEMA, BATCH TABLE IO
marcalff Aug 19, 2014
ad14e14
- Bug #16479309: FUNCTION LOCK_NUMBER_OF_ROWS_LOCKED MAY BE INEFFICIENT
Aug 27, 2014
14da955
Changing the copyright headers a bit to be complaint with the standards
snarkedi Aug 27, 2014
1ff69ec
WL#7276 Configuration data base for Optimizer Cost Model
Aug 27, 2014
573ceba
Null merging changes from 5.5
snarkedi Aug 27, 2014
c65b9c6
Null merging the changes from 5.5
snarkedi Aug 27, 2014
f67024d
Aug 27, 2014
0e3f0b9
WL#6835 - Move the trx_t::has_search_latch state changes to separate …
Aug 28, 2014
afcb990
WL#6835 - Merge from mysql-trunk
Aug 28, 2014
a95d97d
Fix Bug #19460824 - GIS TABLE, INSERT, ASSERT !MEMCMP(PAGE, TEMP_PAGE,
Aug 28, 2014
0bc803b
Some POWER specific optimizations
Aug 28, 2014
ab7b3d9
WL#6835 - Set the trx_t::killed_by thread ID atomically. Add an invar…
Aug 28, 2014
a1d8b89
Bug#17554489 : UNNECESSARY OVERHEAD FROM PERSISTENT ADAPTIVE HASH IND…
Aug 28, 2014
6514c82
Fix the sporadic failure on PB2 of innodb_gis_point_basic, which is
Aug 28, 2014
ca875fa
WL#7793: Add native support for syslog on unixoid platforms
Aug 28, 2014
24bd618
Bug#19499701 GET RID OF DYNAMIC_ARRAY IN RPL_RLI_PDB
Aug 28, 2014
bfe9e53
Bug#19514950 CLEAN UP TESTS THAT KILL OR RESTART THE SERVER
Aug 28, 2014
efc515f
Fixed build warnings
marcalff Aug 20, 2014
c5e7dde
Update copyright text.
Aug 28, 2014
7637307
Merge from 5.5.
Aug 28, 2014
1edf03b
Merge from 5.6.
Aug 28, 2014
790a3e0
Added the rapidjson library (clean, unmodified version).
Aug 28, 2014
7042821
Fix compiler errors and warning in rapidjson library:
Aug 28, 2014
4fd456c
Changed print-method for DOUBLE in rapidjson library to behave like S…
Aug 28, 2014
5f42b9a
Modified parsing of DOUBLE values in rapidjson library to correctly p…
Aug 28, 2014
43d6cfd
WL#7444 GeoJson support for GIS
Aug 28, 2014
848ee89
Bug#19145712 USER AFTER FREE / DOUBLE FREE ISSUE
Aug 28, 2014
04baddc
WL7688 Deprecate mysql_install_db and create a new program in C++
Aug 28, 2014
41cd92f
Bug#19145712 USER AFTER FREE / DOUBLE FREE ISSUE
Aug 28, 2014
08245c0
Bug#19145712 USER AFTER FREE / DOUBLE FREE ISSUE
Aug 28, 2014
cbde9d6
Bug#19521132 : SSL CERTS SHOULD BE AUTO GENERATED AFTER
harinvadodaria Aug 28, 2014
d7fcb80
- Bug#19520482: INNODB_WL6501_CRASH_2/7 ARE FAILING ON DAILY-TRUNK WI…
Aug 28, 2014
5c67863
WL#6835 - Add a trx_t::onwer_id, it is the thread of the thread that …
Aug 28, 2014
b39a94e
WL#7717 Expose the SSL library encryption functions to SQL
Aug 28, 2014
6474bd5
WL#7717 Expose the SSL library encryption functions to SQL
Aug 28, 2014
4113942
WL#7339 Use improved records per key estimate interface in optimizer
Aug 28, 2014
3329f0a
Bug #19163915 INNODB: DUPLICATE RECORDS COULD EXIST WHEN SKIPPING
Thirunarayanan Aug 28, 2014
9e2b409
Bug #19163915 INNODB: DUPLICATE RECORDS COULD EXIST WHEN SKIPPING
jhauglid Aug 28, 2014
d1cd812
Fix build break on 32-bit Windows build.
Aug 28, 2014
74ee145
Follow-up to WL#7688 - add Joro's change to mysql-test-run.pl to make…
dahlerlend Aug 28, 2014
0a7c569
WL#7793: Add native support for syslog on unixoid platforms
Aug 28, 2014
bcc730c
WL#6835 - Merge from mysql-trunk
Aug 28, 2014
b1eaf4d
Bug#19525395 TTASFUTEXMUTEX DOESN'T EXPECTS BUT DOES NOT REQUEST ALIG…
Aug 28, 2014
dee9841
WL#6835 - Merge from mysql-trunk
Aug 28, 2014
c504e6b
WL#6835 - InnoDB: GCS Replication: Deterministic Deadlock Handling (H…
Aug 29, 2014
e647dff
Revert the patch of bug#19450143 because there is a regression after it.
Aug 29, 2014
57db7a4
Commit the missing test case result file for WL#6835.
Aug 29, 2014
ea9465e
Fix these 2 test case failures on PB2.
Aug 29, 2014
a8a5137
Follow-up to Bug#19514950 CLEAN UP TESTS THAT KILL OR RESTART THE SERVER
Aug 29, 2014
ec482ac
Work around for Bug#19442959 DO NOT CALL EXIT() FROM INNODB
Aug 29, 2014
4c53363
WL#6263 Remove limited YEAR(2) support
Aug 29, 2014
a38b647
Bug#19420253 : ASSERT \'S_LATCH == RW_LOCK_OWN(&INDEX->LOCK, RW_LOCK_…
Aug 29, 2014
4ef95cc
Bug#19458208 73623: REMOVE REDUNDANCY FROM INNODB TEST FILE NAMES
Aug 29, 2014
e49b618
Revert most of Bug #19458208 REMOVE REDUNDANCY FROM INNODB TEST FILE …
Aug 29, 2014
3a1d06e
BUG#18503734 - SEGV IN RBT_SEARCH(), FTS
Aug 29, 2014
5dadfcb
Merge from mysql-5.6 to mysql-trunk
Aug 29, 2014
87ebbab
WL#7315 Optimizer cost model: main memory management of cost constants
Aug 29, 2014
dea28f5
Bug #19495721 REMOVE C-STYLE IB_LOGF FUNCTION, REPLACE USAGE WITH IB:…
gurusami Aug 29, 2014
30eef45
Follow-up patch for WL#7828 & WL#8003.
Aug 29, 2014
b6a6075
WL#7316 Optimizer cost model: Command for online updating of
Aug 29, 2014
9f46223
Bug#18404381: REMOVE UNNEEDE CMAKE CHECKS AND #IFDEFS IN 5.7.5
jhauglid Aug 29, 2014
5c07693
WL#6263: Remove limited YEAR(2) support
GlebShchepa Aug 29, 2014
d9210f8
Aug 31, 2014
f8cb51f
Aug 31, 2014
3d715be
Added openssl_udf.so plugin to commercial packages
bkandasa Sep 1, 2014
f8b94db
BUG 19363801 Added Debian Ubuntu specific path for INFO files
Sep 1, 2014
6a92d8f
BUG 19363801 Added Debian Ubuntu specific path for INFO files
Sep 1, 2014
963e96d
WL#7766: Deprecate EOF packet
Sep 1, 2014
14fb2a9
WL#7315 Optimizer cost model: main memory management of cost constants
Sep 1, 2014
d9e3f82
Bug#19537790 INNODB_STATS_FETCH FAILS WITH WRONG CARDINALITY
Sep 1, 2014
1da286d
Revert the following revisions:
jhauglid Sep 2, 2014
630d81a
Use --loose to avoid test failing in server start
bjornmu Sep 3, 2014
c6d23e1
Bug #19579105 SERVICE START FAILING WITH SLES11 5.7.5-COMMUNITY REPO …
bjornmu Sep 8, 2014
e8ae131
Remove --insecure from postinstall-solaris, it was a temporary fix
bjornmu Sep 9, 2014
76cb152
Sep 9, 2014
fc83ed4
Sep 9, 2014
7ddb7d4
Bug #19553266 MAIN.WL6219-UPGRADE ON PB2
bjornmu Sep 9, 2014
53f7d59
Disabling a test, will be undone next commit
bjornmu Sep 9, 2014
ada212a
Bug #19498327 : M_I_DB FAILS WHEN BUILDING IN A SOURCE DIRECTORY
bjornmu Sep 9, 2014
74dc5ae
BUG #19578256 --SSL SHOULD DEFAULT TO OFF FOR COMMUNITY EDITION
bjornmu Sep 10, 2014
47a2412
Bug #19594823 ROOT RANDOM PASSWORD IS NOT GENERATED BY DEFAULT AS PAR…
bjornmu Sep 10, 2014
7fbc388
Bug #19545350 MYSQL_INSTALL_DB --HELP MESSAGE PROBLEMS
bjornmu Sep 11, 2014
9f88572
Bug #19621147 M_I_DB: EMPTY HELP TABLES
bjornmu Sep 18, 2014
ae4e043
Bug #19629959 M_I_DB: ROOT USER IS MISSING THE CREATE_TABLESPACE PRIV…
bjornmu Sep 18, 2014
f964f6b
Follow patch to WL #6936, cset 8785 from trunk
bjornmu Sep 18, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WL#7817- RPL Monitoring: Move status variables to
         replication P_S tables                                               
                                                                                
Added more fields to replication P_S tables.
Following variables that were a part of
SHOW STATUS have now been added:                                                 
                                                                                                                    
Show status like 'Slave_last_heartbeat';                                  
Show status like 'Slave_received_heartbeats';                                   
show status like 'Slave_heartbeat_period';
Show status like 'Slave_retried_transactions';
  • Loading branch information
Shivji Jha committed Aug 19, 2014
commit 2f6eb219b79bebb27deb3b85f6bfe91be13138be
9 changes: 9 additions & 0 deletions mysql-test/extra/rpl_tests/rpl_deadlock.test
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ let $status_var_comparsion= >;
--source include/wait_for_status_var.inc
SELECT COUNT(*) FROM t2;
COMMIT;

--echo
--echo # Test that the performance schema coulumn shows > 0 values.
--echo

--let $assert_text= current number of retries should be more than the value saved before deadlock.
--let $assert_cond= [SELECT COUNT_TRANSACTIONS_RETRIES FROM performance_schema.replication_execute_status, COUNT_TRANSACTIONS_RETRIES, 1] > "$slave_retried_transactions"
--source include/assert.inc

source include/check_slave_is_running.inc;
sync_with_master;

Expand Down
12 changes: 8 additions & 4 deletions mysql-test/suite/perfschema/r/table_schema.result
Original file line number Diff line number Diff line change
Expand Up @@ -861,16 +861,20 @@ def performance_schema replication_connection_configuration SSL_CRL_FILE 13 NULL
def performance_schema replication_connection_configuration SSL_CRL_PATH 14 NULL NO varchar 255 765 NULL NULL NULL utf8 utf8_general_ci varchar(255) select,insert,update,references
def performance_schema replication_connection_configuration CONNECTION_RETRY_INTERVAL 15 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) select,insert,update,references
def performance_schema replication_connection_configuration CONNECTION_RETRY_COUNT 16 NULL NO bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references
def performance_schema replication_connection_configuration HEARTBEAT_INTERVAL 17 NULL NO double NULL NULL 10 3 NULL NULL NULL double(10,3) unsigned select,insert,update,references Number of seconds after which a heartbeat will be sent .
def performance_schema replication_connection_status SOURCE_UUID 1 NULL NO char 36 108 NULL NULL NULL utf8 utf8_bin char(36) select,insert,update,references
def performance_schema replication_connection_status THREAD_ID 2 NULL YES bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references
def performance_schema replication_connection_status SERVICE_STATE 3 NULL NO enum 10 30 NULL NULL NULL utf8 utf8_general_ci enum('ON','OFF','CONNECTING') select,insert,update,references
def performance_schema replication_connection_status RECEIVED_TRANSACTION_SET 4 NULL NO text 65535 65535 NULL NULL NULL utf8 utf8_general_ci text select,insert,update,references
def performance_schema replication_connection_status LAST_ERROR_NUMBER 5 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) select,insert,update,references
def performance_schema replication_connection_status LAST_ERROR_MESSAGE 6 NULL NO varchar 1024 3072 NULL NULL NULL utf8 utf8_general_ci varchar(1024) select,insert,update,references
def performance_schema replication_connection_status LAST_ERROR_TIMESTAMP 7 CURRENT_TIMESTAMP NO timestamp NULL NULL NULL NULL 0 NULL NULL timestamp on update CURRENT_TIMESTAMP select,insert,update,references
def performance_schema replication_connection_status COUNT_RECEIVED_HEARTBEATS 4 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references
def performance_schema replication_connection_status LAST_HEARTBEAT_TIMESTAMP 5 CURRENT_TIMESTAMP NO timestamp NULL NULL NULL NULL 0 NULL NULL timestamp on update CURRENT_TIMESTAMP select,insert,update,references Shows when the most recent heartbeat signal was received.
def performance_schema replication_connection_status RECEIVED_TRANSACTION_SET 6 NULL NO text 65535 65535 NULL NULL NULL utf8 utf8_general_ci text select,insert,update,references
def performance_schema replication_connection_status LAST_ERROR_NUMBER 7 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) select,insert,update,references
def performance_schema replication_connection_status LAST_ERROR_MESSAGE 8 NULL NO varchar 1024 3072 NULL NULL NULL utf8 utf8_general_ci varchar(1024) select,insert,update,references
def performance_schema replication_connection_status LAST_ERROR_TIMESTAMP 9 0000-00-00 00:00:00 NO timestamp NULL NULL NULL NULL 0 NULL NULL timestamp select,insert,update,references
def performance_schema replication_execute_configuration DESIRED_DELAY 1 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) select,insert,update,references
def performance_schema replication_execute_status SERVICE_STATE 1 NULL NO enum 3 9 NULL NULL NULL utf8 utf8_general_ci enum('ON','OFF') select,insert,update,references
def performance_schema replication_execute_status REMAINING_DELAY 2 NULL YES int NULL NULL 10 0 NULL NULL NULL int(10) unsigned select,insert,update,references
def performance_schema replication_execute_status COUNT_TRANSACTIONS_RETRIES 3 NULL NO bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references
def performance_schema replication_execute_status_by_coordinator THREAD_ID 1 NULL YES bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references
def performance_schema replication_execute_status_by_coordinator SERVICE_STATE 2 NULL NO enum 3 9 NULL NULL NULL utf8 utf8_general_ci enum('ON','OFF') select,insert,update,references
def performance_schema replication_execute_status_by_coordinator LAST_ERROR_NUMBER 3 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) select,insert,update,references
Expand Down
4 changes: 4 additions & 0 deletions mysql-test/suite/rpl/r/rpl_deadlock_innodb.result
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ SELECT COUNT(*) FROM t2;
COUNT(*)
0
COMMIT;

# Test that the performance schema coulumn shows > 0 values.

include/assert.inc [current number of retries should be more than the value saved before deadlock.]
include/check_slave_is_running.inc
SELECT * FROM t1;
a
Expand Down
5 changes: 5 additions & 0 deletions mysql-test/suite/rpl/r/rpl_perfschema_connect_config.result
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ include/assert.inc [Value returned by SSS and PS table for SSL_Crl_Path should b
include/assert.inc [Value returned by SSS and PS table for Connection_Retry_Interval should be same.]
include/assert.inc [Value returned by SSS and PS table for Connection_Retry_Count should be same.]

# Heartbeat_Interval is part of I_S and P_S. We will compare the
# two to make sure both match.

include/assert.inc [Value returned by IS and PS table for Heartbeat_Interval should be same.]

# Change configuration parameters and verify that these changes
# are shown correctly by SELECTs from PS table.

Expand Down
17 changes: 17 additions & 0 deletions mysql-test/suite/rpl/r/rpl_perfschema_connect_status.result
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,27 @@ include/assert.inc [On master, the table should return an empty set.]
include/assert.inc [Value returned by SSS and PS table for Source_UUID should be same.]
include/assert.inc [thread_name should should indicate io thread.]
include/assert.inc [SSS shows Slave_IO_Running as "Yes". So, Service_State from this PS table should be "ON".]
include/assert.inc [IS and PS tables should both show that no heartbeats have been received.]
include/assert.inc [IS table should give an empty output and PS table should output 0000-00-00 00:00:00 both indicating no heartbeats have been received]
include/assert.inc [Value returned by SSS and PS table for Received_Transaction_Set should be same.]
include/assert.inc [Value returned by SSS and PS table for Last_Error_Number should be same.]
include/assert.inc [Value returned by SSS and PS table for Last_Error_Message should be same.]
include/assert.inc [Value returned by PS table for Last_Error_Timestamp should be 0000-00-00 00:00:00.]
include/stop_slave.inc

# heartbeat count and last heartbeat timestamp are indeterministic so we
# can not test for their exact values. We will thus check for >0 number
# of heartbeats and last heartbeat timestamp!= zeros.

change master to master_heartbeat_period= 0.5;
set @restore_slave_net_timeout= @@global.slave_net_timeout;
set @@global.slave_net_timeout= 10;
include/start_slave.inc

A heartbeat has been received by the slave

include/assert.inc [last_heartbeat_timestamp should NOT be zero]
set @@global.slave_net_timeout= @restore_slave_net_timeout;

# We now introduce an error in the IO thread and check for the correctness
# of error number, message and timestamp fields.
Expand Down
4 changes: 3 additions & 1 deletion mysql-test/suite/rpl/r/rpl_perfschema_execute_status.result
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ include/assert.inc [On master, the table should return an empty set.]
# Verify that output is same as SSS on a fresh slave.

include/assert.inc [SSS shows Slave_SQL_Running as "Yes". So, Service_State from this PS table should be "ON".]
include/assert.inc [COUNT_TRANSACTION_RETRIES should be 0.]

# Verify that the value of this field is correct after STOP SLAVE.
# Verify that the fields show the correct values after STOP SLAVE.

include/stop_slave.inc
include/assert.inc [SSS shows Slave_SQL_Running as "No". So, Service_State from this PS table should be "OFF".]
include/assert.inc [COUNT_TRANSACTION_RETRIES should be 0.]
include/start_slave.inc
include/rpl_end.inc
13 changes: 13 additions & 0 deletions mysql-test/suite/rpl/t/rpl_perfschema_connect_config.test
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
# WL#3656: PERFORMANCE SCHEMA table for SHOW SLAVE STATUS
# Bug#18174719: P_S.REPLICATION_CONNECTION_CONFIGURATION'S COL
# SSL_CRL_PATH THROWS WARNING 1366
# WL#7817: RPL Monitoring: Move status variables to replication P_S tables
# for multi-source monitoring

source include/master-slave.inc;
source include/have_ssl_communication.inc;
Expand Down Expand Up @@ -148,6 +150,17 @@ let $assert_text= Value returned by SSS and PS table for Connection_Retry_Count
let $assert_cond= "$sss_value" = "$ps_value";
source include/assert.inc;

--echo
--echo # Heartbeat_Interval is part of I_S and P_S. We will compare the
--echo # two to make sure both match.
--echo

let $is_value= query_get_value(select Variable_Value from information_schema.GLOBAL_STATUS where variable_name= 'Slave_heartbeat_period', Variable_Value, 1);
let $ps_value= query_get_value(select Heartbeat_Interval from performance_schema.replication_connection_configuration, Heartbeat_Interval, 1);
let $assert_text= Value returned by IS and PS table for Heartbeat_Interval should be same.;
let $assert_cond= $is_value = $ps_value;
source include/assert.inc;

--echo
--echo # Change configuration parameters and verify that these changes
--echo # are shown correctly by SELECTs from PS table.
Expand Down
80 changes: 80 additions & 0 deletions mysql-test/suite/rpl/t/rpl_perfschema_connect_status.test
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,25 @@ let $assert_text= SSS shows Slave_IO_Running as "Yes". So, Service_State from th
let $assert_cond= "$sss_value" = "Yes" AND "$ps_value"= "ON";
source include/assert.inc;

#
# Heartbeat count and last hearbeat timestamp are not in SSS, but these are in
# IS. So to test count_received_heartbeats and last_heartbeat_timestamp
# we compare values from IS and PS unlike SSS and PS for other fields in this
# test.
#

let $is_value= query_get_value(select Variable_Value from information_schema.global_status where Variable_name = 'slave_received_heartbeats', Variable_Value, 1);
let $ps_value= query_get_value(select count_received_heartbeats from performance_schema.replication_connection_status, count_received_heartbeats, 1);
let $assert_text= IS and PS tables should both show that no heartbeats have been received.;
let $assert_cond= "$is_value" = "$ps_value";
source include/assert.inc;

let $is_value= query_get_value(select Variable_Value from information_schema.global_status where Variable_name = 'slave_last_heartbeat', Variable_Value, 1);
let $ps_value= query_get_value(select last_heartbeat_timestamp from performance_schema.replication_connection_status, last_heartbeat_timestamp, 1);
let $assert_text= IS table should give an empty output and PS table should output 0000-00-00 00:00:00 both indicating no heartbeats have been received;
let $assert_cond= "$is_value" = "" AND "$ps_value"= "0000-00-00 00:00:00";
source include/assert.inc;

let $sss_value= query_get_value(SHOW SLAVE STATUS, Retrieved_Gtid_Set, 1);
let $ps_value= query_get_value(select Received_Transaction_Set from performance_schema.replication_connection_status, Received_Transaction_Set, 1);
let $assert_text= Value returned by SSS and PS table for Received_Transaction_Set should be same.;
Expand All @@ -88,6 +107,67 @@ let $assert_text= Value returned by PS table for Last_Error_Timestamp should be
let $assert_cond= "$ps_value" = "0000-00-00 00:00:00";
source include/assert.inc;

source include/stop_slave.inc;

--echo
--echo # heartbeat count and last heartbeat timestamp are indeterministic so we
--echo # can not test for their exact values. We will thus check for >0 number
--echo # of heartbeats and last heartbeat timestamp!= zeros.
--echo

change master to master_heartbeat_period= 0.5;

set @restore_slave_net_timeout= @@global.slave_net_timeout;
set @@global.slave_net_timeout= 10;

source include/start_slave.inc;

# there is an explicit sleep lasting longer than slave_net_timeout
# to ensure that nothing will come to slave from master for that period.
# That would cause reconnecting and relaylog rotation w/o the fix i.e
# without a heartbeat received.

real_sleep 15;

#
# proof that there has been received at least one heartbeat;
# The exact number of received heartbeat is an indeterministic value
# and therefore it's not recorded into results.
#

let $slave_wait_param_counter= 300;
let $slave_value= query_get_value(select count_received_heartbeats from performance_schema.replication_connection_status, count_received_heartbeats, 1);

# Checking the fact that at least one heartbeat is received
while (!$slave_value)
{
dec $slave_wait_param_counter;
if (!$slave_wait_param_counter)
{
query_vertical show slave status;
select count_received_heartbeats from performance_schema.replication_connection_status;
--die ERROR: failed while waiting for slave to generate a heartbeat.
exit;
}
sleep 0.1;
let $slave_value= query_get_value(select count_received_heartbeats from performance_schema.replication_connection_status, count_received_heartbeats, 1);
}

--echo
--echo A heartbeat has been received by the slave
--echo

#
# check for non-zero value of the Slave_last_heartbeat variable when the slave is enabled
#
let $ps_value= query_get_value(select last_heartbeat_timestamp from performance_schema.replication_connection_status, last_heartbeat_timestamp, 1);
let $assert_text= last_heartbeat_timestamp should NOT be zero;
let $assert_cond= "$ps_value" != "0000-00-00 00:00:00";
source include/assert.inc;

# Reset slave_net_timeout to default after testing heartbeats.
set @@global.slave_net_timeout= @restore_slave_net_timeout;

--echo
--echo # We now introduce an error in the IO thread and check for the correctness
--echo # of error number, message and timestamp fields.
Expand Down
17 changes: 15 additions & 2 deletions mysql-test/suite/rpl/t/rpl_perfschema_execute_status.test
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@
# - Verify that output is same as SSS on a fresh slave.
# - Verify that the value of this field is correct after STOP SLAVE.
# - Remaining delay is not tested.
# - Count_trnsaction is partially tested here making sure it can be queried.
# More testing in extra/rpl_deadlock.test
#
# ==== Related Worklog ====
#
# WL#3656: PERFORMANCE SCHEMA table for SHOW SLAVE STATUS

# WL#7817: RPL Monitoring: Move status variables to replication P_S tables for
# multi-source monitoring

source include/master-slave.inc;
source include/have_binlog_format_mixed.inc;
Expand All @@ -41,8 +44,13 @@ let $assert_text= SSS shows Slave_SQL_Running as "Yes". So, Service_State from t
let $assert_cond= "$sss_value" = "Yes" AND "$ps_value"= "ON";
source include/assert.inc;

let $ps_value= query_get_value(select count_transactions_retries from performance_schema.replication_execute_status, count_transactions_retries, 1);
let $assert_text= COUNT_TRANSACTION_RETRIES should be 0.;
let $assert_cond= "$ps_value"= 0;
source include/assert.inc;

--echo
--echo # Verify that the value of this field is correct after STOP SLAVE.
--echo # Verify that the fields show the correct values after STOP SLAVE.
--echo

source include/stop_slave.inc;
Expand All @@ -53,6 +61,11 @@ let $assert_text= SSS shows Slave_SQL_Running as "No". So, Service_State from th
let $assert_cond= "$sss_value" = "No" AND "$ps_value"= "OFF";
source include/assert.inc;

let $ps_value= query_get_value(select count_transactions_retries from performance_schema.replication_execute_status, count_transactions_retries, 1);
let $assert_text= COUNT_TRANSACTION_RETRIES should be 0.;
let $assert_cond= "$ps_value"= 0;
source include/assert.inc;

source include/start_slave.inc;
source include/rpl_end.inc;

8 changes: 6 additions & 2 deletions scripts/mysql_system_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2144,7 +2144,8 @@ SET @cmd="CREATE TABLE performance_schema.replication_connection_configuration("
"SSL_CRL_FILE VARCHAR(255) not null,"
"SSL_CRL_PATH VARCHAR(255) not null,"
"CONNECTION_RETRY_INTERVAL INTEGER not null,"
"CONNECTION_RETRY_COUNT BIGINT unsigned NOT NULL"
"CONNECTION_RETRY_COUNT BIGINT unsigned not null,"
"HEARTBEAT_INTERVAL DOUBLE(10,3) unsigned not null COMMENT 'Number of seconds after which a heartbeat will be sent .'"
") ENGINE=PERFORMANCE_SCHEMA;";

SET @str = IF(@have_pfs = 1, @cmd, 'SET @dummy = 0');
Expand All @@ -2160,6 +2161,8 @@ SET @cmd="CREATE TABLE performance_schema.replication_connection_status("
"SOURCE_UUID CHAR(36) collate utf8_bin not null,"
"THREAD_ID BIGINT unsigned,"
"SERVICE_STATE ENUM('ON','OFF','CONNECTING') not null,"
"COUNT_RECEIVED_HEARTBEATS bigint unsigned NOT NULL DEFAULT 0,"
"LAST_HEARTBEAT_TIMESTAMP TIMESTAMP(0) not null COMMENT 'Shows when the most recent heartbeat signal was received.',"
"RECEIVED_TRANSACTION_SET TEXT not null,"
"LAST_ERROR_NUMBER INTEGER not null,"
"LAST_ERROR_MESSAGE VARCHAR(1024) not null,"
Expand Down Expand Up @@ -2190,7 +2193,8 @@ DROP PREPARE stmt;

SET @cmd="CREATE TABLE performance_schema.replication_execute_status("
"SERVICE_STATE ENUM('ON','OFF') not null,"
"REMAINING_DELAY INTEGER unsigned"
"REMAINING_DELAY INTEGER unsigned,"
"COUNT_TRANSACTIONS_RETRIES BIGINT unsigned not null"
") ENGINE=PERFORMANCE_SCHEMA;";

SET @str = IF(@have_pfs = 1, @cmd, 'SET @dummy = 0');
Expand Down
7 changes: 7 additions & 0 deletions storage/perfschema/pfs_engine_table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,13 @@ void PFS_engine_table::set_field_timestamp(Field *f, ulonglong value)
f2->store_timestamp(& tm);
}

void PFS_engine_table::set_field_double(Field *f, double value)
{
DBUG_ASSERT(f->real_type() == MYSQL_TYPE_DOUBLE);
Field_double *f2= (Field_double*) f;
f2->store(value);
}

ulonglong PFS_engine_table::get_field_enum(Field *f)
{
DBUG_ASSERT(f->real_type() == MYSQL_TYPE_ENUM);
Expand Down
6 changes: 6 additions & 0 deletions storage/perfschema/pfs_engine_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@ class PFS_engine_table
@param value the value to assign
*/
static void set_field_timestamp(Field *f, ulonglong value);
/**
Helper, assign a value to a double field.
@param f the field to set
@param value the value to assign
*/
static void set_field_double(Field *f, double value);
/**
Helper, read a value from an enum field.
@param f the field to read
Expand Down
14 changes: 12 additions & 2 deletions storage/perfschema/table_replication_connection_configuration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,17 @@ static const TABLE_FIELD_TYPE field_types[]=
{C_STRING_WITH_LEN("CONNECTION_RETRY_COUNT")},
{C_STRING_WITH_LEN("bigint")},
{NULL, 0}
}
},
{
{C_STRING_WITH_LEN("HEARTBEAT_INTERVAL")},
{C_STRING_WITH_LEN("double(10,3)")},
{NULL, 0}
}
};

TABLE_FIELD_DEF
table_replication_connection_configuration::m_field_def=
{ 16, field_types };
{ 17, field_types };

PFS_engine_table_share
table_replication_connection_configuration::m_share=
Expand Down Expand Up @@ -279,6 +284,8 @@ void table_replication_connection_configuration::make_row()

m_row.connection_retry_count= (ulong) active_mi->retry_count;

m_row.heartbeat_interval= (double)active_mi->heartbeat_period;

mysql_mutex_unlock(&active_mi->rli->data_lock);
mysql_mutex_unlock(&active_mi->data_lock);
mysql_mutex_unlock(&LOCK_active_mi);
Expand Down Expand Up @@ -358,6 +365,9 @@ int table_replication_connection_configuration::read_row_values(TABLE *table,
case 15: /** connect_retry_count */
set_field_ulonglong(f, m_row.connection_retry_count);
break;
case 16:/** number of seconds after which heartbeat will be sent */
set_field_double(f, m_row.heartbeat_interval);
break;
default:
DBUG_ASSERT(false);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2013, 2014 Oracle and/or its affiliates. All rights reserved.

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
Expand Down Expand Up @@ -79,6 +79,7 @@ struct st_row_connect_config {
uint ssl_crl_path_length;
uint connection_retry_interval;
ulong connection_retry_count;
double heartbeat_interval;
};

/** Table PERFORMANCE_SCHEMA.TABLE_REPLICATION_CONNECTION_CONFIGURATION. */
Expand Down
Loading