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

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

History for ext/misc/fileio.c

2020-07-29
16:18
[d85adf62] 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: 28556)
2020-04-09
15:31
[9b69e25d] part of check-in [85d3dc8c] When compiling the shell for WinRT, avoid using Win32 APIs that are unavailable. (check-in: [85d3dc8c] user: mistachkin branch: trunk, size: 28557)
2020-01-07
19:45
[bfa11a20] 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: 28529)
2019-03-26
16:21
[288e7230] part of check-in [a063f7c4] Fix harmless compiler warnings. (check-in: [a063f7c4] user: drh branch: trunk, size: 28375)
2019-03-25
15:06
[54dff4a2] part of check-in [f11c8959] Fix the writefile() SQL function implemented by ext/misc/fileio.c such that any directories created have standard umask permissions, not permissions of the file that is to be written. (check-in: [f11c8959] user: drh branch: trunk, size: 28360)
2019-03-20
05:45
[b8e9421e] part of check-in [1c0fe5b5] Fix various harmless compiler warnings seen with MSVC. (check-in: [1c0fe5b5] user: mistachkin branch: noWarnings, size: 28363)
2019-02-27
19:59
[e7864c39] part of check-in [0edad533] Fix the readfile() UDF so that it returns an empty BLOB, not an OOM error, when reading an empty file. (check-in: [0edad533] user: drh branch: trunk, size: 28355)
2019-01-11
23:08
[592d6531] part of check-in [b49d56a0] Use 64-bit APIs in the fileio.c extension. (check-in: [b49d56a0] user: drh branch: trunk, size: 28343)
17:20
[801d2ac9] part of check-in [d2f0b5a4] Improved detection and reporting of errors in the readfile() extension SQL function. (check-in: [d2f0b5a4] user: drh branch: trunk, size: 28339)
2019-01-08
20:02
[03ba86d5] part of check-in [ca67f2ec] Use 64-bit math to compute the sizes of memory allocations in extensions. (check-in: [ca67f2ec] user: drh branch: trunk, size: 27626)
2018-11-16
13:56
[e3153b04] part of check-in [684013ce] Enhance the xBestIndex interface of virtual table so that if the xBestIndex method returns SQLITE_CONSTRAINT then that particular combination of constraints is considered unusable and does not participate further in query planning. (check-in: [684013ce] user: drh branch: trunk, size: 27602)
13:06
[45acde5c] part of check-in [c537c9c3] Fix comments and make magic numbers into #defines in the fsdir implementation. (check-in: [c537c9c3] user: drh branch: trunk, size: 26944)
08:36
[df4ac09b] part of check-in [7fffcee0] Fix a problem with virtual table "fsdir" and some join queries. (check-in: [7fffcee0] user: dan branch: trunk, size: 26125)
2018-11-05
23:01
[70f933c2] part of check-in [31942b3d] Initial code to make shadow tables read-only to ordinary SQL. The now xShadowName method is added to the sqlite3_module object and is used to identify potential shadow tables. The SQLITE_PREPARE_SHADOW argument to sqlite3_prepare_v3() is defined. It is designed to permit writing to shadow tables, but is currently an unused placeholder. (check-in: [31942b3d] user: drh branch: read-only-shadow, size: 26091)
2018-09-08
16:53
[7317d825] part of check-in [e812e5d5] Fix typo in the Win32-specific code for the fileio extension. (check-in: [e812e5d5] user: mistachkin branch: trunk, size: 26042)
2018-03-23
00:31
[48c7751c] part of check-in [2f2be1b1] Fix harmless compiler warnings seen with MSVC. (check-in: [2f2be1b1] user: mistachkin branch: trunk, size: 26041)
2018-03-16
23:54
[da441efc] part of check-in [9d2b0f8b] Win32 portability fixes to the 'fileio' extension. (check-in: [9d2b0f8b] user: mistachkin branch: testFixes, size: 25991)
2018-03-15
05:25
[673d6bde] part of check-in [48641010] Draft fix for an fsdir() issue reported via the mailing list. (check-in: [48641010] user: mistachkin branch: fsDirFix, size: 23256)
2018-01-29
19:47
[4cad3a78] part of check-in [438c5c52] Add unix-only tests to check that the "unzip" program can unpack archives generated by the zipfile extension. (check-in: [438c5c52] user: dan branch: trunk, size: 23238)
2018-01-23
15:26
[bd2f717b] part of check-in [f785b904] Fix the modification-time setting logic in the fileio.c extension on Windows so that it works with utf8 filenames. (check-in: [f785b904] user: drh branch: trunk, size: 23238)
2018-01-17
13:15
[06bd79dc] part of check-in [bfbeffab] Fix harmless compiler warnings, mostly unused parameters for UDFs in the CLI. (check-in: [bfbeffab] user: drh branch: trunk, size: 23053)
2018-01-12
14:34
[777c13f0] part of check-in [30ed7a4b] Always use utimes() instead of utimensat() since the latter is not available even on some recent unix systems. (check-in: [30ed7a4b] user: drh branch: trunk, size: 22801)
2018-01-10
17:19
[1194228c] part of check-in [52d12ba9] In the fileio.c extension, change the filetype(MODE) function into lsmode(MODE). Use the new lsmode(MODE) function in shell.c. (check-in: [52d12ba9] user: drh branch: archive-improvements, size: 22726)
15:53
[19d4e559] part of check-in [58c0c74c] Add the "filetype()" SQL function for interpreting file modes to the fileio.c extension. (check-in: [58c0c74c] user: drh branch: archive-improvements, size: 22520)
2018-01-09
14:27
[5176893c] part of check-in [a7446d32] Attempt to fix the fileio.c extension so that it builds on MinGW-64. (check-in: [a7446d32] user: drh branch: trunk, size: 21845)
02:27
[8bc72771] part of check-in [cba0206a] Avoid a compiler warning when building with newer versions of MinGW (check-in: [cba0206a] user: drh branch: trunk, size: 21846)
2018-01-08
17:09
[edf880df] part of check-in [6dcba669] Remove a superfluous define from the 'fileio' extension when compiled for Win32. (check-in: [6dcba669] user: mistachkin branch: trunk, size: 21820)
2018-01-07
23:28
[672e89e1] part of check-in [90cb01d8] Avoid the use of utimensat() on older unix platforms. (check-in: [90cb01d8] user: drh branch: trunk, size: 21848)
2018-01-05
18:51
[f16e2ef8] part of check-in [1d6cee9a] Fix a bug introduced by efforts to reduce compiler warnings in check-in [364ac333b030f0] (check-in: [1d6cee9a] user: drh branch: sqlar-shell-support, size: 21594)
17:10
[1e369470] part of check-in [19aabccf] Fix compiler warnings. (check-in: [19aabccf] user: mistachkin branch: sqlar-shell-support, size: 21577)
14:55
[86498434] part of check-in [364ac333] Fix compiler warnings. (check-in: [364ac333] user: drh branch: sqlar-shell-support, size: 21556)
2018-01-04
23:49
[868aa057] part of check-in [4f344406] In the 'fileio' extension code for Win32, use the FILE_FLAG_BACKUP_SEMANTICS flag when setting the file times, just in case the file is actually a directory. (check-in: [4f344406] user: mistachkin branch: sqlar-shell-support, size: 21560)
22:46
[16cf8d9b] part of check-in [335387f9] Get the shell enhancements compiling with MSVC. (check-in: [335387f9] user: mistachkin branch: sqlar-shell-support, size: 21529)
2017-12-14
19:15
[014152d4] part of check-in [7b51269c] Have the writefile() function optionally set the modification-time of the files it writes or creates. And many small fixes to the new code on this branch. (check-in: [7b51269c] user: dan branch: sqlar-shell-support, size: 20424)
2017-12-12
20:04
[29b7fc94] part of check-in [38dbeb1e] Add support for parsing options in non-traditional tar form to the ".ar" command. Have writefile() attempt to create any missing path components. And not to throw an exception if it is called to create a directory that already exists. (check-in: [38dbeb1e] user: dan branch: sqlar-shell-support, size: 17398)
2017-12-11
20:22
[238d0c65] part of check-in [0394889a] Enhance virtual table "fsdir" in ext/misc/fileio.c. Add support for "-C" to the shell command's ".ar c" command. (check-in: [0394889a] user: dan branch: sqlar-shell-support, size: 15497)
2017-12-07
21:03
[c84ec9c3] part of check-in [0cc699d1] Add the ".ar x" command to the shell. For extracting the contents of sqlar archives. (check-in: [0cc699d1] user: dan branch: sqlar-shell-support, size: 14178)
15:44
[bd2dd9bd] part of check-in [c9827a01] Begin adding support for the sqlar archive format to shell.c. There is no "extract" command so far, only "create". (check-in: [c9827a01] user: dan branch: sqlar-shell-support, size: 12719)
2017-07-11
18:11
[b1aa06c0] part of check-in [55e93f25] Fix harmless compiler warnings in the core. (check-in: [55e93f25] user: drh branch: trunk, size: 2597)
2014-08-11
14:21
[d4171c81] part of check-in [52b03f04] Fix harmless compiler warnings. (check-in: [52b03f04] user: drh branch: trunk, size: 2517)
2014-06-16
12:51
[beea82bb] part of check-in [baf95a19] Fix the extension01.test script so that it works on windows. Fix a harmless compiler warning in the fileio extension. (check-in: [baf95a19] user: drh branch: trunk, size: 2548)
2014-06-13
13:43
Added: [2927bf83] part of check-in [0ca104d8] Add the fileio.c loadable extension, that implements readfile() and writefile() SQL functions. (check-in: [0ca104d8] user: drh branch: trunk, size: 2539)