diff options
author | unknown <brian@zim.tangent.org> | 2006-02-13 00:45:59 -0800 |
---|---|---|
committer | unknown <brian@zim.tangent.org> | 2006-02-13 00:45:59 -0800 |
commit | bee0941d401168fd1688036900b9b8d1a613db0b (patch) | |
tree | a1e383dff70acb11f347b245f59fabed944ac3ce /client/client_priv.h | |
parent | 033b29eee0cad528c890cfa53246f6d7f04b5189 (diff) | |
download | mariadb-git-bee0941d401168fd1688036900b9b8d1a613db0b.tar.gz |
Adding thread support for mysqlimport. You can now specify a number of threads to use and it will thread the loading of the database. Anyone who has had to go through the pain of loading the database will immediatly get the reason for this.
client/Makefile.am:
Adding client_thread_libs for mysqlimport (aka it gets pthreads)
client/client_priv.h:
New option
client/mysqlimport.c:
Reworked logic to allow someone to use threads.
mysql-test/r/mysqldump.result:
New results
mysql-test/t/mysqldump.test:
Added tests for threads.
Diffstat (limited to 'client/client_priv.h')
-rw-r--r-- | client/client_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/client_priv.h b/client/client_priv.h index 44f3ce227af..2763dabb027 100644 --- a/client/client_priv.h +++ b/client/client_priv.h @@ -54,6 +54,7 @@ enum options_client OPT_MYSQL_LOCK_DIRECTORY, OPT_MYSQL_SLAP_SLAVE, OPT_USE_THREADS, + OPT_IMPORT_USE_THREADS, OPT_MYSQL_NUMBER_OF_QUERY, OPT_MYSQL_PRESERVE_SCHEMA, OPT_IGNORE_TABLE,OPT_INSERT_IGNORE,OPT_SHOW_WARNINGS,OPT_DROP_DATABASE, |