Lines Matching refs:m_statement
52 , m_statement(0)
75 int error = sqlite3_prepare16_v2(m_database.sqlite3Handle(), strippedQuery.charactersWithNullTermination(), -1, &m_statement, &tail);
81 sqlite3_finalize(m_statement);
82 error = sqlite3_prepare16_v2(m_database.sqlite3Handle(), m_query.charactersWithNullTermination(), -1, &m_statement, &tail);
104 if (!m_statement)
107 int error = sqlite3_step(m_statement);
121 if (!m_statement)
124 int result = sqlite3_finalize(m_statement);
125 m_statement = 0;
132 if (!m_statement)
135 return sqlite3_reset(m_statement);
140 if (!m_statement && prepare() != SQLITE_OK)
153 if (!m_statement && prepare() != SQLITE_OK)
173 if (!m_statement)
176 return sqlite3_bind_blob(m_statement, index, blob, size, SQLITE_TRANSIENT);
208 return sqlite3_bind_text16(m_statement, index, characters, sizeof(UChar) * text.length(), SQLITE_TRANSIENT);
217 return sqlite3_bind_int(m_statement, index, integer);
226 return sqlite3_bind_int64(m_statement, index, integer);
235 return sqlite3_bind_double(m_statement, index, number);
244 return sqlite3_bind_null(m_statement, index);
265 if (!m_statement)
267 return sqlite3_bind_parameter_count(m_statement);
273 if (!m_statement)
275 return sqlite3_data_count(m_statement);
281 if (!m_statement)
287 return sqlite3_column_type(m_statement, col) == SQLITE_NULL;
293 if (!m_statement)
298 return String(reinterpret_cast<const UChar*>(sqlite3_column_name16(m_statement, col)));
304 if (!m_statement)
312 sqlite3_value* value = sqlite3_column_value(m_statement, col);
332 if (!m_statement)
337 return String(reinterpret_cast<const UChar*>(sqlite3_column_text16(m_statement, col)));
343 if (!m_statement)
348 return sqlite3_column_double(m_statement, col);
354 if (!m_statement)
359 return sqlite3_column_int(m_statement, col);
365 if (!m_statement)
370 return sqlite3_column_int64(m_statement, col);
377 if (!m_statement && prepareAndStep() != SQLITE_ROW)
383 const void* blob = sqlite3_column_blob(m_statement, col);
387 int size = sqlite3_column_bytes(m_statement, col);
399 if (!m_statement && prepareAndStep() != SQLITE_ROW) {
409 const void* blob = sqlite3_column_blob(m_statement, col);
415 int size = sqlite3_column_bytes(m_statement, col);
441 const void* blob = sqlite3_column_blob(m_statement, col);
445 size = sqlite3_column_bytes(m_statement, col);
455 if (m_statement)
475 if (m_statement)
495 if (m_statement)
515 if (m_statement)
533 return !m_statement || sqlite3_expired(m_statement);