Searched refs:sqlType (Results 1 – 3 of 3) sorted by relevance
108 bool SqliteUtils::IsSqlReadOnly(int sqlType) in IsSqlReadOnly() argument110 return (sqlType == STATEMENT_SELECT) ? true : false; in IsSqlReadOnly()113 bool SqliteUtils::IsSpecial(int sqlType) in IsSpecial() argument115 … if (sqlType == STATEMENT_BEGIN || sqlType == STATEMENT_COMMIT || sqlType == STATEMENT_ROLLBACK) { in IsSpecial()
795 int sqlType = SqliteUtils::GetSqlStatementType(sql); in ExecuteSql() local796 if (sqlType == SqliteUtils::STATEMENT_DDL) { in ExecuteSql()801 if (errCode == E_OK && sqlType == SqliteUtils::STATEMENT_UPDATE) { in ExecuteSql()1241 std::string sqlType = sql.substr(index, 3); in CheckAttach() local1242 sqlType = SqliteUtils::StrToUpper(sqlType); in CheckAttach()1243 if (sqlType != "ATT") { in CheckAttach()
41 static bool IsSqlReadOnly(int sqlType);42 static bool IsSpecial(int sqlType);