Skip to content
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

Mysql 8.0.14 version support Table map Event optional metaData , Sync Column #446

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
82087ab
feat: optional meta data
sean-k1 Aug 11, 2023
4cca2b1
feat: optional meta data implement
sean-k1 Aug 14, 2023
33b7458
feat: numeric_count , count parsing add
sean-k1 Aug 14, 2023
aa39b69
refactor : python code lint
sean-k1 Aug 14, 2023
32abf97
Fix optional meta data over-read
dongwook-chan Aug 14, 2023
7a6e38a
feat: fix bug signedness order
sean-k1 Aug 15, 2023
bf05806
refactor : name changed
sean-k1 Aug 15, 2023
1c5f8e4
feat: fix bug if column length > =8
sean-k1 Aug 15, 2023
cc47798
feat : dump log add
sean-k1 Aug 15, 2023
1677a0b
refactor : read tlv format
sean-k1 Aug 15, 2023
3f68928
feat: add _read_primary_keys_with_prefix & updates
mjs1995 Aug 17, 2023
f44c82c
refactor: field_type -> MetadataFieldType
mjs1995 Aug 17, 2023
a36c949
refactor: fix to store optional_metadata as a variable
mikaniz Aug 19, 2023
79fa897
Test: Add test_set_str_value, test_enum_str_value
starcat37 Aug 19, 2023
819550a
fix: fix dump location of optional_metadata
mikaniz Aug 19, 2023
183f926
Test: Add primary keys simple, prefix
mjs1995 Aug 19, 2023
6a6eee8
Test: Add signedness
heehehe Aug 19, 2023
bb498dd
fix: fix enum_and_set_default_column_charset_list from dict to list
mikaniz Aug 19, 2023
986b42a
Test: add percona:8.0.14 for optional metadata
heehehe Aug 19, 2023
fb8b6ee
fix: percona version change to 8.0
heehehe Aug 19, 2023
4b91f46
test: add isMySQL80AndMore in optional metadata test
heehehe Aug 19, 2023
ab6d4eb
test: add isMySQL8014AndMore
heehehe Aug 19, 2023
fb4a29d
fix: fix binlog_row_metadata setting location
mikaniz Aug 19, 2023
206c4ee
test: add column_charset
mikaniz Aug 19, 2023
4a46f8b
Test: add default_charset
heehehe Aug 19, 2023
bf723f9
test: add mysql8 for optional metadata
mjs1995 Aug 19, 2023
2fd6f59
Test: add column_name and refactor other tests
heehehe Aug 19, 2023
45110e3
Merge branch 'feature/optional-meta-data' of github.com:23-OSSCA-pyth…
heehehe Aug 19, 2023
d7c2c73
fix: modify isMySQL8014AndMore
heehehe Aug 21, 2023
68fa675
chore: fix conflicts
heehehe Aug 21, 2023
0abac0d
refactoring , parsing column
sean-k1 Aug 21, 2023
7f17682
fix: test pass
sean-k1 Aug 21, 2023
53e0e3e
fix: json name error
sean-k1 Aug 21, 2023
a51d806
feat : sync column
sean-k1 Aug 21, 2023
386f3b8
feat: sync column data first version
sean-k1 Aug 21, 2023
bce50ee
feat: add _get_field_type_key
mjs1995 Aug 22, 2023
ea7a805
feat : add charset
sean-k1 Aug 23, 2023
a274e76
feat: get column_schema info from column info
sean-k1 Aug 23, 2023
3b64531
schema default value change
sean-k1 Aug 23, 2023
4a54c00
refactor : code convention
sean-k1 Aug 24, 2023
e066e08
restore column schema from optional meta data
sean-k1 Aug 24, 2023
bdad54e
delete print
sean-k1 Aug 24, 2023
8732ce1
enum refactoring
sean-k1 Aug 24, 2023
73cad3f
refactor delete unused code
sean-k1 Aug 24, 2023
91615e0
fix: reverse_field_type & remove None from dump
mjs1995 Aug 24, 2023
b01de68
feat: add mariadb charset
heehehe Aug 24, 2023
62766db
fix: modify for conflicts
heehehe Aug 24, 2023
2f7ea60
fix : decode error ignore unknown decode type
sean-k1 Aug 25, 2023
59402f9
only optional metadata info
sean-k1 Aug 25, 2023
9c1ec39
Revert "only optional metadata info "
sean-k1 Aug 25, 2023
2a4f768
ignore decode error
sean-k1 Aug 25, 2023
c99603f
force encode utf-8 type
sean-k1 Aug 25, 2023
9fed78c
error packet goes on
sean-k1 Aug 25, 2023
ca130cc
remove: delete mysql8-related settings
heehehe Aug 25, 2023
1b38ce4
test: add geometry, enum_and_set, visibility testcases
heehehe Aug 25, 2023
acf2d08
fix : Adding the missing column.
sean-k1 Aug 25, 2023
4dcb905
fix: charset error
sean-k1 Aug 25, 2023
0e4496c
refactor: variable name and protect None
sean-k1 Aug 26, 2023
0f41520
test: test add when table dropped
sean-k1 Aug 26, 2023
63e7a9a
fix : restore column schema from optional meta data
sean-k1 Aug 26, 2023
96a60eb
fix: protect when database column schema length and column_count are …
sean-k1 Aug 26, 2023
e5d532d
refactor: add charset_list.csv for adding charsets
heehehe Aug 26, 2023
f612114
Merge branch 'feature/optional-meta-data' of github.com:23-OSSCA-pyth…
heehehe Aug 26, 2023
c3c64d8
fix: modify .extract_charset_list.sh typo
heehehe Aug 26, 2023
f150e56
test add : when alter drop column case
sean-k1 Aug 26, 2023
d99b8ff
test add column comment dropped
sean-k1 Aug 26, 2023
8328ce0
fix: test case drop table example
sean-k1 Aug 26, 2023
e2e40e0
fix: resolve conflicts with a19a5a5
heehehe Aug 27, 2023
3bc4e08
fix: modify process of reading charset_list.csv
heehehe Aug 28, 2023
b882122
setting BinlogStream class parameter optional_meta_data
sean-k1 Sep 4, 2023
725f035
Merge remote-tracking branch 'origin/feature/optional-meta-data' into…
sean-k1 Sep 4, 2023
ee27a5f
Revert "setting BinlogStream class parameter optional_meta_data "
sean-k1 Sep 4, 2023
a2c6817
Merge branch 'main' into feature/optional-meta-data
sean-k1 Sep 4, 2023
d0e73e0
Revert "Revert "setting BinlogStream class parameter optional_meta_da…
sean-k1 Sep 4, 2023
4aa1b27
resolve conflict test case error
sean-k1 Sep 4, 2023
9b332f3
Merge branch 'main' into feature/optional-meta-data
sean-k1 Sep 13, 2023
e2f5b26
resolve conflict missing
sean-k1 Sep 13, 2023
ba3bbf1
black lint
sean-k1 Sep 13, 2023
9ae0f82
remove testcase
sean-k1 Sep 15, 2023
4f94af2
remove set, enum
sean-k1 Sep 16, 2023
b0633b7
fix: testcase
sean-k1 Sep 16, 2023
0a0e79f
table init changed
sean-k1 Sep 16, 2023
3a75370
remove ununsed variable
sean-k1 Sep 16, 2023
36926e1
check possible optional metadata version And delete get Table informa…
sean-k1 Sep 18, 2023
b78b922
cherry pick from column_schema delete
sean-k1 Sep 18, 2023
be89380
Column Values add
sean-k1 Sep 18, 2023
8a0280b
sync column
sean-k1 Sep 18, 2023
8949087
TestCase resolved
sean-k1 Sep 18, 2023
985d1d6
delete print debug and print optional meta data conditional
sean-k1 Sep 18, 2023
b9a2b66
docker test 8.0
sean-k1 Sep 18, 2023
16122b2
visibility None case
sean-k1 Sep 18, 2023
b02b58e
for visibility test
sean-k1 Sep 18, 2023
91eacbc
Column read String Mysql 5version
sean-k1 Sep 18, 2023
84c0a32
Revert "docker test 8.0"
sean-k1 Sep 18, 2023
bc1ee8c
fix : testcase 8 version
sean-k1 Sep 18, 2023
3e839c7
Add when column name list length 0
sean-k1 Sep 18, 2023
30b5fe2
mysql 8.0.23 env Test
sean-k1 Sep 18, 2023
6a03460
Revert "mysql 8.0.23 env Test"
sean-k1 Sep 18, 2023
9c781b5
enum catch out of index
sean-k1 Sep 19, 2023
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
chore: fix conflicts
  • Loading branch information
