owncloud/mozilla_sync — pull request #48 by ogasser (2013-12-05 12:24:57+00:00)
Title: DB: Use LENGTH() function instead of CHAR_LENGTH()

Use ```LENGTH()``` instead of ```CHAR_LENGTH()``` to get the size of
database entries. The latter is not supported in SQLite. The former,
however, returns the number of characters in SQLite instead of the
number of bytes as specified in the SQL standard.

Fixes #47.