Formatting cleanups, doc updates and whatnot

Change-Id: Ica8298353be22f947c8e8a03d8dc29ded9cb26dd
This commit is contained in:
Dean Troyer
2013-04-08 15:38:03 -05:00
parent 2e75ff1a41
commit cc6b443545
25 changed files with 145 additions and 75 deletions
+6
View File
@@ -8,8 +8,13 @@
MY_XTRACE=$(set +o | grep xtrace)
set +o xtrace
register_database mysql
# Functions
# ---------
# Get rid of everything enough to cleanly change database backends
function cleanup_database_mysql {
if is_ubuntu; then
@@ -137,6 +142,7 @@ function database_connection_url_mysql {
echo "$BASE_SQL_CONN/$db?charset=utf8"
}
# Restore xtrace
$MY_XTRACE
+6
View File
@@ -8,8 +8,13 @@
PG_XTRACE=$(set +o | grep xtrace)
set +o xtrace
register_database postgresql
# Functions
# ---------
# Get rid of everything enough to cleanly change database backends
function cleanup_database_postgresql {
stop_service postgresql
@@ -88,6 +93,7 @@ function database_connection_url_postgresql {
echo "$BASE_SQL_CONN/$db?client_encoding=utf8"
}
# Restore xtrace
$PG_XTRACE