-
Notifications
You must be signed in to change notification settings - Fork 64
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
Finish mysql to mysqli conversion #75
Finish mysql to mysqli conversion #75
Conversation
} | ||
|
||
public function escapeString($value) { | ||
return mysql_real_escape_string($value); | ||
return $this->db->escapeString($value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^^^^^^^^^^
That was fixed in a latter commit.
893abdb#diff-5cf75f5d32772b1eb7e42cb21acede85L61
I reviewed the code, and everything seems ok for me. Can someone else have a look at this? |
And add spaces before openning curly brackets
the process was the same as: ndlibersa/resources@26ae17c (saved on https://archive.is if repo is deleted)
And add spaces before openning curly brackets
The process was the same as: ndlibersa/resources@26ae17c (saved on https://archive.is if repo is deleted) And fix error in management conversion
mysql was fine with: WHERE c.`licenseID`= whereas mysqli throws a syntax error and needs: WHERE c.`licenseID`='' Part of coral-erm#54
To avoid regressions because mysql was fine with: WHERE c.`licenseID`= whereas mysqli throws a syntax error and needs: WHERE c.`licenseID`='' This is preventive and not in response to observed regressions. Also it improves consistency as most of Coral's SQL building use this form for WHERE parameters. Part of coral-erm#54
9896574
to
b047ac5
Compare
I was able to install the module and create a document. The mysqli database connections seem to be working correctly. I'll go ahead and merge it. |
Look at the diffs commit by commit. Because before doing more than trivial editions to a file, I fixed the coding style on a separate commit so that the diffs are clean (and hopefully easier to review).
Part of #54