Revision 8959
Added by Aaron Marcuse-Kubitza about 11 years ago
local.sh | ||
---|---|---|
27 | 27 |
|
28 | 28 |
: "${postgres_compat=1}" |
29 | 29 |
|
30 |
mysql () |
|
31 |
{ |
|
32 |
echo_func |
|
33 |
echo_run mysql_bien --database="$schema" --verbose "$@" |
|
34 |
} |
|
30 |
mysql () { echo_func; echo_run mysql_bien --database="$schema" --verbose "$@"; } |
|
35 | 31 |
|
36 |
mysqldump_local () |
|
37 |
{ |
|
38 |
echo_func |
|
39 |
use_local_remote; mysqldump_diffable "$@" |
|
40 |
} |
|
32 |
mysqldump_local () { echo_func; use_local_remote; mysqldump_diffable "$@"; } |
|
41 | 33 |
|
42 | 34 |
### PostgreSQL |
43 | 35 |
|
Also available in: Unified diff
*{.sh,run}: put functions on one line where possible (and where they are not expected to expand)