| OLD | NEW |
| 1 # 2014-07-23 | 1 # 2014-07-23 |
| 2 # | 2 # |
| 3 # The author disclaims copyright to this source code. In place of | 3 # The author disclaims copyright to this source code. In place of |
| 4 # a legal notice, here is a blessing: | 4 # a legal notice, here is a blessing: |
| 5 # | 5 # |
| 6 # May you do good and not evil. | 6 # May you do good and not evil. |
| 7 # May you find forgiveness for yourself and forgive others. | 7 # May you find forgiveness for yourself and forgive others. |
| 8 # May you share freely, never taking more than you give. | 8 # May you share freely, never taking more than you give. |
| 9 # | 9 # |
| 10 #*********************************************************************** | 10 #*********************************************************************** |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 } {0} | 105 } {0} |
| 106 | 106 |
| 107 # Oversized hex literals are rejected | 107 # Oversized hex literals are rejected |
| 108 # | 108 # |
| 109 do_catchsql_test hexlist-400 { | 109 do_catchsql_test hexlist-400 { |
| 110 SELECT 0x10000000000000000; | 110 SELECT 0x10000000000000000; |
| 111 } {1 {hex literal too big: 0x10000000000000000}} | 111 } {1 {hex literal too big: 0x10000000000000000}} |
| 112 do_catchsql_test hexlist-401 { | 112 do_catchsql_test hexlist-401 { |
| 113 SELECT DISTINCT 0x10000000000000000; | 113 SELECT DISTINCT 0x10000000000000000; |
| 114 } {1 {hex literal too big: 0x10000000000000000}} | 114 } {1 {hex literal too big: 0x10000000000000000}} |
| 115 do_catchsql_test hexlist-402 { |
| 116 SELECT DISTINCT -0x08000000000000000; |
| 117 } {1 {hex literal too big: -0x08000000000000000}} |
| 115 do_catchsql_test hexlist-410 { | 118 do_catchsql_test hexlist-410 { |
| 116 DROP TABLE IF EXISTS t1; | 119 DROP TABLE IF EXISTS t1; |
| 117 CREATE TABLE t1(x); | 120 CREATE TABLE t1(x); |
| 118 INSERT INTO t1 VALUES(1+0x10000000000000000); | 121 INSERT INTO t1 VALUES(1+0x10000000000000000); |
| 119 } {1 {hex literal too big: 0x10000000000000000}} | 122 } {1 {hex literal too big: 0x10000000000000000}} |
| 120 | 123 |
| 121 | 124 |
| 122 finish_test | 125 finish_test |
| OLD | NEW |