mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Allow sqlite3GetInt32 to recognize 10-digit decimal numbers as 32-bit. (CVS 4362)
FossilOrigin-Name: 7571345d2078fb52029f9b9924d833ec36d443e6
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this file is testing expressions.
|
||||
#
|
||||
# $Id: expr.test,v 1.57 2007/06/26 11:13:27 danielk1977 Exp $
|
||||
# $Id: expr.test,v 1.58 2007/09/01 10:01:13 danielk1977 Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -688,4 +688,10 @@ do_test expr-12.2 {
|
||||
}
|
||||
} {1 {near ")": syntax error}}
|
||||
|
||||
do_test expr-13.1 {
|
||||
execsql {
|
||||
SELECT 12345678901234567890;
|
||||
}
|
||||
} {1.23456789012346e+19}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user