REGRESSION(r158348): Breaks Debug build
https://bugs.webkit.org/show_bug.cgi?id=123562
Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2013-10-31
Reviewed by Brady Eidson.
Remove an unnecessary check that cause compilation failure.
No new tests since this just fixes the build failure.
* Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
(WebCore::IDBBackingStoreLevelDB::updateIDBDatabaseVersion):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index fe6b610..b88578a 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,17 @@
+2013-10-31 Sudarsana Nagineni <sudarsana.nagineni@intel.com>
+
+ REGRESSION(r158348): Breaks Debug build
+ https://bugs.webkit.org/show_bug.cgi?id=123562
+
+ Reviewed by Brady Eidson.
+
+ Remove an unnecessary check that cause compilation failure.
+
+ No new tests since this just fixes the build failure.
+
+ * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
+ (WebCore::IDBBackingStoreLevelDB::updateIDBDatabaseVersion):
+
2013-10-31 Csaba Osztrogonác <ossy@webkit.org>
One more speculative buildfix after r158365.
diff --git a/Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp b/Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp
index e5a3256..aa60244 100644
--- a/Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp
+++ b/Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp
@@ -596,7 +596,6 @@
{
if (version == IDBDatabaseMetadata::NoIntVersion)
version = IDBDatabaseMetadata::DefaultIntVersion;
- ASSERT_WITH_MESSAGE(version >= 0, "version was %llu", static_cast<unsigned long long>(version));
putVarInt(Transaction::levelDBTransactionFrom(transaction), DatabaseMetaDataKey::encode(rowId, DatabaseMetaDataKey::UserIntVersion), version);
return true;
}