727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
|
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=copy_text_to_plain(buf,w,sqlite3_column_text(st,nc));
if(dc->form[0]=='R') 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) {
co=0xFF;
|
|
|
|
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
|
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(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) {
co=0xFF;
|