Open yexiaoli88 opened 6 years ago
need reproduce after update druid @yexiaoli88
version :5.6.29-dble-9.9.9.9-6d0b936-20181101023043 still have bug:
mysql> select * from test_no_shard where R_NAME=_latin1 b'1000001';
ERROR 1064 (HY000): sql syntax error, no terminated. IDENTIFIER
mysql> select * from test_no_shard where R_NAME=_utf8 0b1000001 COLLATE utf8_danish_ci;
ERROR 1064 (HY000): sql syntax error, no terminated. LITERAL_INT
mysql> select *,_latin1 b'1000001' from test_no_shard;
ERROR 1064 (HY000): sql syntax error, no terminated. LITERAL_CHARS
mysql> select * from a_test t use key(k_1) use index(pad_index) use index();
ERROR 1064 (HY000): sql syntax error, no terminated. USE
mysql> select * from a_test t ignore key(k_1) use index(pad_index) use index();
ERROR 1064 (HY000): sql syntax error, no terminated. USE
mysql> select * from a_test t ignore key(k_1) ignore index(pad_index) use index();
ERROR 1064 (HY000): sql syntax error, no terminated. IDENTIFIER
mysql> select id,t_id,name,pad from test_global t use key(k_1) use index(pad_index) use index();
ERROR 1064 (HY000): sql syntax error, no terminated. USE
mysql> select id,t_id,name,pad from test_global t ignore key(k_1) use index(pad_index) use index();
ERROR 1064 (HY000): sql syntax error, no terminated. USE
mysql> select id,t_id,name,pad from test_global t ignore key(k_1) ignore index(pad_index) use index();
ERROR 1064 (HY000): sql syntax error, no terminated. IDENTIFIER
mysql> select * from a_test_no_shard t use key(k_1) use index(pad_index) use index();
ERROR 1064 (HY000): sql syntax error, no terminated. USE
mysql> select * from a_test_no_shard t ignore key(k_1) use index(pad_index) use index();
ERROR 1064 (HY000): sql syntax error, no terminated. USE
mysql> select * from a_test_no_shard t ignore key(k_1) ignore index(pad_index) use index();
ERROR 1064 (HY000): sql syntax error, no terminated. IDENTIFIER
mysql> select id,t_id,name,pad from a_test t use key(k_1) use index(pad_index) use index();
ERROR 1064 (HY000): sql syntax error, no terminated. USE
mysql> select id,t_id,name,pad from a_test t ignore key(k_1) use index(pad_index) use index();
ERROR 1064 (HY000): sql syntax error, no terminated. USE
mysql> select id,t_id,name,pad from a_test t ignore key(k_1) ignore index(pad_index) use index();
ERROR 1064 (HY000): sql syntax error, no terminated. IDENTIFIER
mysql> SELECT @abc123, @123abc, @row_format=1, @$ := @t1+@t2+@t3;
ERROR 1064 (HY000): sql syntax error, no terminated. COLONEQ
dble version:version: 5.6.29-dble-9.9.9.9-8303bcf-20180821024605
configs:
rule.xml
schema.xml
/label ~BUG