Skip to content

Commit 8cbc03f

Browse files
author
Artyom Abakumov
committed
Fix unit tests for putType with dsql_fld
1 parent 04a9ae7 commit 8cbc03f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/jrd/tests/BlrGenTest.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ const std::string_view typeOfNameSchema = "NAME SCHEMA A";
3030

3131
const std::string_view collate = "COLLATE A";
3232

33-
Jrd::TypeClause genDefaultFiled(MemoryPool& pool)
33+
Jrd::dsql_fld genDefaultFiled(MemoryPool& pool)
3434
{
35-
Jrd::TypeClause field(pool, {});
35+
Jrd::dsql_fld field(pool);
3636

3737
field.dtype = dtype_text;
3838
field.typeOfTable.object = typeOfTableObject.data();
@@ -214,7 +214,7 @@ BOOST_AUTO_TEST_CASE(TestFalseExplicitCollation)
214214

215215
DsqlCompilerScratch& scratch = *makeScratch();
216216

217-
Jrd::TypeClause field = genDefaultFiled(pool);
217+
Jrd::dsql_fld field = genDefaultFiled(pool);
218218
field.explicitCollation = false;
219219
scratch.putType(&field, true);
220220

@@ -235,7 +235,7 @@ BOOST_AUTO_TEST_CASE(TestFalseExplicitCollation)
235235
{ // Same shame
236236
DsqlCompilerScratch& scratch = *makeScratch();
237237

238-
Jrd::TypeClause field = genDefaultFiled(pool);
238+
Jrd::dsql_fld field = genDefaultFiled(pool);
239239
field.explicitCollation = false;
240240
scratch.ddlSchema = field.typeOfTable.schema;
241241

0 commit comments

Comments
 (0)