first try - soesnt work
This commit is contained in:
parent
9f1609495f
commit
951b489c46
@ -46,6 +46,10 @@ function main() {
|
|||||||
db_query "DELETE From File WHERE (Size=0 OR Size IS NULL OR MD5='' OR MD5 IS NULL OR Name='') AND (TTSync=$TTSYNC_EXIST OR TTSync=$TTSYNC_BACKUP);"
|
db_query "DELETE From File WHERE (Size=0 OR Size IS NULL OR MD5='' OR MD5 IS NULL OR Name='') AND (TTSync=$TTSYNC_EXIST OR TTSync=$TTSYNC_BACKUP);"
|
||||||
db_query "DELETE FROM File WHERE Folder LIKE 'Clone/%' OR Folder LIKE '.Trash-%';"
|
db_query "DELETE FROM File WHERE Folder LIKE 'Clone/%' OR Folder LIKE '.Trash-%';"
|
||||||
#find dublicates !
|
#find dublicates !
|
||||||
|
|
||||||
|
#Solve SQL ERROR: "Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='"
|
||||||
|
db_query "ALTER TABLE File CHANGE Name Name TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL;"
|
||||||
|
db_query "ALTER TABLE File CHANGE Folder Folder TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL;"
|
||||||
}
|
}
|
||||||
|
|
||||||
#erselle zwei dateilisten
|
#erselle zwei dateilisten
|
||||||
|
Loading…
Reference in New Issue
Block a user