File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ PHP_METHOD(TDengine_Connection, query) {
192
192
error = taos_errno (res);
193
193
#ifdef HAVE_SWOOLE
194
194
}
195
+ #endif
195
196
if (TSDB_CODE_SUCCESS != error)
196
197
{
197
198
if (res)
@@ -200,7 +201,6 @@ PHP_METHOD(TDengine_Connection, query) {
200
201
}
201
202
throw_taos_exception_by_errno (error);
202
203
}
203
- #endif
204
204
205
205
object_init_ex (return_value, TDengine_Resource_ce);
206
206
TDengineResource *resource = zend_object_to_object_ptr (Z_OBJ_P (return_value), ResourceObject);
@@ -234,12 +234,12 @@ PHP_METHOD(TDengine_Connection, prepare) {
234
234
error = taos_stmt_prepare (stmt, sql, sql_len);
235
235
#ifdef HAVE_SWOOLE
236
236
}
237
+ #endif
237
238
if (TSDB_CODE_SUCCESS != error)
238
239
{
239
240
taos_stmt_close (stmt);
240
241
throw_taos_exception_by_errno (error);
241
242
}
242
- #endif
243
243
object_init_ex (return_value, TDengine_Statement_ce);
244
244
TDengineStatement *statement = zend_object_to_object_ptr (Z_OBJ_P (return_value), StatementObject);
245
245
statement->stmt = stmt;
You can’t perform that action at this time.
0 commit comments