mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-18 10:21:03 +03:00
Change all SQLITE3 preprocessor macros to SQLITE. Documentation updates. (CVS 1511)
FossilOrigin-Name: adf7e29ff60dc559f64832fadb09f0b9decc0e76
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
** ROLLBACK
|
||||
** PRAGMA
|
||||
**
|
||||
** $Id: build.c,v 1.204 2004/05/31 11:51:45 danielk1977 Exp $
|
||||
** $Id: build.c,v 1.205 2004/05/31 18:51:58 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include <ctype.h>
|
||||
@@ -886,6 +886,9 @@ char sqlite3AffinityType(const char *zType, int nType){
|
||||
{"BLOB", 4, SQLITE_AFF_NONE},
|
||||
};
|
||||
|
||||
if( nType==0 ){
|
||||
return SQLITE_AFF_NONE;
|
||||
}
|
||||
for(i=0; i<sizeof(substrings)/sizeof(substrings[0]); i++){
|
||||
int c1 = substrings[i].zSub[0];
|
||||
int c2 = tolower(c1);
|
||||
|
||||
Reference in New Issue
Block a user