Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
602 commits
Select commit Hold shift + click to select a range
bf51f2b
[bugfix]#1124 There may be several more error results in the left joi…
Jul 19, 2022
186388a
[bugfix]#1166 General optimization context with Opt_ctx_client (postf…
Jul 22, 2022
461094f
[bugfix]#1166 General optimization context with Opt_ctx_client (refac…
Jul 22, 2022
30a1d3f
[bugfix]#1149 code refactoring - extract explain and executor functions
Jul 15, 2022
c8cee98
[bugfix]#1139 parallel partition exception test enhance
Jul 22, 2022
36327bf
[bugfix]#1147 The reverse order of the group and sort columns is not …
Jul 25, 2022
29b544c
[bugfix] #882 postfix of finalize parallel execution system variables
Jul 26, 2022
749b579
[bugfix]#1137 Failure to empty copy_fields may result in invalid Read
Jul 21, 2022
93f7ad7
[bugfix]#1158 enhance exception test for PX_sender
Jul 26, 2022
6be3f9b
[bugfix]#886 px merge sort postfix
Jul 20, 2022
28fc36c
[bugfix]#946 Fix failure return for agg split
Jul 13, 2022
de9d777
[bugfix]#1138 Refactor for creating tmp_table and allocation for sum_…
Jul 21, 2022
0098e7c
[bugfix]#1154 enhance exception test for parallel receiver
Jul 25, 2022
19349b5
[bugfix]#1144 Merge sort may get wrong ref_slice in query with ROLLUP
Jul 26, 2022
f258253
[feature]#1126 Allow the cloud provider to forcibly disable parallel …
Jul 26, 2022
636c31d
[feature]#993 Support agg split under materialize
Jun 29, 2022
bde38ab
[bugfix]#1152 px exchange resource release postfix
Jul 26, 2022
82ef467
[bugfix] #1168 One more thread than necessary for parallel execution
Jul 27, 2022
d2dd35f
[bugfix]#1173 exchange operator detach postfix2
Jul 27, 2022
f597cef
[bugfix]#1171 The results of the querys with the Match function will …
Jul 27, 2022
863068b
[bugfix] #882 postfix of finalize parallel execution system variables…
Jul 27, 2022
c06ab1b
[bugfix] #1167 Worker thread destructs cause PX_proc destructs early.
Jul 27, 2022
a4cbb59
[bugfix]#993 Postfix of agg splitting under materialize
Jul 28, 2022
979f013
[bugfix] #1178 valgrind error 1, uninitialized m_optimizing
Jul 28, 2022
0cdcdeb
[bugfix] #1189 Double free PX_executor when error in px_execute_init
Jul 29, 2022
436fa14
[feature] #1046 SHOW PARALLEL PROCESSLIST
Jul 29, 2022
d6af36e
[bugfix]#1190 Subverted prepared statement detection state
Jul 29, 2022
45a9d35
[bugfix]#1182 exchange sender operator postfix
Jul 31, 2022
a4fa863
[bugfix] #1192 optimize the equality check of accesspath and item
Jul 29, 2022
17f6c36
[feature]#1098 Add txsql_pread_count_enabled to allow bypassing pread…
Aug 1, 2022
191bfdd
[bugfix]#1140 Error in px_execute_init function not being handled by …
Aug 1, 2022
c7b1dc2
[bugfix] #1070 copy entry type (Item_result) of user_vars
Aug 1, 2022
0bbd83b
[bugfix]#1197 Use parallel cost threshold as a prerequiste to avoid f…
Aug 1, 2022
aa2aade
[bugfix]#1127 Compile error in release version
Aug 1, 2022
a383fc9
[feature]#1069 support blob/text/json field in parallel query
Jul 6, 2022
ae22116
[bugfix] #1070 postfix of copy entry type (Item_result) of user_vars
Aug 1, 2022
1875d27
[bugfix]#1204 The iterator above union may be lost after parallel opt…
Aug 2, 2022
57c456a
[bugfix] #1201 set error msg if worker error when fallback
Aug 2, 2022
8981d7e
[bugfix]#1200 Do not reset tx_isolation on parallel fallback
Aug 1, 2022
110ce28
[bugfix]#1207 user var comparability check postfix
Aug 2, 2022
4f4cb1d
[bugfix]#1213 Move parallel execution code out of access_path.cc
Aug 2, 2022
9a4ff21
[bugfix] #1070 postfix of copy entry type of user_vars (null value)
Aug 2, 2022
cc2f85a
[bugfix] #1199 Conditional compilation of parallel execution (WITH_PX)
Aug 1, 2022
b9bc890
[bugfix] #1199 Conditional compilation of parallel execution (postfix)
Aug 3, 2022
3cd836b
[bugfix] #1218 add mtr result files for parallel execution
Aug 3, 2022
9098b48
[bugfix] #1205 valgrind error in framework.
Aug 2, 2022
16515ed
[bugfix]#1221 Fix unstable tests exchange_inject and parallel_compati…
Aug 3, 2022
212b289
[bugfix] #1218 update unstable testcase
Aug 3, 2022
ecb4eeb
[bugfix]#1220 Parallel unsafe function in temp_table_param might not …
Aug 3, 2022
f847384
[bugfix] #1225 Reserve error ranges for parallel execution
Aug 3, 2022
d044fa1
[bugfix]#1233 Skip discarded tablespace test in ncdb
Aug 5, 2022
9d743c1
[bugfix]#1204 The limit iterator above union may be lost after parall…
Aug 5, 2022
0ea999a
[bugfix] #1218 update unstable testcase (3/3)
Aug 4, 2022
5e47cc6
[bugfix] #1243 Copying user vars of decimal type got null value
Aug 9, 2022
6bbf158
[bugfix] #1280 postfix of accesspath equivalence comparison
Aug 9, 2022
659a6fb
[bugfix] #1236 Use same error code as non-parallel execution
Aug 5, 2022
b08127f
[bugfix]#908 Stick to private Security_context in parallel execution
Aug 9, 2022
fdaa61d
[bugfix] #1281 Support equality test of MATERIALIZE_INFORMATION_SCHEM…
Aug 10, 2022
948352a
[bugfix]#1287 Set executed state for parallel execution
Aug 10, 2022
704262c
[bugfix]#1289 Some columns are always zero in the result of a nested …
Aug 10, 2022
a7c6bc5
[bugfix] #1296 Support EXPLAIN fallback
Aug 11, 2022
570cde9
[bugfix] #1294 record result file after updating error code of ER_PX_…
Aug 10, 2022
a250689
[bugfix] #1293 Wrong reformatting of worker error messages
Aug 11, 2022
637e212
[bugfix]#1300 Undetected parallel-unsafe subplan under LIMIT_OFFSET a…
Aug 12, 2022
280b966
[bugfix]#1283 Remove dead code for parallel execution
Aug 11, 2022
0d65008
[bugfix] #1236 Use same error code as non-parallel execution (postfix)
Aug 12, 2022
2b72fc1
[bugfix] #1309 Add --disable_ps_protocol to parallel tests
Aug 12, 2022
a93722f
[bugfix]#1239 Aggregation splitting cause dependent subquery mismatch
Aug 12, 2022
765d9cb
[bugfix] #1314 unequal plan caused by system tables
Aug 16, 2022
a84b770
[bugfix] #1310 explain behavior is consistent with actual execution
Aug 14, 2022
12fec3d
[bugfix]#1323 mtr cases postfix when turn pq off
Aug 17, 2022
98ddebd
[bugfix] #1334 fix COMMAND field in SHOW PROCESSLIST
Aug 18, 2022
8671356
[bugfix]#1323 px cases postfix2 turn pq off
Aug 18, 2022
6bb4ccd
[bugfix]#1332 Soft memory leak with range tuple
Aug 18, 2022
d0e2f03
[bugfix]#1329 Derived table materialized before execution break the d…
Aug 22, 2022
9913edf
[bugfix] #1325 Consistent view of global vars during query execution
Aug 19, 2022
d8376ae
[bugfix] #1350 shutdown hang when executing parallel queries
Aug 23, 2022
de7f0fd
[bugfix]#1357 Temporarily disable Item_subselects pushdown to paralle…
Aug 23, 2022
46d0a1c
[bugfix] #1344 valgrind error of uninitialised value in printing key …
Aug 22, 2022
33c3577
[bugfix]#1360 should skip innodb concurrency check in parallel query
Aug 24, 2022
a5bdf81
[bugfix]#1361 Coordinator may accumulate Rows_examined value before W…
Aug 24, 2022
88d5737
[bugfix] #1377 consistent view of global vars during query execution
Aug 29, 2022
0503a6c
[bugfix] #1376 fix plugin var cleanup core
Aug 29, 2022
fc618a6
[bugfix] #1379 Should not kill parallel workers
Aug 29, 2022
fcce749
[bugfix] #1381 pthread_create() crash with parallel workers
Aug 30, 2022
ec46fd3
[bugfix]#1180 temporarily prohibit backquery from using parallel query
Aug 30, 2022
e19e3a8
[bugfix] #1377 postfix of consistent view of global vars during query…
Sep 1, 2022
e4c3aab
[bugfix]#1393 mtr case postfix in cdb_pq_730
Sep 1, 2022
f8e737d
[bugfix]#1417 parallel rowid sort postfix
Sep 8, 2022
671801f
[bugfix] #1423 adjust px_optimize to return suitable value
Sep 8, 2022
ce82d6d
[perf] #1406 Reuse memory for sysbench performance
Sep 5, 2022
de05286
[bugfix]#1453 Opt_ctx used without initialized
Sep 16, 2022
0f0ad62
[bugfix] #1442 killing workers should be added when SHUTDOWN
Sep 13, 2022
c2869c2
[bugfix] #1439 keep the explain consistent with the actual execution …
Sep 9, 2022
06d3f31
[feature]#1530 Parallel query rebase for 8.0.30
Oct 12, 2022
69b29bc
[feature]#1530 Parallel query reabse postfix
Nov 14, 2022
03cd264
[bugfix]#1665 pq 8030 mtr postfix
Nov 18, 2022
e334b07
issue#243 support_mysqlbinlog_to_decrypt_binlog (merge request !258)
Nov 18, 2022
772119a
[bugfix] fix_mtr_1118 (merge request !261)
Nov 18, 2022
f858df4
[feature] issue#249 mysqlbinlog support sts setting http (merge reque…
Nov 21, 2022
7efe774
feature_copy_free_snapshot_issue225 (merge request !262)
Nov 21, 2022
f86bf83
[bugfix] follow up issue#29 disable returning for view which referenc…
Nov 21, 2022
132c477
[bugfix] #250 unfrozen processlist meet uninitialized `parallel` of LEX
Nov 22, 2022
8f4d740
[feature] Issue #245 writeset will can cause 30% performance degradation
Nov 22, 2022
6b76f84
[bugfix] follow up issue#173 using INPLACE/COPY as default algorithm …
Nov 23, 2022
2a671f0
[bugfix] followup issue#55 optimize gtid lock conflict when binlog_or…
Nov 23, 2022
cb21960
[bugfix] issue#251 Code adaption cdb_more_gtid_feature_support and gt…
Nov 24, 2022
4723a9f
[feature] issue#238 port TDSQL strong consistency (merge request !237)
northhurricane Nov 25, 2022
889fabe
[bugfix] fix tdsql mtr testcases referring to lock, transaction and s…
Nov 24, 2022
e2ae579
[bugfix] issue#256 when fast_clone_oldest_view is ON, we may get an i…
Aug 18, 2022
e4abea2
fix dcn_switch
Nov 22, 2022
3115330
[bugfix] *.tdsql instead of *.result
Nov 25, 2022
636f9ec
[bugfix] fix and add testcase
justfortaste Nov 28, 2022
567b03e
[bugfix] fix test case
Nov 29, 2022
fca7753
[bugfix] followup issue#11 Kill idle transaction
Nov 29, 2022
472b172
[feature]issue#230 column compression (merge request !279)
Nov 2, 2022
3b1a23c
[feature]followup issue#43 Limit operations on public cloud (merge re…
Dec 5, 2022
9a26920
[bugfix] fix memory leak
Dec 6, 2022
6ac3693
[bugfix] fix_mtr_1205 (merge request !282)
justfortaste Dec 7, 2022
b7393e5
[bugfix]followup issue#127 Auto stats may deadlock when ddl.
Dec 8, 2022
b308346
[Feature] #259 Implement statement_outline as a native package.
Dec 8, 2022
37b51aa
[feature] statement outline supports TDSQL 2.0 subpartition tables.
Dec 9, 2022
d6f2a2f
issue#260 compile mysqlbinlog_keyring after generating mysqld_error.…
Dec 12, 2022
25bad02
[featurn] issue#242 Estimates the number of records for PK/UK without…
Nov 8, 2022
0fe8a12
[bugfix] fix up for #259 outline. (merge request !290)
Dec 13, 2022
42b123a
[bugfix] issue#264 ibddump will crash in create sql mode when mysqld…
Dec 14, 2022
e54feb8
[bugifx] issue#266 wrong end_relay_pos of aggregated event during mts…
Dec 14, 2022
4317ae7
[bugfix] issue#268 strong consistence on xa commit and one phase (mer…
northhurricane Dec 16, 2022
db1d9a8
[perf] issue#269 optimize m_atomic_commit_trxs in commit stage. (merg…
Dec 16, 2022
88e2361
[bugfix] issue#238 strong consistence feature conflict with thread po…
northhurricane Dec 16, 2022
9d9ece8
[bugfix] issue#252 Fix memory leak
Nov 25, 2022
24f10f1
fix memory leak of instant_modify_row_size partition_mgm_lc1_innodb m…
Nov 29, 2022
c809223
fix failed core dumps introduced by writeset optimization
Nov 29, 2022
7e20db0
[bugfix] Follow up issue#198 Parallel Copy DDL.
Nov 30, 2022
9343461
fixup memory leak of tdsql strong consistency
northhurricane Dec 5, 2022
ad6b29e
[bugfix] fix memory leak of Cdb_global_prepared_statement_map.
Dec 6, 2022
8a24fa8
Fix conditional jump or move depends on uninitialised value(s)
Dec 7, 2022
7ee2a6c
Bug#34418412: regression in 8.0.29: crash in copy_field_info
Aug 17, 2022
35b866f
Bug#33715694 - multiple crashes when innodb_buffer_pool_size is too s…
Jun 7, 2022
ddad6bf
Bug#34267618: Server Crashes when ALTER table executed parallel to in…
Jun 22, 2022
ebe4129
BUG#34274914 Failure to parse RSA private key (file exists): ... no …
Aug 23, 2022
ad7ecb9
Bug#34467592 [InnoDB] Assertion failure: dict0dd.cc:2014:validate_col…
mayprasa Aug 26, 2022
556cc6b
Bug#34463089 [InnoDB] Assertion failure:
mayprasa Aug 26, 2022
f3e87b2
Bug #34327575 lob::purge Conditional jump or move depends on uninitia…
gurusami Jun 28, 2022
c32c035
Bug #34293555: Assertion failure: dict0dict.cc:1888:table->get_ref_co…
Jun 27, 2022
7b87396
Bug #34156050 MySQL initialize throws InnoDB memory leaks with ASAN …
Aug 16, 2022
1e796f5
Bug #34148143 Assertion failure: buf0dblwr.cc:3097:ib::fatal triggere…
gurusami Jun 3, 2022
402b6ca
Bug #34052884 Assertion failure: log0consumer.cc:49:log_is_data_lsn(…
Apr 27, 2022
f79ce67
Bug #34051207: it is better to clear upd_t in trx_undo_prev_version_b…
May 31, 2022
2f9b810
Bug #32819101 ASSERTION FAILURE: FIL0FIL.CC:12089:FIL_SYSTEM->SHARD_…
Aug 3, 2022
6d5631d
BUG#34214416: possible double-free in sql/rpl_info_handler.cc:50
jujose-1 Jun 21, 2022
4869513
BUG#33885484: Performance Schema shows wrong FILTER_RULE values
Jun 26, 2022
95a8a94
BUG#33818238: Signal 11 occured while ran an insert statement.
nacarvalho Jul 29, 2022
fb107fa
BUG#33784022: Missing sid initialization on invalid Gtid_log_event
nacarvalho Jul 4, 2022
1f21c86
WL#15032: Validate row format and check privileges after applying
Jul 6, 2022
04533cb
Bug#33764808: Filters should not be applied to XA statements
Jul 13, 2022
a46c241
Bug#34114296: Update_rows apply failure if event updates same row twi…
pedrolgomes Jun 6, 2022
2d63792
Bug#33713071: Incorrect computation of MAX_SIZE_LOG_EVENT_STATUS
Jul 5, 2022
cab290f
Bug#33713071: Incorrect computation of MAX_SIZE_LOG_EVENT_STATUS
Aug 2, 2022
5dd59ce
Bug#33713071: Incorrect computation of MAX_SIZE_LOG_EVENT_STATUS
Aug 2, 2022
6caa967
[bugfix] issue#270 fix redo_size is always 0 in detail processlist (m…
Dec 20, 2022
0a12376
[bugfix] follow up issue#97 fix bug of dummy index cache (merge reque…
Dec 17, 2022
f4851d7
[bugfix] #121 Prevent badly stale Key::rec_per_key for query optimiza…
Dec 21, 2022
4bcd3fb
[bugfix] #117 Analyze table leads empty statistics during online …
Oct 25, 2022
7a52b67
[bugfix] #119 dict_stats_analyze_index() may always discard optimal i…
Oct 26, 2022
7ef9837
[bugfix] fix tdsql mtr test case with adding .tdsql result
Dec 16, 2022
2b281cf
[bugfix] Fix mtr
justfortaste Dec 19, 2022
22d750d
[bugfix] Add alias for some variables
Dec 21, 2022
91e01a3
[bugfix] Fix warnings found by valgrind
Dec 21, 2022
d98db47
[bugfix] fix compile errors in tdsql release mode. (merge request !308)
Dec 22, 2022
70c229e
[feature]issue#277 Add status to monitor async drop big table
Jan 9, 2023
f1991ad
[feature]#279 Add innodb_async_table_size for tmp table
Jan 11, 2023
39df282
[feature] support clang 12
Jan 12, 2023
6503bd5
fix crash of sqlasyn when master has no slave
Jan 9, 2023
34043eb
Statement outine assign initial values for global variables explicitly.
Jan 10, 2023
8314be2
[bugfix] issue#274 Parallel Copy DDL supoorts auto-inc table
Jan 6, 2023
d854070
[bugfix] issue#275 TDSQL mysqlbinlog & sqlasync patches
Jan 9, 2023
641d1fa
reset the xa_gts when xa rollbak
Jan 12, 2023
b7aa198
[feature] issue#272 support configure slave groups of strong sync
northhurricane Jan 6, 2023
b6749ca
[feature] issue#273 enable other named channel return ack
northhurricane Jan 9, 2023
334af02
[bugfix] issue#278 0 hosts of sqlasync_wait_slave_hosts crash the server
northhurricane Jan 9, 2023
ca7fc50
[bugfix]#292 Fix core when order is pushed down on table (parallel ex…
Nov 7, 2022
cbedfae
[bugfix]followup issue#127 Check mdl ticket after try_acquire_lock.
Jan 17, 2023
7837a03
[bugfix] issue#281 gtid_lock_optimize_may_cause_gtid_discontinuous
Jan 29, 2023
957b9bc
add tdsql_withgts to select
Jan 17, 2023
1c94900
[bugfix]issue#297 truncate_table_sql_type_error_in_recycle_bin
Jan 13, 2023
c5f5901
[bugfix]issue#297 truncate_table_sql_type_error_in_recycle_bin
Feb 1, 2023
2236ec6
[bugfix] issue#300 bugfix fts opt thread release cache lock before ft…
Feb 2, 2023
eab994d
add jemalloc lib with profiling
Jan 16, 2023
0c80651
[bugfix]#298 Deadlock on dropping or renaming column_statistics_history
Jan 11, 2023
84e2078
[buffix] issue#240 ARM platform compile fixup
northhurricane Nov 10, 2022
e95b1a3
[bugfix] issue#296 check_index read a free page but not in POSSIBLY_F…
Jan 31, 2023
951a493
[bugfix] issue#299 In recycle_bin mode drop table with triggers fail
Feb 1, 2023
04b3b18
[bugfix] issue#302 Don't recyle table during upgrade process
Feb 6, 2023
167a8e8
update version 20221215
Dec 15, 2022
1e0e485
[bugfix] issue#304 grant tencentroot for sequence worker thread
Feb 7, 2023
6956bbd
[bugfix] issue#306 add alias for some variables
Feb 9, 2023
d3d1a96
[bugfix] follow up issue#196 wrong path of TLogFile
Feb 9, 2023
2b57098
[bugfix] issue#310 Don't modify recycle_bin_info during drop if exist…
Feb 13, 2023
9a994a5
[bugfix] issue#302 Don't recyle table during upgrade process
Feb 10, 2023
4a0b42d
[feature] issue#311 support modify sql_safe_updates and sql_auto_is_null
Feb 14, 2023
eb0a973
[bugfix] issue#313 fix performance degradation of Parallel DDL
Feb 19, 2023
ca28a69
[feature] issue#351 Code organization during the open source process
Mar 24, 2025
d9815a3
[feature] issue#354 Code organization during the open source process
May 16, 2025
683f64b
[bugfix] issue#355 Fix testcases
Jun 3, 2025
824223e
Update TXSQL_LICENSE
willhan123 Jul 22, 2025
cac9640
update lz4 from 1.9.3 to 1.10.0
Aug 1, 2025
b4fb4ec
update zlib from 1.2.12 to 1.3.1
Aug 1, 2025
0069798
remove redundant curl
Aug 4, 2025
6742c4f
update zstd from 1.5.0 to 1.5.5
Aug 5, 2025
5aa4ba4
update icu from 69-1 to 73-1
Aug 5, 2025
ff08977
update icu.cmake
Aug 5, 2025
88647ce
Bug#35072295 Create an INTERFACE library for bundled/system fido2
Feb 9, 2023
93d4161
Bug#35433370 Remove unused directory extra/libcbor/doc, causing githu…
Jun 2, 2023
5a31438
Bug#35685515: Upgrade libfido2 to v1.13.0
harinvadodaria Aug 8, 2023
48df89c
Bug#35685515: Upgrade libfido2 to v1.13.0
harinvadodaria Aug 9, 2023
9b2772f
Bug#35685515: Upgrade libfido2 to v1.13.0
harinvadodaria Aug 9, 2023
bfb260a
Bug#35685515: Upgrade libfido2 to v1.13.0
harinvadodaria Sep 1, 2023
3b7ff46
Bug#35685515: Upgrade libfido2 to v1.13.0
harinvadodaria Sep 7, 2023
eae61b1
Bug#35685515: Upgrade libfido2 to v1.13.0
harinvadodaria Sep 7, 2023
d37b4f2
Bug#35685515: Upgrade libfido2 to v1.13.0
Apr 16, 2024
574df9c
Bug#36752604 Upgrade libfido2 to v1.15.0 [add sources]
Jun 20, 2024
5450d64
Bug#36752604 Upgrade libfido2 to v1.15.0 [patches]
Jun 20, 2024
9431a9d
Bug#36752604 Upgrade libfido2 to v1.15.0 [patches]
Jul 30, 2024
04cfa08
Bug#36752604 Upgrade libfido2 to v1.15.0 [patches]
Jul 30, 2024
ad78827
Bug#36752604 Upgrade libfido2 to v1.15.0 [remove old]
Jul 30, 2024
2af9ce2
Bug#36752604 Upgrade libfido2 to v1.15.0 [patches]
Aug 6, 2024
6a95cac
Bug#36752604 Upgrade libfido2 to v1.15.0 [disable LTO]
Aug 16, 2024
ae482a3
Bug #34570345 Update fastcov.cmake to the latest fastcov.py
Sep 6, 2022
b189e8d
Update README
Aug 6, 2025
cbf3341
Update README
Aug 6, 2025
ac5b144
upgrade openssl from 1.1.1k to 3.4.1
Aug 12, 2025
106276e
[bugfix] issue#610: Parallel DDL create primary key get wrong row count
Aug 15, 2025
764f801
[perf] issue#417 cacheline paddiong On KUNPENG and remove Unstable tx…
Aug 26, 2025
b3ca2f2
begin process gbp
TiNnNnnn Sep 1, 2025
ace43d0
[bugfix] follow up issue#315 fix memory leak
Sep 26, 2025
47d719a
[perf] issue#373 LOCK_done mutex contention perf.
Sep 26, 2025
c15fd45
[bugfix] follow up issue#252 mismatched free in repl_speed_monitor.cc
Apr 18, 2023
8f8ee26
Bug #33349994 Group by const with rollup crashes when execute prepare…
Oct 6, 2022
b08212a
Merge remote-tracking branch 'origin/8.0.30' into gbp
TiNnNnnn Oct 4, 2025
2e319c1
add in_preds_to_subquery
TiNnNnnn Oct 4, 2025
b9473c7
fix derived_table not optimized after convert to outer query block
TiNnNnnn Oct 5, 2025
72d39d3
Update TXSQL_LICENSE
gh-Devin Nov 14, 2025
4682b7b
support SM3 HASH in user authentication
beifangxiuwhx Dec 14, 2025
c9120a2
support disable DDL operation
PoundUnion Dec 12, 2025
48f4fcf
support monitor sensitive operation
PoundUnion Dec 12, 2025
d17c928
support client loadbalance
Dec 22, 2025
6b983e2
Support gb18030 2022 (#34)
arg123654789 Dec 29, 2025
ffd7988
Bug#36765223: performance deterioration caused by incorrect cpu usage…
Sep 26, 2024
641d47c
Merge branch 'OpenTenBase:8.0.30' into gbp
TiNnNnnn Feb 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
12 changes: 6 additions & 6 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: true
#DerivePointerAlignment: true
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Regroup
#IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<ext/.*\.h>'
Priority: 2
Expand Down Expand Up @@ -145,7 +145,7 @@ PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
#PointerAlignment: Left
RawStringFormats:
- Language: Cpp
Delimiters:
Expand Down Expand Up @@ -196,7 +196,7 @@ SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
Standard: Auto
#Standard: Auto
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
Expand All @@ -209,8 +209,8 @@ UseTab: Never
DerivePointerAlignment: false
PointerAlignment: Right

# MySQL source code is allowed to use C++11 (and C++14) features.
Standard: Cpp11
# MySQL source code is allowed to use the latest c++ features.
Standard: Latest

# MySQL includes frequently are not order-independent (e.g. my_config.h needs
# to go on top). This is unfortunate, but not something we can change easily,
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ profile-data
perf.data
perf.fdata
build_compile_optimize.sh
var-ps_row
47 changes: 45 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ ENDIF()
# CMake 3.5 is needed for TARGET_SOURCES(... $<TARGET_OBJECTS:${LIB}_objlib>)
CMAKE_MINIMUM_REQUIRED(VERSION 3.5.1)

# To avoid error in bolt compilation.
IF(OPT_BOLT)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-reorder-blocks-and-partition")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-reorder-blocks-and-partition")
ENDIF()

