Page MenuHomeSolus

Initial commit of mysql-connector-cpp. Fixes T4281

Authored by euoar on Jun 8 2018, 11:39 PM.


NOTE: Kudos for this patch is due to @herbmillerjr. Just trying to finish T243, as there has been no response from him since november 2017, and expecting that many users can be interested in having mysql-workbench in the repos. I've simple changed the formating of the package.yml, as asked by @JoshStrobl in D1401 and completed a test to ensure that it works.
Test Plan

Diff Detail

R4310 mysql-connector-cpp
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

euoar created this revision.Jun 8 2018, 11:39 PM
euoar requested review of this revision.Jun 8 2018, 11:39 PM
euoar added a comment.Jun 8 2018, 11:51 PM

A pair of details:

  • Had to modify the file in the link because it contained a pair of illegal characters. Attaching the file that I used
  • Instruction used to compile: g++ -Wall -I/usr/include/cppconn -o testapp test.cpp -L/usr/lib -lmysqlcppconn
  • Running the compiled file outputs the expected result (keep in mind that you need to adjust the line in the source to match your mariadb root password).

DataDrake requested changes to this revision.Jun 9 2018, 7:19 PM
DataDrake added a subscriber: DataDrake.
DataDrake added inline comments.

Should be GPL-2.0-only

This revision now requires changes to proceed.Jun 9 2018, 7:19 PM
euoar updated this revision to Diff 7555.Jun 9 2018, 7:35 PM

Fix license, as asked by @DataDrake: GPL-2.0-only

DataDrake accepted this revision.Jun 9 2018, 7:38 PM

LGTM. Thanks!

This revision is now accepted and ready to land.Jun 9 2018, 7:38 PM
This revision was automatically updated to reflect the committed changes.