@@ -113,32 +113,37 @@ Refer to the [wiki](https://github.com/ifsnop/mysqldump-php/wiki/full-example) f
113113 $pdoSettings = array()
114114 )
115115
116- $dumpSettingsDefault = array(
116+ $dumpSettingsDefault = array(
117117 'include-tables' => array(),
118118 'exclude-tables' => array(),
119- 'compress' => 'None',
120- 'no-data' => false,
119+ 'compress' => Mysqldump::NONE,
120+ 'init_commands' => array(),
121+ 'no-data' => array(),
121122 'reset-auto-increment' => false,
123+ 'add-drop-database' => false,
122124 'add-drop-table' => false,
123- 'single-transaction' => true,
124- 'lock-tables' => false,
125+ 'add-drop-trigger' => true,
125126 'add-locks' => true,
126- 'extended-insert' => true,
127127 'complete-insert' => false,
128+ 'databases' => false,
129+ 'default-character-set' => Mysqldump::UTF8,
128130 'disable-keys' => true,
129- 'where' => '',
131+ 'extended-insert' => true,
132+ 'events' => false,
133+ 'hex-blob' => true, /* faster than escaped content * /
134+ 'net_buffer_length' => self::MAXLINESIZE,
135+ 'no-autocommit' => true,
130136 'no-create-info' => false,
131- 'skip-triggers' => false,
132- 'add-drop-trigger' => true,
137+ 'lock-tables' => true,
133138 'routines' => false,
134- 'hex-blob' => true,
135- 'databases' => false,
136- 'add-drop-database' => false,
139+ 'single-transaction' => true,
140+ 'skip-triggers' => false,
137141 'skip-tz-utc' => false,
138- 'no-autocommit' => true,
139- 'default-character-set' => 'utf8',
140142 'skip-comments' => false,
141143 'skip-dump-date' => false,
144+ 'where' => '',
145+ /* deprecated * /
146+ 'disable-foreign-keys-check' => true
142147 );
143148
144149 $pdoSettingsDefaults = array(
@@ -258,7 +263,7 @@ it is identical tests are OK.
258263
259264## TODO
260265
261- .. .
266+ Write more tests .
262267
263268## Contributing
264269
@@ -279,5 +284,5 @@ http://code.google.com/p/db-mysqldump/
279284Adapted and extended by Michael J. Calkins.
280285https://github.com/clouddueling
281286
282- Currently maintained and improved by Diego Torres.
287+ Currently maintained, developed and improved by Diego Torres.
283288https://github.com/ifsnop
0 commit comments