# Will set GIT_EXECUTABLE and GIT_FOUND
FIND_PACKAGE(Git)

Expand All @@ -125,6 +131,27 @@ IF(DEFINED CMAKE_BUILD_TYPE)
SET(HAVE_CMAKE_BUILD_TYPE TRUE)
ENDIF()


IF(DEFINED GIT_COMMIT)
ADD_DEFINITIONS("-DSHOW_GIT_COMMIT=\"${GIT_COMMIT}\"")
ENDIF()

IF(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64" AND AARCH_VER EQUAL 7)
ADD_DEFINITIONS("-DAARCH64_V7")
ENDIF()

#Special compiler optimization for Kunpeng920 processor
if(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
execute_process(COMMAND lscpu OUTPUT_VARIABLE CPU_INFO)
#if(CPU_INFO MATCHES "TaiShan 200|Kunpeng920|Kunpeng 920")
message("Current processor is Kunpeng 920. Compile optimization is enabled")
# Added compilation optimization options for KUNPENG cpu
ADD_DEFINITIONS("-DARCH_KUNPENG")
STRING_APPEND(CMAKE_CXX_FLAGS " -march=armv8-a+lse+crc -mtune=tsv110 -fno-reorder-blocks-and-partition ")
set(WITH_LTO ON)
#endif()
endif()

OPTION(WITH_DEBUG "Use dbug/safemutex" OFF)
OPTION(CHECK_ERRMSG_FORMAT "Check printf format for English error messages" OFF)

Expand Down Expand Up @@ -1085,6 +1112,17 @@ MACRO(MY_SANITIZER_CHECK SAN_OPT ADD_OPTIMIZATION RESULT)
ENDIF()
ENDMACRO()

OPTION(WITH_PPOLL "Enable ppoll" OFF)
if(WITH_PPOLL)
SET(HAVE_PPOLL 1)
endif()

OPTION(WITH_PX "Enable parallel execution" ON)
IF(WITH_PX)
SET(HAVE_PX 1)
SET(HAVE_OPT_CTX 1)
ENDIF()

OPTION(WITH_ASAN "Enable address sanitizer" OFF)
IF(WITH_ASAN)
IF(WIN32_CLANG)
Expand Down Expand Up @@ -1603,6 +1641,10 @@ ADD_DEFINITIONS(-D__STDC_FORMAT_MACROS) # Enable C99 printf format macros
ADD_DEFINITIONS(-D_USE_MATH_DEFINES) # Get access to M_PI, M_E, etc. in math.h
ADD_DEFINITIONS(-DLZ4_DISABLE_DEPRECATE_WARNINGS) # C++14 deprecation warnings in LZ4.

IF(GCC_VERSION VERSION_GREATER_EQUAL 7.3)
ADD_DEFINITIONS(-Wno-format-truncation)
ENDIF()

OPTION(ENABLE_EXPERIMENT_SYSVARS "Expose ussually hidden system variables to allow experiments" OFF)
IF(ENABLE_EXPERIMENT_SYSVARS)
ADD_DEFINITIONS(-DENABLE_EXPERIMENT_SYSVARS)
Expand Down Expand Up @@ -1798,6 +1840,7 @@ IF(WITH_CUSTOM_LIBRARIES)
ENDFOREACH()
ENDIF()


# Add system/custom openssl.
MYSQL_CHECK_SSL()
MYSQL_CHECK_SSL_DLLS()
Expand Down Expand Up @@ -2081,8 +2124,8 @@ IF(WITH_PROTOBUF STREQUAL "bundled" OR WITH_FIDO STREQUAL "bundled")
# Silence warning about CMP0075
CMAKE_PUSH_CHECK_STATE()
SET(CMAKE_REQUIRED_LIBRARIES)
ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${CBOR_BUNDLE_SRC_PATH})
ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${FIDO_BUNDLE_SRC_PATH})
ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/extra/libcbor)
ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/extra/libfido2)
CMAKE_POP_CHECK_STATE()
ENDIF()
ENDIF()
Expand Down
36 changes: 22 additions & 14 deletions README
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
Copyright (c) 2000, 2022, Oracle and/or its affiliates.
Tencent Cloud's customized enterprise-grade MySQL branch
Based on MySQL 8.0.30, this deeply optimized, high-performance, highly secure, and low-cost enterprise-grade database solution integrates...

