diff --git a/semester4/dmdb/data-modelling-databases-summary.pdf b/semester4/dmdb/data-modelling-databases-summary.pdf index cefbcbe..9d84d46 100644 Binary files a/semester4/dmdb/data-modelling-databases-summary.pdf and b/semester4/dmdb/data-modelling-databases-summary.pdf differ diff --git a/semester4/dmdb/parts/03_systems/01_database-engines/00_memory/04_row-vs-column-store.tex b/semester4/dmdb/parts/03_systems/01_database-engines/00_memory/04_row-vs-column-store.tex index d06c79f..35e61f9 100644 --- a/semester4/dmdb/parts/03_systems/01_database-engines/00_memory/04_row-vs-column-store.tex +++ b/semester4/dmdb/parts/03_systems/01_database-engines/00_memory/04_row-vs-column-store.tex @@ -8,7 +8,7 @@ This scheme is used by actual systems, but they also have many additional detail A typical ideal application for a row store is Online Transaction Processing (OLTP). This is visible for example with banking applications, shopping carts, etc, where the operations mostly are on a single tuple. -However, for xomplex queries, the row store can become cumbersome. +However, for complex queries, the row store can become cumbersome. \paragraph{Column Store} diff --git a/setup.sh b/setup.sh index b4ab7fa..2d01f4c 100755 --- a/setup.sh +++ b/setup.sh @@ -37,13 +37,18 @@ if [[ $usesubmodule != 'n' ]]; then else read -e -p "Where are the helper files located (absolute path to folder only, tab-completion enabled)? " helperpath - if [[ ${dir:0:1} == '/' ]]; then + if [[ ${helperpath:0:1} == '/' ]]; then + createFiles $helperpath + elif [[ ${helperpath:0:1} == '~' ]]; then + helperpath=$(readlink -f $helperpath) createFiles $helperpath else echo "Note: You did not enter an absolute path, it was expanded automatically" - createFiles $(readlink -f $(pwd)/$helperpath) + helperpath=$(readlink -f $(pwd)/$helperpath) + createFiles $helperpath fi echo " + => Path was set to $helperpath => If you entered also the file name, rerun this script, the compile will fail in that case. " fi