executeCreateDatabase method
Implementation
IAttachment executeCreateDatabase(
IStatus status,
String createDbStatement,
int dialect,
Pointer<FbBoolean> stmtIsCreateDb,
) {
final len = Utf8Encoder().convert(createDbStatement).length;
final createDbStatementUtf = createDbStatement.toNativeUtf8(allocator: mem);
try {
final res = _executeCreateDatabase(
self,
status.self,
len,
createDbStatementUtf,
dialect,
stmtIsCreateDb,
);
status.checkStatus();
return IAttachment(res);
} finally {
mem.free(createDbStatementUtf);
}
}