@@ -294,7 +294,7 @@ describe('162. getStmtInfo.js', function() {
294
294
it ( '162.28 PL/SQL block bindname following newline character' , async function ( ) {
295
295
const sql = `
296
296
-- COMMENTS
297
- select :object_name_in as object_name,
297
+ select :兆object_name_in as object_name,
298
298
'COMMENT' as object_type,
299
299
:schema_name_in as schema_name
300
300
from dual
@@ -306,26 +306,26 @@ describe('162. getStmtInfo.js', function() {
306
306
owner
307
307
from all_constraints
308
308
where owner = :schema_name_in
309
- and table_name = :object_name_in
309
+ and table_name = :兆object_name_in
310
310
and constraint_type = 'R'
311
311
union all
312
312
313
313
-- RLS CONTEXTS
314
- select :object_name_in as object_name,
314
+ select :兆object_name_in as object_name,
315
315
'RLS_CONTEXT' as object_type,
316
316
:schema_name_in as schema_name
317
317
from dual
318
318
union all
319
319
320
320
-- RLS GROUP
321
- select :object_name_in as object_name,
321
+ select :兆object_name_in as object_name,
322
322
'RLS_GROUP' as object_type,
323
323
:schema_name_in as schema_name
324
324
from dual
325
325
union all
326
326
327
327
-- RLS POLICY
328
- select :object_name_in as object_name,
328
+ select :兆object_name_in as object_name,
329
329
'RLS_POLICY' as object_type,
330
330
:schema_name_in as schema_name
331
331
from dual
@@ -337,7 +337,7 @@ describe('162. getStmtInfo.js', function() {
337
337
owner
338
338
from all_constraints
339
339
where owner = :schema_name_in
340
- and table_name = :object_name_in
340
+ and table_name = :兆object_name_in
341
341
and constraint_type != 'R'
342
342
union all
343
343
@@ -347,7 +347,7 @@ describe('162. getStmtInfo.js', function() {
347
347
owner
348
348
from all_indexes
349
349
where table_owner = :schema_name_in
350
- and table_name = :object_name_in
350
+ and table_name = :兆object_name_in
351
351
union all
352
352
353
353
-- TRIGGERS
@@ -356,18 +356,18 @@ describe('162. getStmtInfo.js', function() {
356
356
owner
357
357
from all_triggers
358
358
where table_owner = :schema_name_in
359
- and table_name = :object_name_in
359
+ and table_name = :兆object_name_in
360
360
and base_object_type = 'TABLE'
361
361
union all
362
362
363
363
-- OBJECTS GRANTS AS GRANTOR
364
- select :object_name_in ,
364
+ select :兆object_name_in ,
365
365
'OBJECT_GRANT_AS_GRANTOR',
366
366
:schema_name_in
367
367
from dual` ;
368
368
const connection = await oracledb . getConnection ( dbConfig ) ;
369
369
const info = await connection . getStatementInfo ( sql ) ;
370
- assert . deepStrictEqual ( info . bindNames , [ 'OBJECT_NAME_IN ' , 'SCHEMA_NAME_IN' ] ) ;
370
+ assert . deepStrictEqual ( info . bindNames , [ '兆OBJECT_NAME_IN ' , 'SCHEMA_NAME_IN' ] ) ;
371
371
await connection . close ( ) ;
372
372
} ) ; // 162.28
373
373
} ) ;
0 commit comments