Skip to content

Commit df7ed81

Browse files
authored
Use CHECK_NA instead of RAISE_NA (#90)
1 parent 6c4e98d commit df7ed81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

c/driver/postgresql/statement.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,8 @@ AdbcStatusCode PostgresStatement::GetParameterSchema(struct ArrowSchema* schema,
776776

777777
ArrowSchemaInit(schema);
778778

779-
RAISE_NA(param_types.SetSchema(schema, std::string(connection_->VendorName())));
779+
CHECK_NA(INTERNAL, param_types.SetSchema(schema, std::string(connection_->VendorName())),
780+
error);
780781

781782
return ADBC_STATUS_OK;
782783
}

0 commit comments

Comments
 (0)