GO-2024-3284 : PingCAP TiDB nil pointer dereference in github.com/pingcap/tidb
Discover Packages
github.com/pingcap/tidb
dumpling
directory
Version:
v1.1.0-beta.0...-a878e1f
Opens a new window with list of versions in this module.
Published: Dec 19, 2024
License: Apache-2.0
Opens a new window with license information.
README
README
¶
🥟 Dumpling
Dumpling is a tool and a Go library for creating SQL dump from a MySQL-compatible database.
It is intended to replace mysqldump
and mydumper
when targeting TiDB.
You may read the design document , English user guide and 中文使用手册 for details.
Features
Dumpling is currently in early development stage, and most features are incomplete. Contributions are welcomed!
SQL dump is split into multiple files (like mydumper
) for easy management.
Export multiple tables in parallel to speed up execution.
Multiple output formats: SQL, CSV, ...
Write to cloud storage (S3, GCS) natively
Advanced table filtering
Any questions? Let's discuss on TiDB Internals forum !
Building
Under directory tidb
Install Go 1.16 or above
Run make build_dumpling
to compile. The output is in bin/dumpling
.
Run make dumpling_unit_test
to run the unit tests.
Run make dumpling_integration_test
to run integration tests. For integration test:
The following executables must be copied or generated or linked into these locations:
The following programs must be installed:
There must be a local mysql server listening on 127.0.0.1:3306
, and an active user with no password that can be connected through this TCP address.
License
Dumpling is under the Apache 2.0 license. See the LICENSE file for details.
Expand ▾
Collapse ▴
Click to show internal directories.
Click to hide internal directories.