diff options
author | Robin Müller <coder-hugo@users.noreply.github.com> | 2018-02-16 09:27:16 +0100 |
---|---|---|
committer | Robin Müller <robin.mueller@1und1.de> | 2018-02-16 15:03:12 +0100 |
commit | 6aa816915af99090057b10a5540b0eba1e6d856d (patch) | |
tree | d2eed6374b290093f72ec1cc1b6ebbb8b8c9aee9 /tests | |
parent | b7ee624988c4d0e39da884834ef51b2be4350fbc (diff) | |
download | nextcloud-server-6aa816915af99090057b10a5540b0eba1e6d856d.tar.gz nextcloud-server-6aa816915af99090057b10a5540b0eba1e6d856d.zip |
Don't use double quotes in MySQL queries
MySQL databases with the ANSI_QUOTES mode enabled treat " as an identifier
quote (see https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_ansi_quotes).
So for such databases the 'occ upgrade' fails with an error message like this:
... unknown column 'oc_*' in where clause.
This fix replaces the doulbe quotes with single quotes that should be always
used in MySQL queries to quote literal strings.
Signed-off-by: Robin Müller <robin.mueller@1und1.de>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions