mariadb/client
Vladislav Vaintroub 9e25d6f0cc MDEV-33627 : Implement option --dir in mariadb-import
With that, it is possible to restore the full "instance" from a backup
made with mariadb-dump --dir

The patch implements executing DDL (tables, views, triggers) using
statements that are stored in .sql file, created by mariadb-dump
--dir .

Care is taken of creating triggers correctly after the data is loaded,
disabling foreign keys and unique key checks etc.

The files are loaded in descending order by datafile size -
to ensure better work distribution when running with --parallel option.

In addition to --dir option, following options are implemented for
partial restore

include-only options:
--database             -  import one or several databases
--table                -  import one or several tables

exclude options:
--ignore-database      -. ignore one or several databases when importing
--ignore-table         -  to ignore one or several tables when importing

All options above are only valid together with --dir option,
and can be specified multiple times.
2024-07-16 15:16:29 +02:00
..
async_example.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
client_metadata.h MDEV-17832 Protocol: extensions for Pluggable types and JSON, GEOMETRY 2020-03-10 20:43:32 +04:00
client_priv.h MDEV-33627 : Implement option --dir in mariadb-import 2024-07-16 15:16:29 +02:00
CMakeLists.txt MDEV-33627 refactor threading in mariadb-import 2024-07-16 15:14:28 +02:00
completion_hash.cc Merge 10.4 into 10.5 2020-11-03 16:24:47 +02:00
completion_hash.h Update FSF Address 2019-05-11 21:29:06 +03:00
connection_pool.cc MDEV-32216 Connection pool with asynchronous query execution. 2024-01-29 11:54:37 +01:00
connection_pool.h MDEV-32216 Connection pool with asynchronous query execution. 2024-01-29 11:54:37 +01:00
echo.c Fix typos in the codebase. 2022-08-09 18:41:09 +03:00
mariadb-conv.cc unify client/tool version string 2023-01-19 12:39:28 +01:00
my_readline.h Update FSF Address 2019-05-11 21:29:06 +03:00
mysql.cc Merge remote-tracking branch 'origin/11.4' into 11.5 2024-07-08 12:25:04 +04:00
mysql_plugin.c Merge 10.11 into 11.1 2024-06-17 09:21:50 +03:00
mysql_upgrade.c Merge 10.11 into 11.1 2024-06-17 09:21:50 +03:00
mysqladmin.cc Merge remote-tracking branch 'origin/11.4' into 11.5 2024-07-08 12:25:04 +04:00
mysqlbinlog.cc Merge branch '11.2' into 11.4 2024-05-21 19:38:51 +02:00
mysqlcheck.c ALTER TABLE and replication should convert old row_end timestamps to new timestamp range 2024-05-27 12:39:03 +02:00
mysqldump.cc Merge remote-tracking branch 'origin/11.4' into 11.5 2024-07-08 12:25:04 +04:00
mysqlimport.cc MDEV-33627 : Implement option --dir in mariadb-import 2024-07-16 15:16:29 +02:00
mysqlshow.c Merge branch '11.4' into 11.5 2024-05-23 17:01:43 +02:00
mysqlslap.c Merge branch '11.2' into 11.4 2024-05-21 19:38:51 +02:00
mysqltest.cc Merge remote-tracking branch 'origin/11.4' into 11.5 2024-07-08 12:25:04 +04:00
readline.cc MDEV-27142 disable text mode for Windows stdio by default 2022-07-18 13:18:03 +02:00