SQLite Javascript Code Bug

StvDee's icon

Hi to all.

I believe I have found a problem in the SQLite code found here:
https://cycling74.com/tutorials/data-collection-building-databases-using-sqlite/

When you load a folder with various files, it skips all of the files that include in their names the symbol ( ' ).

Any idea of why this is happening? I know that it is easy to rename all the files (to do this automatically use a tool like File Renamer for Mac), but I am trying to understand the reason of this behavior.

I mean, the code specifically says that:

    while(!f.end){
        if(f.filename!=""){
            insert_entry(f.filename);
        }
        f.next();
    }

Any help is appreciated.

Stav.