881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
|
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
|
-
+
|
int i;
const char*p;
sqlite3_int64 v;
if(t==SQLITE_NULL) return;
if(dc->flag&1) w=255;
if(t==SQLITE_BLOB || t==SQLITE_TEXT) {
blob:
i=snprintf(buf,w,"%s",sqlite3_column_text(st,nc));
if(p=sqlite3_column_text(st,nc)) i=snprintf(buf,w,"%s",p); else *buf=i=0;
if(dc->form[0]=='R' && i<w) a=w-i;
if(dc->flag&2) co=0xFF;
} else {
// This implementation does not check that the format is necessarily valid.
// You should not rely on the use of any undocumented format.
v=sqlite3_column_int64(st,nc);
if(dc->flag&2) {
|