Alexander Pyhalov
2013-12-26 19364bc98e54de97ee80f4a687e3aa42d547eced
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/storage/src/mozStorageConnection.cpp b/storage/src/mozStorageConnection.cpp
--- a/storage/src/mozStorageConnection.cpp
+++ b/storage/src/mozStorageConnection.cpp
@@ -608,6 +608,12 @@
 Connection::initialize(nsIFile *aDatabaseFile,
                        const char* aVFSName)
 {
+#ifdef SOLARIS
+  if (!aVFSName) {
+    aVFSName = "unix-excl";
+  }
+#endif
+
   NS_ASSERTION (!mDBConn, "Initialize called on already opened database!");
   SAMPLE_LABEL("storage", "Connection::initialize");