|
14 | 14 | SELECT * FROM t1 WHERE a=1 LOCK IN SHARE MODE;
|
15 | 15 | a
|
16 | 16 | 1
|
| 17 | +SELECT * FROM t1 GROUP BY a DESC; |
| 18 | +a |
| 19 | +1 |
| 20 | +2 |
| 21 | +3 |
| 22 | +SELECT * FROM t1 GROUP BY a ASC; |
| 23 | +a |
| 24 | +1 |
| 25 | +2 |
| 26 | +3 |
17 | 27 | SET @@tidb_enable_noop_functions='WARN';
|
18 | 28 | SELECT SQL_CALC_FOUND_ROWS * FROM t1 LIMIT 1;
|
19 | 29 | a
|
|
32 | 42 | 1
|
33 | 43 | Level Code Message
|
34 | 44 | Warning 1235 function LOCK IN SHARE MODE has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions
|
| 45 | +SELECT * FROM t1 GROUP BY a DESC; |
| 46 | +a |
| 47 | +1 |
| 48 | +2 |
| 49 | +3 |
| 50 | +Level Code Message |
| 51 | +Warning 1235 function GROUP BY expr ASC|DESC has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions |
| 52 | +SELECT * FROM t1 GROUP BY a ASC; |
| 53 | +a |
| 54 | +1 |
| 55 | +2 |
| 56 | +3 |
| 57 | +Level Code Message |
| 58 | +Warning 1235 function GROUP BY expr ASC|DESC has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions |
35 | 59 | SET @@tidb_enable_noop_functions='OFF';
|
36 | 60 | SELECT SQL_CALC_FOUND_ROWS * FROM t1 LIMIT 1;
|
37 | 61 | Error 1235 (42000): function SQL_CALC_FOUND_ROWS has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions
|
38 | 62 | SELECT * FROM t1 LOCK IN SHARE MODE;
|
39 | 63 | Error 1235 (42000): function LOCK IN SHARE MODE has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions
|
40 | 64 | SELECT * FROM t1 WHERE a=1 LOCK IN SHARE MODE;
|
41 | 65 | Error 1235 (42000): function LOCK IN SHARE MODE has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions
|
| 66 | +SELECT * FROM t1 GROUP BY a DESC; |
| 67 | +Error 1235 (42000): function GROUP BY expr ASC|DESC has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions |
| 68 | +SELECT * FROM t1 GROUP BY a ASC; |
| 69 | +Error 1235 (42000): function GROUP BY expr ASC|DESC has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions |
| 70 | +SET @@tidb_enable_noop_functions='ON'; |
| 71 | +START TRANSACTION READ ONLY; |
| 72 | +SET tx_read_only = 0; |
| 73 | +SET transaction_read_only = 0; |
| 74 | +SET TRANSACTION READ ONLY; |
| 75 | +SET tx_read_only = 0; |
| 76 | +SET transaction_read_only = 0; |
| 77 | +SET tx_read_only = 1; |
| 78 | +SET tx_read_only = 0; |
| 79 | +SET transaction_read_only = 0; |
| 80 | +SET transaction_read_only = 1; |
| 81 | +SET tx_read_only = 0; |
| 82 | +SET transaction_read_only = 0; |
| 83 | +SET @@tidb_enable_noop_functions='WARN'; |
| 84 | +START TRANSACTION READ ONLY; |
| 85 | +Level Code Message |
| 86 | +Warning 1235 function READ ONLY has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions |
| 87 | +SET tx_read_only = 0; |
| 88 | +SET transaction_read_only = 0; |
| 89 | +SET TRANSACTION READ ONLY; |
| 90 | +Level Code Message |
| 91 | +Warning 1235 function READ ONLY has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions |
| 92 | +SET tx_read_only = 0; |
| 93 | +SET transaction_read_only = 0; |
| 94 | +SET tx_read_only = 1; |
| 95 | +Level Code Message |
| 96 | +Warning 1235 function READ ONLY has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions |
| 97 | +SET tx_read_only = 0; |
| 98 | +SET transaction_read_only = 0; |
| 99 | +SET transaction_read_only = 1; |
| 100 | +Level Code Message |
| 101 | +Warning 1235 function READ ONLY has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions |
| 102 | +SET tx_read_only = 0; |
| 103 | +SET transaction_read_only = 0; |
| 104 | +SET @@tidb_enable_noop_functions='OFF'; |
| 105 | +START TRANSACTION READ ONLY; |
| 106 | +Error 1235 (42000): function READ ONLY has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions |
| 107 | +SET tx_read_only = 0; |
| 108 | +SET transaction_read_only = 0; |
| 109 | +SET TRANSACTION READ ONLY; |
| 110 | +Error 1235 (42000): function READ ONLY has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions |
| 111 | +SET tx_read_only = 0; |
| 112 | +SET transaction_read_only = 0; |
| 113 | +SET tx_read_only = 1; |
| 114 | +Error 1235 (42000): function READ ONLY has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions |
| 115 | +SET tx_read_only = 0; |
| 116 | +SET transaction_read_only = 0; |
| 117 | +SET transaction_read_only = 1; |
| 118 | +Error 1235 (42000): function READ ONLY has only noop implementation in tidb now, use tidb_enable_noop_functions to enable these functions |
| 119 | +SET tx_read_only = 0; |
| 120 | +SET transaction_read_only = 0; |
0 commit comments