SHARE
TWEET

Untitled

a guest Jan 24th, 2020 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   cat "database.sql" | sqlite3 "$database_file";
  2.  
  3.   # Create temporary table to keep track of paths and parents.
  4.   local query="CREATE TEMPORARY TABLE temp_filepath (
  5.                  path VARCHAR(4096) NOT NULL UNIQUE,
  6.                  file_id INT NOT NULL UNIQUE,
  7.                  PRIMARY KEY(path)
  8.                );";
  9.  
  10.   echo "$query" | sqlite3 "$database_file";
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top