mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Interchange to branches within an "if" statement in sqlite3_value_pointer()
in order to work around a bug in gcc. FossilOrigin-Name: 8a606e4abab4efa03f2e5ffc33d7c5faa3c663f339da87b4ce9f3feed5dc7194
This commit is contained in:
@@ -202,8 +202,8 @@ unsigned int sqlite3_value_subtype(sqlite3_value *pVal){
|
||||
void *sqlite3_value_pointer(sqlite3_value *pVal, const char *zPType){
|
||||
Mem *p = (Mem*)pVal;
|
||||
if( p->flags==(MEM_Null|MEM_Subtype|MEM_Term|MEM_Static)
|
||||
&& p->eSubtype=='p'
|
||||
&& zPType!=0
|
||||
&& p->eSubtype=='p'
|
||||
&& strcmp(p->z, zPType)==0
|
||||
){
|
||||
return p->u.pPtr;
|
||||
|
Reference in New Issue
Block a user