SQLite

All files named "ext/misc/csv.c"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for ext/misc/csv.c

2023-10-06
12:51
[575c2c05] part of check-in [f3b3d712] Ensure that all fields of static sqlite3_module objects are explicitly initialized, in order to hush-up nuisance compiler warnings. (check-in: [f3b3d712] user: drh branch: trunk, size: 29669)
2022-07-06
15:44
[ca8d6daf] part of check-in [587795d4] Avoid ignoring the last line of a csv file if the final field is empty and there is no trailing CFLS. Also have the csv extension treat the last line of a file in the same way as any other line if it is short fields. (check-in: [587795d4] user: dan branch: trunk, size: 29229)
2022-07-05
17:49
[ed30e569] part of check-in [b12ddabf] Fix a problem in the csv extension that was triggered when the very first field in the csv file is zero bytes in size. (check-in: [b12ddabf] user: dan branch: trunk, size: 29263)
2022-02-21
13:44
[d1470909] part of check-in [e25e3358] Remove stray tab characters from auxiliary source code files. (check-in: [e25e3358] user: drh branch: trunk, size: 28996)
2020-10-07
11:24
[53b3338d] part of check-in [54b54f02] In the CSV extension, use SQLITE_TRANSIENT rather than SQLITE_STATIC on return values that can in fact change. (check-in: [54b54f02] user: drh branch: trunk, size: 28997)
2020-07-29
16:18
[f651c8b2] part of check-in [a80ae2c9] Dozens and dozens of typo fixes in comments. This change adds no value to the end product and is disruptive, so it is questionable whether or not it will ever land on trunk. (check-in: [a80ae2c9] user: drh branch: typos, size: 28997)
2020-01-07
19:45
[3ed979c1] part of check-in [4c21373c] Create the "trusted_schema" pragma. Add sqlite3_vtab_config() calls to set the risk rank for many virtual tables. (check-in: [4c21373c] user: drh branch: new-security-options, size: 28994)
2019-01-03
15:22
[7f047aeb] part of check-in [fbcd7256] Fix a harmless compiler warning in the CSV extension. (check-in: [fbcd7256] user: drh branch: trunk, size: 28486)
2018-12-26
12:50
[a8e779a3] part of check-in [7acaed08] Fix a problem with the CSV extension when it uses the "header" option on a real file. (check-in: [7acaed08] user: drh branch: trunk, size: 28479)
2018-11-16
01:42
[88333dc9] part of check-in [0406ecbb] Improvements to the CSV virtual table. (check-in: [0406ecbb] user: drh branch: trunk, size: 28457)
2018-06-02
12:05
[65297bcc] part of check-in [e336cf00] Fix the CSV extension so that it works with single-column CSV files. (check-in: [e336cf00] user: drh branch: trunk, size: 26861)
2018-04-24
10:57
[d1e324fa] part of check-in [526ee07d] Fix a memory leak following failure to open an external CSV file in the csv.c extension. (check-in: [526ee07d] user: drh branch: trunk, size: 26916)
2017-09-18
00:18
[1a009b93] part of check-in [42f07775] Fix the CSV virtual table extension so that it works when the default character is unsigned. (check-in: [42f07775] user: drh branch: trunk, size: 26888)
2017-08-08
20:03
[b10ea114] part of check-in [537e3be2] Enhance the CSV virtual table extension so that it accepts the last row of the CSV file even if the last row omits the closing \n, as long as the last row has a full set of columns. (check-in: [537e3be2] user: drh branch: trunk, size: 26870)
2017-06-28
15:17
[d91c0388] part of check-in [f02a5459] Fix harmless compiler warnings in the CSV extension. (check-in: [f02a5459] user: drh branch: trunk, size: 26840)
2017-06-26
18:42
[934ed645] part of check-in [7c15d762] The ".import" command of the shell, and the csv virtual table extension both ignore a single UTF-8 BOM at the beginning of their input. (check-in: [7c15d762] user: drh branch: trunk, size: 26828)
2016-11-09
01:46
[531a46cb] part of check-in [b4889588] Fix typo in the CSV extension. (check-in: [b4889588] user: mistachkin branch: trunk, size: 26289)
2016-07-22
21:26
[816a3715] part of check-in [8bb6e6fc] Fix harmless compiler warnings seen with MSVC. (check-in: [8bb6e6fc] user: mistachkin branch: trunk, size: 26289)
2016-07-15
02:50
[f51b0566] part of check-in [ec718089] Disable the CSV extension when virtual tables are disabled. (check-in: [ec718089] user: drh branch: trunk, size: 26232)
2016-07-09
16:38
[b92692b0] part of check-in [8b22f777] Fix compiler warnings on windows. (check-in: [8b22f777] user: drh branch: trunk, size: 26083)
2016-06-03
01:01
[f01126ba] part of check-in [3134b326] Performance optimizations on the CSV virtual table. Disallow WITHOUT ROWID virtual tables that have an xUpdate method, for now. (check-in: [3134b326] user: drh branch: without-rowid-vtab, size: 26074)
2016-06-02
23:13
[58ad4e9e] part of check-in [95f483e8] Add the CSV extension to the test fixture. Fix a memory leak in the CSV extension. Add test cases for the CSV extension, including one that uses a WITHOUT ROWID virtual table participating in the OR optimization. (check-in: [95f483e8] user: drh branch: without-rowid-vtab, size: 23398)
17:44
[d4f6f077] part of check-in [76919104] Add the data= parameter to the CSV virtual table extension. (check-in: [76919104] user: drh branch: without-rowid-vtab, size: 23372)
2016-05-31
18:44
[39060a35] part of check-in [28ebeadd] Add the columns=N parameter to the CSV extension. (check-in: [28ebeadd] user: drh branch: trunk, size: 20222)
18:08
[d9b1dac6] part of check-in [b93fb2fe] Add the testflags parameter to the csv extension. (check-in: [b93fb2fe] user: drh branch: trunk, size: 18535)
16:22
Added: [386ea82a] part of check-in [00d3570c] Add the "csv" virtual table for reading CSV files, as an extension in the ext/misc/ subfolder. (check-in: [00d3570c] user: drh branch: trunk, size: 17514)