Snapshot of upstream SQLite 3.8.0.1

This commit is contained in:
Nick Parker
2013-08-30 16:04:26 -05:00
parent 7c0cc33aab
commit 679f2be40c
9 changed files with 142 additions and 30 deletions
+1 -1
View File
@@ -1717,7 +1717,7 @@ static char *csv_read_one_field(CSVReader *p){
}
if( (c==cSep && pc==cQuote)
|| (c=='\n' && pc==cQuote)
|| (c=='\n' && pc=='\r' && p->n>2 && p->z[p->n-2]==cQuote)
|| (c=='\n' && pc=='\r' && p->n>=2 && p->z[p->n-2]==cQuote)
|| (c==EOF && pc==cQuote)
){
do{ p->n--; }while( p->z[p->n]!=cQuote );