Reviewed by Timothy Hatcher.
http://bugs.webkit.org/show_bug.cgi?id=16050
sqlite3_prepare16_v2 build bustage.
Using the correct SQLITE_VERSION_NUMBER around sqlite_prepare16_v2
to fix build bustage.
* platform/sql/SQLiteStatement.cpp:
(WebCore::SQLiteStatement::prepare):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27910
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-11-19 Doug Turner <dougt@meer.net>
+
+ Reviewed by Timothy Hatcher.
+
+ http://bugs.webkit.org/show_bug.cgi?id=16050
+ sqlite3_prepare16_v2 build bustage.
+
+ Using the correct SQLITE_VERSION_NUMBER around sqlite_prepare16_v2
+ to fix build bustage.
+
+ * platform/sql/SQLiteStatement.cpp:
+ (WebCore::SQLiteStatement::prepare):
+
2007-11-19 Mark Rowe <mrowe@apple.com>
Build fix. Don't over-qualify the constructor name.
{
const void* tail;
LOG(SQLDatabase, "SQL - prepare - %s", m_query.ascii().data());
-#if SQLITE_VERSION_NUMBER > 3003000
+#if SQLITE_VERSION_NUMBER >= 3003009
if (sqlite3_prepare16_v2(m_database.sqlite3Handle(), m_query.characters(), -1, &m_statement, &tail) != SQLITE_OK) {
#else
if (sqlite3_prepare16(m_database.sqlite3Handle(), m_query.characters(), -1, &m_statement, &tail) != SQLITE_OK) {