mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Ignore leading spaces on text to numeric conversions. Ticket #1662.
Fixes to test cases broken by the recent changes to round(). (CVS 3118) FossilOrigin-Name: cdca3383c54b33aeafbbdbbb4ae7c90796cf66e5
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.50 2006/01/21 12:08:54 danielk1977 Exp $
|
||||
# $Id: expr.test,v 1.51 2006/03/03 19:12:30 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -620,7 +620,7 @@ set sqlite_current_time 0
|
||||
|
||||
do_test expr-9.1 {
|
||||
execsql {SELECT round(-('-'||'123'))}
|
||||
} 123
|
||||
} 123.0
|
||||
|
||||
# Test an error message that can be generated by the LIKE expression
|
||||
do_test expr-10.1 {
|
||||
|
Reference in New Issue
Block a user