heehehe committed Aug 21, 2023
commit 68fa67588e3c17eec2f2884ac061b7025f3eafa8
24 changes: 22 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,30 @@ services:
- 3307:3307
command: mysqld --log-bin=mysql-bin.log --server-id 1 --binlog-format=row --gtid_mode=on --enforce-gtid-consistency=on --log_slave_updates -P 3307

mariadb-10.6:
image: mariadb:10.6
environment:
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: 1
ports:
- "3308:3306"
command: |
--server-id=1
--default-authentication-plugin=mysql_native_password
--log-bin=master-bin
--binlog-format=row
--log-slave-updates=on
volumes:
- type: bind
source: ./.mariadb
target: /opt/key_file
- type: bind
source: ./.mariadb/my.cnf
target: /etc/mysql/my.cnf

percona-8.0:
image: percona:8.0
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: true
ports:
- 3308:3308
command: mysqld --log-bin=mysql-bin.log --server-id 1 --binlog-format=row --gtid_mode=on --enforce-gtid-consistency=on --log_slave_updates -P 3308
- 3309:3309
command: mysqld --log-bin=mysql-bin.log --server-id 1 --binlog-format=row --gtid_mode=on --enforce-gtid-consistency=on --log_slave_updates -P 3309
7 changes: 4 additions & 3 deletions pymysqlreplication/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
from pymysqlreplication.row_event import *
from pathlib import Path

__all__ = ["TestBasicBinLogStreamReader", "TestMultipleRowBinLogStreamReader", "TestCTLConnectionSettings",
"TestGtidBinLogStreamReader", "TestOptionalMetaData"]

__all__ = [
"TestBasicBinLogStreamReader", "TestMultipleRowBinLogStreamReader", "TestCTLConnectionSettings",
"TestGtidBinLogStreamReader", "TestMariadbBinlogStreamReader", "TestStatementConnectionSetting", "TestOptionalMetaData"
]

class TestBasicBinLogStreamReader(base.PyMySQLReplicationTestCase):
def ignoredEvents(self):
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.