Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Doctrine.php #35

Merged
merged 1 commit into from
Jul 30, 2020
Merged

Update Doctrine.php #35

merged 1 commit into from
Jul 30, 2020

Conversation

IlyaSerdyuk
Copy link
Member

Для MySQL и PSQL генерируются немного разные запросы.
Для мускула генерируется запрос, который возвращает строку (привожу часть):

...
(`e`.`password` = MD5(CONCAT('5f22cfc9', `e`.`password_salt`)) AND `e`.`status` = 0 AND `e`.`deleted` = 0) AS `e__0`
...

Для постгреса же - логическое значение:

...
(e.password = MD5('5f22cfc9' || e.password_salt) AND e.status = 0 AND e.deleted = 0) AS e__0
...

Для  MySQL и PSQL генерируются немного разные запросы.
Для мускула генерируется запрос, который возвращает строку (привожу часть):
```
...
(`e`.`password` = MD5(CONCAT('5f22cfc9', `e`.`password_salt`)) AND `e`.`status` = 0 AND `e`.`deleted` = 0) AS `e__0`
...
```

Для постгреса же - логическое значение:
```
...
(e.password = MD5('5f22cfc9' || e.password_salt) AND e.status = 0 AND e.deleted = 0) AS e__0
...
```
@IlyaSerdyuk IlyaSerdyuk merged commit ed4e4c8 into 1.35 Jul 30, 2020
@IlyaSerdyuk IlyaSerdyuk deleted the Dezzpil-patch-1 branch August 15, 2022 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants