Index: Source/modules/webdatabase/sqlite/SQLiteStatement.cpp |
diff --git a/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp b/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp |
index 3ae9f8156db5bb107e2e591d172621c8aacf7e95..61c35d4ed2b44ef8c1db18fcf2a8d27beb028f74 100644 |
--- a/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp |
+++ b/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp |
@@ -44,7 +44,7 @@ SQLiteStatement::SQLiteStatement(SQLiteDatabase& db, const String& sql) |
: m_database(db) |
, m_query(sql) |
, m_statement(0) |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
, m_isPrepared(false) |
#endif |
{ |
@@ -80,7 +80,7 @@ int SQLiteStatement::prepare() |
else if (tail && *tail) |
error = SQLITE_ERROR; |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
m_isPrepared = error == SQLITE_OK; |
#endif |
return error; |
@@ -113,7 +113,7 @@ int SQLiteStatement::step() |
int SQLiteStatement::finalize() |
{ |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
m_isPrepared = false; |
#endif |
if (!m_statement) |