Begin;
Initialize;
InitializeSession "TESTDB";
Command "create database TESTDB";
TerminateSession;
InitializeSession "TESTDB";
#
# 障害票 No.1003に対応
# Btree2とBitmapとArrayの各索引のchar列やvarchar列に対して、
# LIKE条件のエスケープ文字に2バイト文字を使うと結果が正しくないことがある。
# v16.2, v17.0用スクリプト
#
Command "create table T1(c char(8))";
Command "insert T1 values 'a*%)\\, _'";
Command "insert T1 values 'a*%)_\\, '";
Command "insert T1 values 'a*%)%\\, '";
Command "insert T1 values ')a\\_, *_'";
Command "insert T1 values ')a\\__, *'";
Command "insert T1 values ')a\\_%, *'";
Command "insert T1 values '\\,a %*)_'";
Command "insert T1 values '\\,a _%*)'";
Command "insert T1 values '\\,a %%*)'";
Command "insert T1 values ', *a)_\\_'";
Command "insert T1 values ', *a_)_\\'";
Command "insert T1 values ', *a%)_\\'";
Command "insert T1 values ' *)\\a%,_'";
Command "insert T1 values ' *)\\_a%,'";
Command "insert T1 values ' *)\\%a%,'";
Command "insert T1 values '*)\\, a__'";
Command "insert T1 values '*)\\,_ a_'";
Command "insert T1 values '*)\\,% a_'";
Command "insert T1 values ' a,%\\)*_'";
Command "insert T1 values ' a,%_\\)*'";
Command "insert T1 values ' a,%%\\)*'";
Command "insert T1 values ',\\a)*_ _'";
Command "insert T1 values ',\\a)_*_ '";
Command "insert T1 values ',\\a)%*_ '";
Command "insert T1 values '\\%)*a ,_'";
Command "insert T1 values '\\%)*_a ,'";
Command "insert T1 values '\\%)*%a ,'";
Command "insert T1 values ')*_ ,a\\_'";
Command "insert T1 values ')*_ _,a\\'";
Command "insert T1 values ')*_ %,a\\'";
Command "create table T2(c varchar(8))";
Command "insert T2 values 'a*%)\\, _'";
Command "insert T2 values 'a*%)_\\, '";
Command "insert T2 values 'a*%)%\\, '";
Command "insert T2 values ')a\\_, *_'";
Command "insert T2 values ')a\\__, *'";
Command "insert T2 values ')a\\_%, *'";
Command "insert T2 values '\\,a %*)_'";
Command "insert T2 values '\\,a _%*)'";
Command "insert T2 values '\\,a %%*)'";
Command "insert T2 values ', *a)_\\_'";
Command "insert T2 values ', *a_)_\\'";
Command "insert T2 values ', *a%)_\\'";
Command "insert T2 values ' *)\\a%,_'";
Command "insert T2 values ' *)\\_a%,'";
Command "insert T2 values ' *)\\%a%,'";
Command "insert T2 values '*)\\, a__'";
Command "insert T2 values '*)\\,_ a_'";
Command "insert T2 values '*)\\,% a_'";
Command "insert T2 values ' a,%\\)*_'";
Command "insert T2 values ' a,%_\\)*'";
Command "insert T2 values ' a,%%\\)*'";
Command "insert T2 values ',\\a)*_ _'";
Command "insert T2 values ',\\a)_*_ '";
Command "insert T2 values ',\\a)%*_ '";
Command "insert T2 values '\\%)*a ,_'";
Command "insert T2 values '\\%)*_a ,'";
Command "insert T2 values '\\%)*%a ,'";
Command "insert T2 values ')*_ ,a\\_'";
Command "insert T2 values ')*_ _,a\\'";
Command "insert T2 values ')*_ %,a\\'";
Command "create table T3(c char(8) array[no limit])";
Command "insert T3 values (array['a*%)\\, _'])";
Command "insert T3 values (array['a*%)_\\, '])";
Command "insert T3 values (array['a*%)%\\, '])";
Command "insert T3 values (array[')a\\_, *_'])";
Command "insert T3 values (array[')a\\__, *'])";
Command "insert T3 values (array[')a\\_%, *'])";
Command "insert T3 values (array['\\,a %*)_'])";
Command "insert T3 values (array['\\,a _%*)'])";
Command "insert T3 values (array['\\,a %%*)'])";
Command "insert T3 values (array[', *a)_\\_'])";
Command "insert T3 values (array[', *a_)_\\'])";
Command "insert T3 values (array[', *a%)_\\'])";
Command "insert T3 values (array[' *)\\a%,_'])";
Command "insert T3 values (array[' *)\\_a%,'])";
Command "insert T3 values (array[' *)\\%a%,'])";
Command "insert T3 values (array['*)\\, a__'])";
Command "insert T3 values (array['*)\\,_ a_'])";
Command "insert T3 values (array['*)\\,% a_'])";
Command "insert T3 values (array[' a,%\\)*_'])";
Command "insert T3 values (array[' a,%_\\)*'])";
Command "insert T3 values (array[' a,%%\\)*'])";
Command "insert T3 values (array[',\\a)*_ _'])";
Command "insert T3 values (array[',\\a)_*_ '])";
Command "insert T3 values (array[',\\a)%*_ '])";
Command "insert T3 values (array['\\%)*a ,_'])";
Command "insert T3 values (array['\\%)*_a ,'])";
Command "insert T3 values (array['\\%)*%a ,'])";
Command "insert T3 values (array[')*_ ,a\\_'])";
Command "insert T3 values (array[')*_ _,a\\'])";
Command "insert T3 values (array[')*_ %,a\\'])";
Command "create table T4(c varchar(8) array[no limit])";
Command "insert T4 values (array['a*%)\\, _'])";
Command "insert T4 values (array['a*%)_\\, '])";
Command "insert T4 values (array['a*%)%\\, '])";
Command "insert T4 values (array[')a\\_, *_'])";
Command "insert T4 values (array[')a\\__, *'])";
Command "insert T4 values (array[')a\\_%, *'])";
Command "insert T4 values (array['\\,a %*)_'])";
Command "insert T4 values (array['\\,a _%*)'])";
Command "insert T4 values (array['\\,a %%*)'])";
Command "insert T4 values (array[', *a)_\\_'])";
Command "insert T4 values (array[', *a_)_\\'])";
Command "insert T4 values (array[', *a%)_\\'])";
Command "insert T4 values (array[' *)\\a%,_'])";
Command "insert T4 values (array[' *)\\_a%,'])";
Command "insert T4 values (array[' *)\\%a%,'])";
Command "insert T4 values (array['*)\\, a__'])";
Command "insert T4 values (array['*)\\,_ a_'])";
Command "insert T4 values (array['*)\\,% a_'])";
Command "insert T4 values (array[' a,%\\)*_'])";
Command "insert T4 values (array[' a,%_\\)*'])";
Command "insert T4 values (array[' a,%%\\)*'])";
Command "insert T4 values (array[',\\a)*_ _'])";
Command "insert T4 values (array[',\\a)_*_ '])";
Command "insert T4 values (array[',\\a)%*_ '])";
Command "insert T4 values (array['\\%)*a ,_'])";
Command "insert T4 values (array['\\%)*_a ,'])";
Command "insert T4 values (array['\\%)*%a ,'])";
Command "insert T4 values (array[')*_ ,a\\_'])";
Command "insert T4 values (array[')*_ _,a\\'])";
Command "insert T4 values (array[')*_ %,a\\'])";
Command "create index I1 on T1(c)";
Command "create index I2 on T2(c)";
Command "select * from T1 where c like 'a*%)\\, _'";
Command "select * from T2 where c like 'a*%)_\\, '";
Command "select * from T1 where c like 'a*%)%\\, '";
Command "select * from T1 where c like ')a\\_, *_' escape '\\'";
Command "select * from T2 where c like ')a\\_%, *'";
Command "select * from T1 where c like ')a\\_%, *' escape 'ち'";
Command "select * from T2 where c like '\\,a %*)_' escape '*'";
Command "select * from T1 where c like '\\,a _%*)' escape ','";
Command "select * from T1 where c like ', *a)_\\_'";
Command "select * from T2 where c like ', *a)_\\_' escape '*'";
Command "select * from T1 where c like ', *a_)_\\'";
Command "select * from T1 where c like ', *a%)_\\' escape 'ち'";
Command "select * from T1 where c like ' *)\\a%,_'";
Command "select * from T2 where c like ' *)\\a%,_' escape 'ち'";
Command "select * from T1 where c like ' *)\\_a%,' escape '*'";
Command "select * from T2 where c like ' *)\\_a%,'";
Command "select * from T2 where c like ' *)\\%a%,'";
Command "select * from T1 where c like '*)\\, a__' escape '\\'";
Command "select * from T2 where c like '*)\\,_ a_' escape ','";
Command "select * from T1 where c like '*)\\,% a_'";
Command "select * from T2 where c like ' a,%\\)*_' escape ','";
Command "select * from T1 where c like ' a,%\\)*_'";
Command "select * from T1 where c like ' a,%_\\)*'";
Command "select * from T2 where c like ' a,%_\\)*' escape 'ち'";
Command "select * from T2 where c like ',\\a)*_ _' escape '*'";
Command "select * from T1 where c like ',\\a)%*_ '";
Command "select * from T1 where c like '\\%)*a ,_'";
Command "select * from T2 where c like '\\%)*_a ,'";
Command "select * from T1 where c like '\\%)*%a ,'";
Command "select * from T2 where c like ')*_ ,a\\_'";
Command "select * from T1 where c like ')*_ %,a\\' escape ','";
Command "select * from T1 where c like 'a*%)_\\, ' escape 'ち'";
Command "select * from T2 where c like ')a\\_, *_' escape '*'";
Command "select * from T2 where c like ')a\\__, *'";
Command "select * from T2 where c like '\\,a %*)_'";
Command "select * from T1 where c like '\\,a _%*)'";
Command "select * from T1 where c like '*)\\, a__' escape ' '";
Command "select * from T2 where c like '*)\\,_ a_'";
Command "select * from T2 where c like '*)\\,% a_'";
Command "select * from T1 where c like ' a,%%\\)*' escape 'ち'";
Command "select * from T2 where c like ',\\a)*_ _'";
Command "select * from T2 where c like ',\\a)%*_ '";
Command "select * from T1 where c like ')*_ %,a\\' escape '*'";
Command "select * from T1 where c like '\\,a %*)_' escape '\\'";
Command "select * from T2 where c like '\\,a _%*)' escape 'ち'";
Command "select * from T2 where c like ', *a)_\\_'";
Command "select * from T1 where c like ', *a%)_\\'";
Command "select * from T1 where c like ' *)\\a%,_' escape ' '";
Command "select * from T1 where c like ' *)\\%a%,' escape ' '";
Command "select * from T1 where c like '*)\\,_ a_' escape '*'";
Command "select * from T1 where c like '*)\\,% a_' escape ')'";
Command "select * from T1 where c like ' a,%\\)*_' escape ')'";
Command "select * from T2 where c like ' a,%_\\)*' escape ' '";
Command "select * from T1 where c like ',\\a)*_ _' escape '\\'";
Command "select * from T1 where c like ',\\a)_*_ '";
Command "select * from T1 where c like ',\\a)%*_ ' escape ','";
Command "select * from T2 where c like '\\%)*a ,_' escape '\\'";
Command "select * from T1 where c like ')*_ ,a\\_' escape ','";
Command "select * from T2 where c like ')*_ %,a\\'";
Command "select * from T2 where c like 'a*%)\\, _' escape '\\'";
Command "select * from T2 where c like ')a\\_, *_'";
Command "select * from T1 where c like ')a\\_, *_' escape ' '";
Command "select * from T1 where c like ')a\\_%, *' escape ','";
Command "select * from T1 where c like '\\,a %*)_'";
Command "select * from T2 where c like '\\,a _%*)'";
Command "select * from T1 where c like '\\,a %%*)'";
Command "select * from T2 where c like ', *a_)_\\' escape '*'";
Command "select * from T2 where c like ', *a%)_\\'";
Command "select * from T1 where c like ' *)\\_a%,'";
Command "select * from T2 where c like '*)\\, a__'";
Command "select * from T1 where c like '*)\\, a__'";
Command "select * from T1 where c like '*)\\,_ a_' escape 'ち'";
Command "select * from T1 where c like ' a,%\\)*_' escape '\\'";
Command "select * from T1 where c like ' a,%%\\)*' escape '\\'";
Command "select * from T2 where c like '\\%)*a ,_'";
Command "select * from T2 where c like '\\%)*_a ,' escape ' '";
Command "select * from T1 where c like '\\%)*_a ,'";
Command "select * from T2 where c like '\\%)*%a ,'";
Command "select * from T1 where c like ')*_ _,a\\'";
Command "select * from T1 where c like ')*_ %,a\\'";
Command "drop index I1";
Command "drop index I2";
Command "create bitmap index I1 on T1(c) hint 'compressed'";
Command "create bitmap index I2 on T2(c) hint 'compressed'";
Command "select * from T1 where c like 'a*%)\\, _'";
Command "select * from T2 where c like 'a*%)_\\, '";
Command "select * from T1 where c like 'a*%)%\\, '";
Command "select * from T1 where c like ')a\\_, *_' escape '\\'";
Command "select * from T2 where c like ')a\\_%, *'";
Command "select * from T1 where c like ')a\\_%, *' escape 'ち'";
Command "select * from T2 where c like '\\,a %*)_' escape '*'";
Command "select * from T1 where c like '\\,a _%*)' escape ','";
Command "select * from T1 where c like ', *a)_\\_'";
Command "select * from T2 where c like ', *a)_\\_' escape '*'";
Command "select * from T1 where c like ', *a_)_\\'";
Command "select * from T1 where c like ', *a%)_\\' escape 'ち'";
Command "select * from T1 where c like ' *)\\a%,_'";
Command "select * from T2 where c like ' *)\\a%,_' escape 'ち'";
Command "select * from T1 where c like ' *)\\_a%,' escape '*'";
Command "select * from T2 where c like ' *)\\_a%,'";
Command "select * from T2 where c like ' *)\\%a%,'";
Command "select * from T1 where c like '*)\\, a__' escape '\\'";
Command "select * from T2 where c like '*)\\,_ a_' escape ','";
Command "select * from T1 where c like '*)\\,% a_'";
Command "select * from T2 where c like ' a,%\\)*_' escape ','";
Command "select * from T1 where c like ' a,%\\)*_'";
Command "select * from T1 where c like ' a,%_\\)*'";
Command "select * from T2 where c like ' a,%_\\)*' escape 'ち'";
Command "select * from T2 where c like ',\\a)*_ _' escape '*'";
Command "select * from T1 where c like ',\\a)%*_ '";
Command "select * from T1 where c like '\\%)*a ,_'";
Command "select * from T2 where c like '\\%)*_a ,'";
Command "select * from T1 where c like '\\%)*%a ,'";
Command "select * from T2 where c like ')*_ ,a\\_'";
Command "select * from T1 where c like ')*_ %,a\\' escape ','";
Command "select * from T1 where c like 'a*%)_\\, ' escape 'ち'";
Command "select * from T2 where c like ')a\\_, *_' escape '*'";
Command "select * from T2 where c like ')a\\__, *'";
Command "select * from T2 where c like '\\,a %*)_'";
Command "select * from T1 where c like '\\,a _%*)'";
Command "select * from T1 where c like '*)\\, a__' escape ' '";
Command "select * from T2 where c like '*)\\,_ a_'";
Command "select * from T2 where c like '*)\\,% a_'";
Command "select * from T1 where c like ' a,%%\\)*' escape 'ち'";
Command "select * from T2 where c like ',\\a)*_ _'";
Command "select * from T2 where c like ',\\a)%*_ '";
Command "select * from T1 where c like ')*_ %,a\\' escape '*'";
Command "select * from T1 where c like '\\,a %*)_' escape '\\'";
Command "select * from T2 where c like '\\,a _%*)' escape 'ち'";
Command "select * from T2 where c like ', *a)_\\_'";
Command "select * from T1 where c like ', *a%)_\\'";
Command "select * from T1 where c like ' *)\\a%,_' escape ' '";
Command "select * from T1 where c like ' *)\\%a%,' escape ' '";
Command "select * from T1 where c like '*)\\,_ a_' escape '*'";
Command "select * from T1 where c like '*)\\,% a_' escape ')'";
Command "select * from T1 where c like ' a,%\\)*_' escape ')'";
Command "select * from T2 where c like ' a,%_\\)*' escape ' '";
Command "select * from T1 where c like ',\\a)*_ _' escape '\\'";
Command "select * from T1 where c like ',\\a)_*_ '";
Command "select * from T1 where c like ',\\a)%*_ ' escape ','";
Command "select * from T2 where c like '\\%)*a ,_' escape '\\'";
Command "select * from T1 where c like ')*_ ,a\\_' escape ','";
Command "select * from T2 where c like ')*_ %,a\\'";
Command "select * from T2 where c like 'a*%)\\, _' escape '\\'";
Command "select * from T2 where c like ')a\\_, *_'";
Command "select * from T1 where c like ')a\\_, *_' escape ' '";
Command "select * from T1 where c like ')a\\_%, *' escape ','";
Command "select * from T1 where c like '\\,a %*)_'";
Command "select * from T2 where c like '\\,a _%*)'";
Command "select * from T1 where c like '\\,a %%*)'";
Command "select * from T2 where c like ', *a_)_\\' escape '*'";
Command "select * from T2 where c like ', *a%)_\\'";
Command "select * from T1 where c like ' *)\\_a%,'";
Command "select * from T2 where c like '*)\\, a__'";
Command "select * from T1 where c like '*)\\, a__'";
Command "select * from T1 where c like '*)\\,_ a_' escape 'ち'";
Command "select * from T1 where c like ' a,%\\)*_' escape '\\'";
Command "select * from T1 where c like ' a,%%\\)*' escape '\\'";
Command "select * from T2 where c like '\\%)*a ,_'";
Command "select * from T2 where c like '\\%)*_a ,' escape ' '";
Command "select * from T1 where c like '\\%)*_a ,'";
Command "select * from T2 where c like '\\%)*%a ,'";
Command "select * from T1 where c like ')*_ _,a\\'";
Command "select * from T1 where c like ')*_ %,a\\'";
Command "drop index I1";
Command "drop index I2";
Command "create bitmap index I3 on T3(c) hint 'compressed'";
Command "create bitmap index I4 on T4(c) hint 'compressed'";
Command "select * from T3 where c[] like 'a*%)\\, _'";
Command "select * from T4 where c[] like 'a*%)_\\, '";
Command "select * from T3 where c[] like 'a*%)%\\, '";
Command "select * from T3 where c[] like ')a\\_, *_' escape '\\'";
Command "select * from T4 where c[] like ')a\\_%, *'";
Command "select * from T3 where c[] like ')a\\_%, *' escape 'ち'";
Command "select * from T4 where c[] like '\\,a %*)_' escape '*'";
Command "select * from T3 where c[] like '\\,a _%*)' escape ','";
Command "select * from T3 where c[] like ', *a)_\\_'";
Command "select * from T4 where c[] like ', *a)_\\_' escape '*'";
Command "select * from T3 where c[] like ', *a_)_\\'";
Command "select * from T3 where c[] like ', *a%)_\\' escape 'ち'";
Command "select * from T3 where c[] like ' *)\\a%,_'";
Command "select * from T4 where c[] like ' *)\\a%,_' escape 'ち'";
Command "select * from T3 where c[] like ' *)\\_a%,' escape '*'";
Command "select * from T4 where c[] like ' *)\\_a%,'";
Command "select * from T4 where c[] like ' *)\\%a%,'";
Command "select * from T3 where c[] like '*)\\, a__' escape '\\'";
Command "select * from T4 where c[] like '*)\\,_ a_' escape ','";
Command "select * from T3 where c[] like '*)\\,% a_'";
Command "select * from T4 where c[] like ' a,%\\)*_' escape ','";
Command "select * from T3 where c[] like ' a,%\\)*_'";
Command "select * from T3 where c[] like ' a,%_\\)*'";
Command "select * from T4 where c[] like ' a,%_\\)*' escape 'ち'";
Command "select * from T4 where c[] like ',\\a)*_ _' escape '*'";
Command "select * from T3 where c[] like ',\\a)%*_ '";
Command "select * from T3 where c[] like '\\%)*a ,_'";
Command "select * from T4 where c[] like '\\%)*_a ,'";
Command "select * from T3 where c[] like '\\%)*%a ,'";
Command "select * from T4 where c[] like ')*_ ,a\\_'";
Command "select * from T3 where c[] like ')*_ %,a\\' escape ','";
Command "select * from T3 where c[] like 'a*%)_\\, ' escape 'ち'";
Command "select * from T4 where c[] like ')a\\_, *_' escape '*'";
Command "select * from T4 where c[] like ')a\\__, *'";
Command "select * from T4 where c[] like '\\,a %*)_'";
Command "select * from T3 where c[] like '\\,a _%*)'";
Command "select * from T3 where c[] like '*)\\, a__' escape ' '";
Command "select * from T4 where c[] like '*)\\,_ a_'";
Command "select * from T4 where c[] like '*)\\,% a_'";
Command "select * from T3 where c[] like ' a,%%\\)*' escape 'ち'";
Command "select * from T4 where c[] like ',\\a)*_ _'";
Command "select * from T4 where c[] like ',\\a)%*_ '";
Command "select * from T3 where c[] like ')*_ %,a\\' escape '*'";
Command "select * from T3 where c[] like '\\,a %*)_' escape '\\'";
Command "select * from T4 where c[] like '\\,a _%*)' escape 'ち'";
Command "select * from T4 where c[] like ', *a)_\\_'";
Command "select * from T3 where c[] like ', *a%)_\\'";
Command "select * from T3 where c[] like ' *)\\a%,_' escape ' '";
Command "select * from T3 where c[] like ' *)\\%a%,' escape ' '";
Command "select * from T3 where c[] like '*)\\,_ a_' escape '*'";
Command "select * from T3 where c[] like '*)\\,% a_' escape ')'";
Command "select * from T3 where c[] like ' a,%\\)*_' escape ')'";
Command "select * from T4 where c[] like ' a,%_\\)*' escape ' '";
Command "select * from T3 where c[] like ',\\a)*_ _' escape '\\'";
Command "select * from T3 where c[] like ',\\a)_*_ '";
Command "select * from T3 where c[] like ',\\a)%*_ ' escape ','";
Command "select * from T4 where c[] like '\\%)*a ,_' escape '\\'";
Command "select * from T3 where c[] like ')*_ ,a\\_' escape ','";
Command "select * from T4 where c[] like ')*_ %,a\\'";
Command "select * from T4 where c[] like 'a*%)\\, _' escape '\\'";
Command "select * from T4 where c[] like ')a\\_, *_'";
Command "select * from T3 where c[] like ')a\\_, *_' escape ' '";
Command "select * from T3 where c[] like ')a\\_%, *' escape ','";
Command "select * from T3 where c[] like '\\,a %*)_'";
Command "select * from T4 where c[] like '\\,a _%*)'";
Command "select * from T3 where c[] like '\\,a %%*)'";
Command "select * from T4 where c[] like ', *a_)_\\' escape '*'";
Command "select * from T4 where c[] like ', *a%)_\\'";
Command "select * from T3 where c[] like ' *)\\_a%,'";
Command "select * from T4 where c[] like '*)\\, a__'";
Command "select * from T3 where c[] like '*)\\, a__'";
Command "select * from T3 where c[] like '*)\\,_ a_' escape 'ち'";
Command "select * from T3 where c[] like ' a,%\\)*_' escape '\\'";
Command "select * from T3 where c[] like ' a,%%\\)*' escape '\\'";
Command "select * from T4 where c[] like '\\%)*a ,_'";
Command "select * from T4 where c[] like '\\%)*_a ,' escape ' '";
Command "select * from T3 where c[] like '\\%)*_a ,'";
Command "select * from T4 where c[] like '\\%)*%a ,'";
Command "select * from T3 where c[] like ')*_ _,a\\'";
Command "select * from T3 where c[] like ')*_ %,a\\'";
Command "drop index I3";
Command "drop index I4";
Command "create array index I3 on T3(c)";
Command "create array index I4 on T4(c)";
Command "select * from T3 where c[] like 'a*%)\\, _'";
Command "select * from T4 where c[] like 'a*%)_\\, '";
Command "select * from T3 where c[] like 'a*%)%\\, '";
Command "select * from T3 where c[] like ')a\\_, *_' escape '\\'";
Command "select * from T4 where c[] like ')a\\_%, *'";
Command "select * from T3 where c[] like ')a\\_%, *' escape 'ち'";
Command "select * from T4 where c[] like '\\,a %*)_' escape '*'";
Command "select * from T3 where c[] like '\\,a _%*)' escape ','";
Command "select * from T3 where c[] like ', *a)_\\_'";
Command "select * from T4 where c[] like ', *a)_\\_' escape '*'";
Command "select * from T3 where c[] like ', *a_)_\\'";
Command "select * from T3 where c[] like ', *a%)_\\' escape 'ち'";
Command "select * from T3 where c[] like ' *)\\a%,_'";
Command "select * from T4 where c[] like ' *)\\a%,_' escape 'ち'";
Command "select * from T3 where c[] like ' *)\\_a%,' escape '*'";
Command "select * from T4 where c[] like ' *)\\_a%,'";
Command "select * from T4 where c[] like ' *)\\%a%,'";
Command "select * from T3 where c[] like '*)\\, a__' escape '\\'";
Command "select * from T4 where c[] like '*)\\,_ a_' escape ','";
Command "select * from T3 where c[] like '*)\\,% a_'";
Command "select * from T4 where c[] like ' a,%\\)*_' escape ','";
Command "select * from T3 where c[] like ' a,%\\)*_'";
Command "select * from T3 where c[] like ' a,%_\\)*'";
Command "select * from T4 where c[] like ' a,%_\\)*' escape 'ち'";
Command "select * from T4 where c[] like ',\\a)*_ _' escape '*'";
Command "select * from T3 where c[] like ',\\a)%*_ '";
Command "select * from T3 where c[] like '\\%)*a ,_'";
Command "select * from T4 where c[] like '\\%)*_a ,'";
Command "select * from T3 where c[] like '\\%)*%a ,'";
Command "select * from T4 where c[] like ')*_ ,a\\_'";
Command "select * from T3 where c[] like ')*_ %,a\\' escape ','";
Command "select * from T3 where c[] like 'a*%)_\\, ' escape 'ち'";
Command "select * from T4 where c[] like ')a\\_, *_' escape '*'";
Command "select * from T4 where c[] like ')a\\__, *'";
Command "select * from T4 where c[] like '\\,a %*)_'";
Command "select * from T3 where c[] like '\\,a _%*)'";
Command "select * from T3 where c[] like '*)\\, a__' escape ' '";
Command "select * from T4 where c[] like '*)\\,_ a_'";
Command "select * from T4 where c[] like '*)\\,% a_'";
Command "select * from T3 where c[] like ' a,%%\\)*' escape 'ち'";
Command "select * from T4 where c[] like ',\\a)*_ _'";
Command "select * from T4 where c[] like ',\\a)%*_ '";
Command "select * from T3 where c[] like ')*_ %,a\\' escape '*'";
Command "select * from T3 where c[] like '\\,a %*)_' escape '\\'";
Command "select * from T4 where c[] like '\\,a _%*)' escape 'ち'";
Command "select * from T4 where c[] like ', *a)_\\_'";
Command "select * from T3 where c[] like ', *a%)_\\'";
Command "select * from T3 where c[] like ' *)\\a%,_' escape ' '";
Command "select * from T3 where c[] like ' *)\\%a%,' escape ' '";
Command "select * from T3 where c[] like '*)\\,_ a_' escape '*'";
Command "select * from T3 where c[] like '*)\\,% a_' escape ')'";
Command "select * from T3 where c[] like ' a,%\\)*_' escape ')'";
Command "select * from T4 where c[] like ' a,%_\\)*' escape ' '";
Command "select * from T3 where c[] like ',\\a)*_ _' escape '\\'";
Command "select * from T3 where c[] like ',\\a)_*_ '";
Command "select * from T3 where c[] like ',\\a)%*_ ' escape ','";
Command "select * from T4 where c[] like '\\%)*a ,_' escape '\\'";
Command "select * from T3 where c[] like ')*_ ,a\\_' escape ','";
Command "select * from T4 where c[] like ')*_ %,a\\'";
Command "select * from T4 where c[] like 'a*%)\\, _' escape '\\'";
Command "select * from T4 where c[] like ')a\\_, *_'";
Command "select * from T3 where c[] like ')a\\_, *_' escape ' '";
Command "select * from T3 where c[] like ')a\\_%, *' escape ','";
Command "select * from T3 where c[] like '\\,a %*)_'";
Command "select * from T4 where c[] like '\\,a _%*)'";
Command "select * from T3 where c[] like '\\,a %%*)'";
Command "select * from T4 where c[] like ', *a_)_\\' escape '*'";
Command "select * from T4 where c[] like ', *a%)_\\'";
Command "select * from T3 where c[] like ' *)\\_a%,'";
Command "select * from T4 where c[] like '*)\\, a__'";
Command "select * from T3 where c[] like '*)\\, a__'";
Command "select * from T3 where c[] like '*)\\,_ a_' escape 'ち'";
Command "select * from T3 where c[] like ' a,%\\)*_' escape '\\'";
Command "select * from T3 where c[] like ' a,%%\\)*' escape '\\'";
Command "select * from T4 where c[] like '\\%)*a ,_'";
Command "select * from T4 where c[] like '\\%)*_a ,' escape ' '";
Command "select * from T3 where c[] like '\\%)*_a ,'";
Command "select * from T4 where c[] like '\\%)*%a ,'";
Command "select * from T3 where c[] like ')*_ _,a\\'";
Command "select * from T3 where c[] like ')*_ %,a\\'";
Command "drop index I3";
Command "drop index I4";
Command "drop table T1";
Command "drop table T2";
Command "drop table T3";
Command "drop table T4";
TerminateSession;
InitializeSession "TESTDB";
Command "drop database TESTDB";
TerminateSession;
Terminate;
End;