This is a release of MySQL, an SQL database server.
## Core Features:
1. High-Performance Engine
- Transaction Lock Optimization: Optimizes transaction commit performance bottlenecks
- Master-Slave BP Synchronization: Failure recovery is 10x faster, with a 500GB buffer pool initialized in just 2 seconds

License information can be found in the LICENSE file.
2. Smooth Operation
- Online Column Modification: ALTER TABLE completes in milliseconds, eliminating data copying (supports type conversions such as INT to BIGINT)
- Asynchronous Large Table Delete: Smoothly reclaims disk space and eliminates I/O spikes
- Parallel DDL: Parallelizes the entire index creation process, linearly improving efficiency

In test packages where this file is renamed README-test, the license
file is renamed LICENSE-test.
3. Enterprise-Level Features
- Transparent Column Encryption: Encrypted storage of sensitive columns ensures data security
- Undo Flashback Query: Quickly recover accidentally deleted data and ensure business continuity
- Transparent Column Compression: Compression of large fields reduces storage costs

This distribution may include materials developed by third parties.
For license and attribution notices for these materials,
please refer to the LICENSE file.
## Applicable Scenarios
1. Financial Applications: Transparent encryption + strong synchronization meets compliance requirements
2. High-Concurrency E-Commerce: Hotspot update queuing mechanism supports flash sales
3. Game scenario: Frequent table structure changes, compression saves costs

For further information on MySQL or additional documentation, visit
http://dev.mysql.com/doc/
## Compile script
sh build.sh ## Relies on gcc 10.x or later

For additional downloads and the source of MySQL, visit
http://dev.mysql.com/downloads/

MySQL is brought to you by the MySQL team at Oracle.
## License
TXSQL-MySQL is licensed under the GNU General Public License, version 2 except for the third-party components listed below.
Loading