Revision 9588
Added by Aaron Marcuse-Kubitza over 11 years ago
db.sh | ||
---|---|---|
185 | 185 |
mysqldump "$@"|{ pipe_delay; echo_run sed 's/^(-- Dump completed).*$/\1/'; } |
186 | 186 |
} |
187 | 187 |
|
188 |
mysql_rm_privileged_statements() |
|
189 |
{ |
|
190 |
echo_func |
|
191 |
grep -vE -e '^/\*!40000 ALTER TABLE `.*` (DIS|EN)ABLE KEYS \*/;$' \ |
|
192 |
-e '^(UN)?LOCK TABLES( `.*` WRITE)?;$' |
|
193 |
} |
|
188 | 194 |
|
195 |
|
|
189 | 196 |
### PostgreSQL |
190 | 197 |
|
191 | 198 |
pg_export() |
Also available in: Unified diff
lib/sh/db.sh: added mysql_rm_privileged_statements()