mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
Test cases for hex literals.
FossilOrigin-Name: 19054339c47448bcdfd1f7be35daa3826c409077
This commit is contained in:
@@ -335,7 +335,7 @@ int sqlite3AtoF(const char *z, double *pResult, int length, u8 enc){
|
||||
z+=incr;
|
||||
}
|
||||
#ifndef SQLITE_OMIT_HEX_INTEGER
|
||||
else if( *z==0
|
||||
else if( *z=='0'
|
||||
&& &z[incr*2]<zEnd
|
||||
&& (z[incr]=='x' || z[incr]=='X')
|
||||
&& sqlite3Isxdigit(z[incr*2])
|
||||
|
||||
Reference in New Issue
Block a user