]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
#if'd out the the '.cd' and '.clone' commands for WASM builds.
authorstephan <stephan@noemail.net>
Thu, 19 May 2022 21:56:50 +0000 (21:56 +0000)
committerstephan <stephan@noemail.net>
Thu, 19 May 2022 21:56:50 +0000 (21:56 +0000)
FossilOrigin-Name: fa391868dd626ffdb220bed6834d0a10c7336f0fc4ca56055147784de1a4f99d

manifest
manifest.uuid
src/shell.c.in

index ea0147b70069c7a0356d7819bdddcca1c035f23a..42336e1a433f20f103547ce715b297579c407e6c 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C fiddle:\sconsolidated\stwo\sduplicate\sCSS\srules.\sInternal\sdoc\stypo\sfix.
-D 2022-05-19T18:14:34.923
+C #if'd\sout\sthe\sthe\s'.cd'\sand\s'.clone'\scommands\sfor\sWASM\sbuilds.
+D 2022-05-19T21:56:50.043
 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
 F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
@@ -559,7 +559,7 @@ F src/random.c 097dc8b31b8fba5a9aca1697aeb9fd82078ec91be734c16bffda620ced7ab83c
 F src/resolve.c a4eb3c617027fd049b07432f3b942ea7151fa793a332a11a7d0f58c9539e104f
 F src/rowset.c ba9515a922af32abe1f7d39406b9d35730ed65efab9443dc5702693b60854c92
 F src/select.c 74060a09f66c0c056f3c61627e22cb484af0bbfa29d7d14dcf17c684742c15de
-F src/shell.c.in cc3e19b2d2eefbadc4139b016c097d6478eae01d14eca993368ee5cff8820fff
+F src/shell.c.in 3316815dd4aba4ad151f9a46d540a24197e5b1d9b91eb9a6a2822ea6863b0fac
 F src/sqlite.h.in d15c307939039086adca159dd340a94b79b69827e74c6d661f343eeeaefba896
 F src/sqlite3.rc 5121c9e10c3964d5755191c80dd1180c122fc3a8
 F src/sqlite3ext.h a988810c9b21c0dc36dc7a62735012339dc76fc7ab448fb0792721d30eacb69d
@@ -1959,8 +1959,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
 F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
 F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
-P 75b4f574089c4969d2f2c3615a52029e98515e36390c530cdf63f15f4f687a1d
-R fb2d54ddd3f554e5c22b5659dde450fa
+P d3175a793fb2d1ac9ecfd7a7c3b1627fe583effcd37740206a11b115f099d521
+R 42d0ca5c67ceea270880218da3bcbfc1
 U stephan
-Z 5ad105357a05d0508e7ab1b6ce2c1d25
+Z b82e2305c283c356a7fd95759eb9583d
 # Remove this line to create a well-formed Fossil manifest.
index 3e02de6bdf8be5593037cd9a6ba660ca14bcdbcc..41cc92e7045074108d2ef872b987315b6313bc68 100644 (file)
@@ -1 +1 @@
-d3175a793fb2d1ac9ecfd7a7c3b1627fe583effcd37740206a11b115f099d521
\ No newline at end of file
+fa391868dd626ffdb220bed6834d0a10c7336f0fc4ca56055147784de1a4f99d
\ No newline at end of file
index 9a0859293b8f67499f30d92297eca14c38e203ac..6950dcf4eed09429423ca31a84a8225a32746b0e 100644 (file)
@@ -4282,10 +4282,14 @@ static const char *(azHelp[]) = {
 #endif
   ".bail on|off             Stop after hitting an error.  Default OFF",
   ".binary on|off           Turn binary output on or off.  Default OFF",
+#ifndef SQLITE_SHELL_WASM_MODE
   ".cd DIRECTORY            Change the working directory to DIRECTORY",
+#endif
   ".changes on|off          Show number of rows changed by SQL",
   ".check GLOB              Fail if output since .testcase does not match",
+#ifndef SQLITE_SHELL_WASM_MODE
   ".clone NEWDB             Clone data into NEWDB from the existing database",
+#endif
   ".connection [close] [#]  Open or close an auxiliary database connection",
   ".databases               List names and files of attached databases",
   ".dbconfig ?op? ?val?     List or change sqlite3_db_config() options",
@@ -8274,6 +8278,7 @@ static int do_meta_command(char *zLine, ShellState *p){
     test_breakpoint();
   }else
 
+#ifndef SQLITE_SHELL_WASM_MODE
   if( c=='c' && strcmp(azArg[0],"cd")==0 ){
     failIfSafeMode(p, "cannot run .cd in safe mode");
     if( nArg==2 ){
@@ -8293,6 +8298,7 @@ static int do_meta_command(char *zLine, ShellState *p){
       rc = 1;
     }
   }else
+#endif /* !defined(SQLITE_SHELL_WASM_MODE) */
 
   if( c=='c' && n>=3 && strncmp(azArg[0], "changes", n)==0 ){
     if( nArg==2 ){
@@ -8328,6 +8334,7 @@ static int do_meta_command(char *zLine, ShellState *p){
     sqlite3_free(zRes);
   }else
 
+#ifndef SQLITE_SHELL_WASM_MODE
   if( c=='c' && strncmp(azArg[0], "clone", n)==0 ){
     failIfSafeMode(p, "cannot run .clone in safe mode");
     if( nArg==2 ){
@@ -8337,6 +8344,7 @@ static int do_meta_command(char *zLine, ShellState *p){
       rc = 1;
     }
   }else
+#endif /* !defined(SQLITE_SHELL_WASM_MODE) */
 
   if( c=='c' && strncmp(azArg[0], "connection", n)==0 ){
     if( nArg==1 ){