this sounds like daiquiri.. i'm tired. */
| 125 | |
| 126 | /* this sounds like daiquiri.. i'm tired. */ |
| 127 | IQuery *SqDatabase::DoQuery(const char *query) |
| 128 | { |
| 129 | IPreparedQuery *pQuery = PrepareQuery(query, NULL, 0, NULL); |
| 130 | if (!pQuery) |
| 131 | { |
| 132 | return NULL; |
| 133 | } |
| 134 | if (!pQuery->Execute()) |
| 135 | { |
| 136 | pQuery->Destroy(); |
| 137 | return NULL; |
| 138 | } |
| 139 | return pQuery; |
| 140 | } |
| 141 | |
| 142 | bool SqDatabase::DoSimpleQueryEx(const char *query, size_t len) |
| 143 | { |