Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail

This commit is contained in:
Jeff Walden
2011-10-12 12:21:53 -07:00
parent 5de74dc5b1
commit c5e5f873d1
311 changed files with 1334 additions and 2251 deletions

View File

@@ -37,8 +37,6 @@
*
* ***** END LICENSE BLOCK ***** */
#include "mozilla/Util.h"
#include "nsCache.h"
#include "nsDiskCache.h"
#include "nsDiskCacheDeviceSQL.h"
@@ -69,8 +67,6 @@
#include "mozilla/FunctionTimer.h"
using namespace mozilla;
static const char OFFLINE_CACHE_DEVICE_ID[] = { "offline" };
static NS_DEFINE_CID(kCacheServiceCID, NS_CACHESERVICE_CID);
@@ -1173,7 +1169,7 @@ nsOfflineCacheDevice::Init()
StatementSql ( mStatement_InsertNamespaceEntry, "INSERT INTO moz_cache_namespaces (ClientID, NameSpace, Data, ItemType) VALUES(?, ?, ?, ?);"),
StatementSql ( mStatement_EnumerateGroups, "SELECT GroupID, ActiveClientID FROM moz_cache_groups;")
};
for (PRUint32 i = 0; NS_SUCCEEDED(rv) && i < ArrayLength(prepared); ++i)
for (PRUint32 i = 0; NS_SUCCEEDED(rv) && i < NS_ARRAY_LENGTH(prepared); ++i)
{
LOG(("Creating statement: %s\n", prepared[i].sql));