-
Notifications
You must be signed in to change notification settings - Fork 145
feat: support other databases #402
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -56,6 +56,12 @@ public function recordLoginAttempt( | |
| ?string $userAgent = null, | ||
| $userId = null | ||
| ): void { | ||
| $this->disableDBDebug(); | ||
MGatner marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| if ($this->db->getPlatform() === 'OCI8' && $identifier === '') { | ||
| $identifier = ' '; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ... and this?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah I see the whole commit message now, that explains this one. Seems like this is probably a bug in the framework driver itself, right?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oracle Database currently treats a character value with a length of zero as null. However, this may not continue to be true in future releases, and Oracle recommends that you do not treat empty strings the same as nulls. More see.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @datamweb I knew it, but I don't know what should we do in this case.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @kenjis I'm not sure if it's helpful, but take a look if you have time.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
It is what I did here.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ytetsuro have any recommendations? Or @sclubricants? |
||
| } | ||
|
|
||
| $return = $this->insert([ | ||
| 'ip_address' => $ipAddress, | ||
| 'user_agent' => $userAgent, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.