ChuckBell / MySQL_Connector_Arduino

Database connector library for using MySQL with your Arduino projects.
333 stars 133 forks source link

Fix the warnings and support constant strings #133

Closed fang-d closed 3 years ago

fang-d commented 4 years ago

I noticed that there were some warnings when compiling and constant strings could not be used in 'MySQL_Connection::connect'. I modified it and thought these solved after testing. It is my great honour to contribute to this project and I hope these can be useful to it. Best wishes.

ChuckBell commented 4 years ago

Thanks!

On Apr 26, 2020, at 5:59 AM, fang-d notifications@github.com wrote:

I noticed that there were some warnings when compiling and constant strings could not be used in 'MySQL_Connection::connect'. I modified it and thought these solved after testing. It is my great honour to contribute to this project and I hope these can be useful to this it. Best wishes.

You can view, comment on, or merge this pull request online at:

https://github.com/ChuckBell/MySQL_Connector_Arduino/pull/133 https://github.com/ChuckBell/MySQL_Connector_Arduino/pull/133 Commit Summary

fix(Packet Ecnrypt): Modify to disable warnings fix(Connection Packet): Modify parameters to support const string File Changes

M src/MySQL_Connection.cpp https://github.com/ChuckBell/MySQL_Connector_Arduino/pull/133/files#diff-ac7812cae7f5ea42ca291aa306253461 (7) M src/MySQL_Connection.h https://github.com/ChuckBell/MySQL_Connector_Arduino/pull/133/files#diff-40cd3ca02a4ec1198418170cffc33710 (7) M src/MySQL_Encrypt_Sha1.cpp https://github.com/ChuckBell/MySQL_Connector_Arduino/pull/133/files#diff-fc3205cde0a4dea62c0e19ce585f4dfe (2) M src/MySQL_Packet.cpp https://github.com/ChuckBell/MySQL_Connector_Arduino/pull/133/files#diff-c95ee263d7dbcfe95deec91b0397c0ca (15) M src/MySQL_Packet.h https://github.com/ChuckBell/MySQL_Connector_Arduino/pull/133/files#diff-95111d2ffe1bdc2808b4df42b4e99278 (11) Patch Links:

https://github.com/ChuckBell/MySQL_Connector_Arduino/pull/133.patch https://github.com/ChuckBell/MySQL_Connector_Arduino/pull/133.patch https://github.com/ChuckBell/MySQL_Connector_Arduino/pull/133.diff https://github.com/ChuckBell/MySQL_Connector_Arduino/pull/133.diff — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ChuckBell/MySQL_Connector_Arduino/pull/133, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6SHYBYOG2DOPH2CFOFPRLROQAYFANCNFSM4MRE5PFA.