[PATCH mogilefs 6/7] Cleanup whitespace.
Robin H. Johnson
robbat2 at gentoo.org
Tue Jun 5 13:38:14 UTC 2007
From: Robin H. Johnson <robbat2 at gentoo.org>
Signed-off-by: Robin H. Johnson <robbat2 at gentoo.org>
---
server/lib/MogileFS/Store.pm | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/server/lib/MogileFS/Store.pm b/server/lib/MogileFS/Store.pm
index 9448c7a..d8a961f 100644
--- a/server/lib/MogileFS/Store.pm
+++ b/server/lib/MogileFS/Store.pm
@@ -490,7 +490,7 @@ sub TABLE_unreachable_fids {
lastupdate INT UNSIGNED NOT NULL,
PRIMARY KEY (fid),
INDEX (lastupdate)
-)"
+ )"
}
# what files are on what devices? (most likely physical devices,
@@ -504,7 +504,7 @@ sub TABLE_file_on {
devid MEDIUMINT UNSIGNED NOT NULL,
PRIMARY KEY (fid, devid),
INDEX (devid)
-)"
+ )"
}
# if application or framework detects an error in one of the duplicate files
@@ -517,7 +517,7 @@ sub TABLE_file_on_corrupt {
fid INT UNSIGNED NOT NULL,
devid MEDIUMINT UNSIGNED NOT NULL,
PRIMARY KEY (fid, devid)
-)"
+ )"
}
# hosts (which contain devices...)
@@ -553,7 +553,7 @@ sub TABLE_device {
mb_asof INT UNSIGNED,
PRIMARY KEY (devid),
INDEX (status)
-)"
+ )"
}
sub TABLE_server_settings {
@@ -585,19 +585,19 @@ sub TABLE_file_to_delete_later {
fid INT UNSIGNED NOT NULL PRIMARY KEY,
delafter INT UNSIGNED NOT NULL,
INDEX (delafter)
-)"
+ )"
}
sub TABLE_fsck_log {
"CREATE TABLE fsck_log (
-logid INT UNSIGNED NOT NULL AUTO_INCREMENT,
-PRIMARY KEY (logid),
-utime INT UNSIGNED NOT NULL,
-fid INT UNSIGNED NULL,
-evcode CHAR(4),
-devid MEDIUMINT UNSIGNED,
-INDEX(utime)
-)"
+ logid INT UNSIGNED NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (logid),
+ utime INT UNSIGNED NOT NULL,
+ fid INT UNSIGNED NULL,
+ evcode CHAR(4),
+ devid MEDIUMINT UNSIGNED,
+ INDEX(utime)
+ )"
}
# these five only necessary for MySQL, since no other database existed
--
1.5.2
More information about the mogilefs
mailing list