diff options
Diffstat (limited to 'handlers')
| -rw-r--r-- | handlers/mysql.helper.in | 5 | ||||
| -rw-r--r-- | handlers/mysql.in | 3 | 
2 files changed, 7 insertions, 1 deletions
diff --git a/handlers/mysql.helper.in b/handlers/mysql.helper.in index 9622d41..00eeca0 100644 --- a/handlers/mysql.helper.in +++ b/handlers/mysql.helper.in @@ -94,6 +94,11 @@ $hotcopy  #  $sqldump +# sqldumpoptions = <options> +# (default = --lock-tables --complete-insert --add-drop-table --quick --quote-names) +# arguments to pass to mysqldump +# sqldumpoptions = --add-drop-table --quick --quote-names +  # compress = < yes | no > (default = yes)  # if yes, compress the sqldump output.  $compress diff --git a/handlers/mysql.in b/handlers/mysql.in index fe1e783..c80a36a 100644 --- a/handlers/mysql.in +++ b/handlers/mysql.in @@ -10,6 +10,7 @@ getconf nodata  getconf dbhost localhost  getconf hotcopy no  getconf sqldump no +getconf sqldumpoptions "--lock-tables --complete-insert --add-drop-table --quick --quote-names"  getconf compress yes  getconf vsname @@ -245,7 +246,7 @@ then  	for db in $databases  	do -           DUMP_BASE="$MYSQLDUMP $defaultsfile --lock-tables --complete-insert --add-drop-table --quick --quote-names" +           DUMP_BASE="$MYSQLDUMP $defaultsfile $sqldumpoptions"             # Dumping structure and data             DUMP="$DUMP_BASE $ignore $db"  | 
