sqlite
[Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI.
Brought by drakestapleton
| 1 | # 2018 May 19 |
| 2 | # |
| 3 | # The author disclaims copyright to this source code. In place of |
| 4 | # a legal notice, here is a blessing: |
| 5 | # |
| 6 | # May you do good and not evil. |
| 7 | # May you find forgiveness for yourself and forgive others. |
| 8 | # May you share freely, never taking more than you give. |
| 9 | # |
| 10 | #*********************************************************************** |
| 11 | # |
| 12 | |
| 13 | source [file join [file dirname $argv0] pg_common.tcl] |
| 14 | |
| 15 | #========================================================================= |
| 16 | |
| 17 | |
| 18 | start_test literal2 "2024 Jan 23" |
| 19 | |
| 20 | execsql_test 1.0 { SELECT 123_456 } |
| 21 | errorsql_test 1.1 { SELECT 123__456 } |
| 22 | |
| 23 | execsql_float_test 2.1 { SELECT 1.0e1_2 } |
| 24 | |
| 25 | |
| 26 | execsql_test 3.0.0 { SELECT 0xFF_FF } |
| 27 | execsql_test 3.0.1 { SELECT 0xFF_EF } |
| 28 | errorsql_test 3.0.2 { SELECT 0xFF__EF } |
| 29 | # errorsql_test 3.0.3 { SELECT 0x_FFEF } |
| 30 | errorsql_test 3.0.4 { SELECT 0xFFEF_ } |
| 31 | |
| 32 | execsql_test 3.1.0 { SELECT 0XFF_FF } |
| 33 | execsql_test 3.1.1 { SELECT 0XFF_EF } |
| 34 | errorsql_test 3.1.2 { SELECT 0XFF__EF } |
| 35 | # errorsql_test 3.1.3 { SELECT 0X_FFEF } |
| 36 | errorsql_test 3.1.4 { SELECT 0XFFEF_ } |
| 37 | |
| 38 | finish_test |
| 39 | |
| 40 |