mirror of
https://github.com/sqlite/sqlite.git
synced 2025-12-10 22:22:40 +03:00
Prevent the implementation of the toreal() SQL function from being 'optimized' by MSVC.
FossilOrigin-Name: 047bd1c24553b00ccf12d7745bb4c46820b91f5e
This commit is contained in:
12
manifest
12
manifest
@@ -1,5 +1,5 @@
|
|||||||
C Merge\supdates\sfrom\strunk.
|
C Prevent\sthe\simplementation\sof\sthe\storeal()\sSQL\sfunction\sfrom\sbeing\s'optimized'\sby\sMSVC.
|
||||||
D 2013-08-29T01:11:45.298
|
D 2013-08-29T01:17:24.949
|
||||||
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
|
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
|
||||||
F Makefile.in 5e41da95d92656a5004b03d3576e8b226858a28e
|
F Makefile.in 5e41da95d92656a5004b03d3576e8b226858a28e
|
||||||
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
|
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
|
||||||
@@ -175,7 +175,7 @@ F src/delete.c 2317c814866d9aa71fea16b3faf4fdd4d6a49b94
|
|||||||
F src/expr.c 4d89bd03a04fcdb5ff71d86b4e0cc7d3230797b8
|
F src/expr.c 4d89bd03a04fcdb5ff71d86b4e0cc7d3230797b8
|
||||||
F src/fault.c 160a0c015b6c2629d3899ed2daf63d75754a32bb
|
F src/fault.c 160a0c015b6c2629d3899ed2daf63d75754a32bb
|
||||||
F src/fkey.c 914a6bbd987d857c41ac9d244efa6641f36faadb
|
F src/fkey.c 914a6bbd987d857c41ac9d244efa6641f36faadb
|
||||||
F src/func.c 6099094d90f401c9fe7ed565d16b6ab07926960e
|
F src/func.c 5c85fed36b47a484e8b85c6528348f83ec5f8855
|
||||||
F src/global.c 5caf4deab621abb45b4c607aad1bd21c20aac759
|
F src/global.c 5caf4deab621abb45b4c607aad1bd21c20aac759
|
||||||
F src/hash.c ac3470bbf1ca4ae4e306a8ecb0fdf1731810ffe4
|
F src/hash.c ac3470bbf1ca4ae4e306a8ecb0fdf1731810ffe4
|
||||||
F src/hash.h 8890a25af81fb85a9ad7790d32eedab4b994da22
|
F src/hash.h 8890a25af81fb85a9ad7790d32eedab4b994da22
|
||||||
@@ -1109,7 +1109,7 @@ F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
|
|||||||
F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381
|
F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381
|
||||||
F tool/wherecosttest.c f407dc4c79786982a475261866a161cd007947ae
|
F tool/wherecosttest.c f407dc4c79786982a475261866a161cd007947ae
|
||||||
F tool/win/sqlite.vsix 97894c2790eda7b5bce3cc79cb2a8ec2fde9b3ac
|
F tool/win/sqlite.vsix 97894c2790eda7b5bce3cc79cb2a8ec2fde9b3ac
|
||||||
P abe82c634ccda7d62687df5917d18a9d6e411142 9229aeb361f9805894321327d05aba855b8799f3
|
P 375dfe288fd0c4eb3c343a3cb23a7e3851903805
|
||||||
R 37bb2eb70562f6e2f1a6470983432e85
|
R 7c55303025c97a6a9c8303db7e5df83c
|
||||||
U mistachkin
|
U mistachkin
|
||||||
Z 8236c13d7d380aaddad2f7d32e5c8a7f
|
Z 349da4d5082e6d065b9211864249410e
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
375dfe288fd0c4eb3c343a3cb23a7e3851903805
|
047bd1c24553b00ccf12d7745bb4c46820b91f5e
|
||||||
@@ -1015,6 +1015,9 @@ static void tointegerFunc(
|
|||||||
** toreal(X): If X can be losslessly converted into a real number, then
|
** toreal(X): If X can be losslessly converted into a real number, then
|
||||||
** do so and return that real number. Otherwise return NULL.
|
** do so and return that real number. Otherwise return NULL.
|
||||||
*/
|
*/
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
#pragma optimize("", off)
|
||||||
|
#endif
|
||||||
static void torealFunc(
|
static void torealFunc(
|
||||||
sqlite3_context *context,
|
sqlite3_context *context,
|
||||||
int argc,
|
int argc,
|
||||||
@@ -1056,6 +1059,9 @@ static void torealFunc(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
#pragma optimize("", on)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The unicode() function. Return the integer unicode code-point value
|
** The unicode() function. Return the integer unicode code-point value
|
||||||
|
|||||||
Reference in New Issue
Block a user